FLINT3.7.0-dev

n_fq_get_n_poly, _n_fq_set_n_poly, n_fq_get_fq_nmod, n_fq_set_fq_nmod

Synopsis#include <flint/n_poly.h>
void n_fq_get_n_poly(n_poly_t a, const ulong * b, const fq_nmod_ctx_t ctx)source
void _n_fq_set_n_poly(ulong * a, const ulong * bcoeffs, slong blen, const fq_nmod_ctx_t ctx)source
void n_fq_get_fq_nmod(fq_nmod_t a, const ulong * b, const fq_nmod_ctx_t ctx)source
void n_fq_set_fq_nmod(ulong * a, const fq_nmod_t b, const fq_nmod_ctx_t ctx)source

Convert between an element and an n_poly_t (the polynomial of degree less than d; _n_fq_set_n_poly reduces a polynomial of any length modulo the defining polynomial) or an fq_nmod_t.

Cite this page

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