galfact.spad line 116 [edit on github]
GaloisGroupPolynomialUtilities provides useful functions for univariate polynomials which should be added to UnivariatePolynomialCategory or to Factored (July 1994).
degreePartition(f)
returns the degree partition (i.e. the multiset of the degrees of the irreducible factors) of the polynomial f
.
factorOfDegree(d, f)
returns a factor of degree d
of the factored polynomial f
. Such a factor shall exist.
factorsOfDegree(d, f)
returns the factors of degree d
of the factored polynomial f
.
monic?(p)
tests if p
is monic (i.e. leading coefficient equal to 1).
reverse(p)
returns the reverse polynomial of p
.
scaleRoots(p, c)
returns the polynomial which has c
times the roots of p
.
shiftRoots(p, c)
returns the polynomial which has for roots c
added to the roots of p
.