FLINT3.7.0-dev

gr_generic_poly_factor, gr_generic_poly_roots

Synopsis#include <flint/gr_generic.h>
int gr_generic_poly_factor(gr_ptr c, gr_vec_t fac, fmpz_vec_t mult, gr_srcptr elt, int flags, gr_ctx_t ctx)source
int gr_generic_poly_roots(gr_vec_t roots, fmpz_vec_t mult, const gr_poly_t poly, int flags, gr_ctx_t ctx)source

Defaults of the methods GR_METHOD_POLY_FACTOR and GR_METHOD_POLY_ROOTS (factorisation and root finding of polynomials over the ring): implemented generically for finite fields (gr_ctx_is_field and gr_ctx_is_finite both T_TRUE), and GR_UNABLE for other rings.

Cite this page

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