FLINT3.7.0-dev

fq_default_poly_roots

Synopsis#include <flint/fq_default_poly_factor.h>
void fq_default_poly_roots(fq_default_poly_factor_t r, const fq_default_poly_t f, int with_multiplicity, const fq_default_ctx_t ctx)source

Sets r to the roots of the nonzero polynomial f in the field, stored as monic linear factors x - a, with their multiplicities as exponents if with_multiplicity is nonzero, and exponent 1 otherwise.

Cite this page

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