Skip to main content

Crate polyfactor

Crate polyfactor 

Source
Expand description

Factoring polynomials in one variable over GF(p), over Q, and over number fields, on top of polycore.

Structs§

Alg
An element of a number field K over F, which may carry more than its NumberField.
NumberField
The field of a root of the monic irreducible m over F, with an interval (lo, hi] isolating it when it is real over Q.

Functions§

factor
The monic irreducible factors over Q with multiplicities.
factor_mod
The leading coefficient and the monic irreducible factors over GF(p) with multiplicities, the modulus read from the coefficients.
factor_over
The monic irreducible factors over the field k with multiplicities.
is_irreducible
Whether f is irreducible over Q, of positive degree.