_fmpz_poly_factor_quadratic, _fmpz_poly_factor_cubic
Synopsis
#include <flint/fmpz_poly_factor.h>void _fmpz_poly_factor_quadratic(fmpz_poly_factor_t fac, const fmpz_poly_t f, slong exp)sourcevoid _fmpz_poly_factor_cubic(fmpz_poly_factor_t fac, const fmpz_poly_t f, slong exp)sourceInsert the factorisation of the primitive quadratic (respectively cubic) polynomial f into fac, with multiplicity exp, without changing the content of fac. A quadratic splits if and only if its discriminant is a square; a cubic is reducible if and only if it has a rational root, which is located from real and 2-adic approximations of the roots and tested over \mathbb{Z} (Cubics). The content of f must be 1, which is not checked.
Cite this page
The FLINT team, “_fmpz_poly_factor_quadratic, _fmpz_poly_factor_cubic (fmpz_poly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly_factor/_fmpz_poly_factor_quadratic.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-factor-fmpz-poly-factor-quadratic,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_factor\_quadratic, \_fmpz\_poly\_factor\_cubic (fmpz\_poly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly_factor/_fmpz_poly_factor_quadratic.html},
note = {Generated 2026-10-20}
}