FLINT3.7.0-dev

_fmpz_poly_hamming_weight

Synopsis#include <flint/fmpz_poly.h>
slong _fmpz_poly_hamming_weight(const fmpz * a, slong len)source

Returns the number of nonzero coefficients of (a, len).

Cite this page

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