Expand description
Contains an implementation of factoring polynomials over finite fields.
Functionsยง
- fast_
poly_ eea unstable-enable
- Computes a Bezout identity for polynomials, using a fast divide-and-conquer
polynomial gcd algorithm. Unless you are implementing
crate::pid::PrincipalIdealRing
for a custom type, you should usecrate::pid::PrincipalIdealRing::extended_ideal_gen()
to get a Bezout identity instead. - poly_
gcd_ finite_ reduced unstable-enable
- Computes the gcd of two polynomials over a finite and reduced ring.
- poly_
power_ decomposition_ finite_ field unstable-enable
- Returns a list of
(fi, ki)
such that thefi
are monic, square-free and pairwise coprime, andf = a prod_i fi^ki
for a unita
of the base field. - poly_
squarefree_ part_ finite_ field unstable-enable
- Computes the square-free part of a polynomial
f
, i.e. the greatest (w.r.t. divisibility) polynomialg | f
that is square-free.