FLINT3.7.0-dev

fq_reduce

Synopsis#include <flint/fq.h>
void fq_reduce(fq_t rop, const fq_ctx_t ctx)source

Reduces the integer polynomial rop, with arbitrary integer coefficients, modulo p and modulo the defining polynomial, in place, so that it becomes a valid element. The length of rop must be at most 2d unless the defining polynomial is sparse (see below); products of two elements satisfy this.

Cite this page

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