FLINT3.7.0-dev

_fmpz_poly_2norm, fmpz_poly_2norm

Synopsis#include <flint/fmpz_poly.h>
void _fmpz_poly_2norm(fmpz_t res, const fmpz * poly, slong len)source
void fmpz_poly_2norm(fmpz_t res, const fmpz_poly_t poly)source

Set res to \lfloor \|f\|_2 \rfloor, the integer square root of the sum of the squares of the coefficients.

Cite this page

The FLINT team, “_fmpz_poly_2norm, fmpz_poly_2norm (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/_fmpz_poly_2norm.html (generated 2026-10-20).