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)sourceint gr_generic_poly_roots(gr_vec_t roots, fmpz_vec_t mult, const gr_poly_t poly, int flags, gr_ctx_t ctx)sourceDefaults 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).
@misc{flint-doc-gr-generic-gr-generic-poly-factor,
author = {{The FLINT team}},
title = {{gr\_generic\_poly\_factor, gr\_generic\_poly\_roots (gr\_generic.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_generic/gr_generic_poly_factor.html},
note = {Generated 2026-10-20}
}