FLINT3.7.0-dev

fq_nmod_reduce

Synopsis#include <flint/fq_nmod.h>
void fq_nmod_reduce(fq_nmod_t rop, const fq_nmod_ctx_t ctx)source

Reduces the polynomial rop, of length at most 2d with reduced coefficients, modulo the defining polynomial, in place. Longer inputs are only allowed for a sparse defining polynomial (they trigger an assertion failure in debug builds and give wrong results otherwise); fq_nmod_set_nmod_poly reduces polynomials of any length.

Cite this page

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