FLINT3.7.0-dev

n_poly_zero, n_poly_one, n_poly_set_ui, n_poly_set

Synopsis#include <flint/n_poly.h>
void n_poly_zero(n_poly_t res)source
void n_poly_one(n_poly_t A)source
void n_poly_set_ui(n_poly_t A, ulong c)source
void n_poly_set(n_poly_t A, const n_poly_t B)source

Set the polynomial to 0, 1, the constant c (which must be reduced), or a copy of B.

Cite this page

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