GaloisGroupPolynomialUtilities(R, UP)ΒΆ
galfact.spad line 116 [edit on github]
R: Ring
GaloisGroupPolynomialUtilities provides useful functions for univariate polynomials which should be added to UnivariatePolynomialCategory or to Factored (July 1994).
- degreePartition: Factored UP -> Multiset NonNegativeInteger
degreePartition(f)
returns the degree partition (i.e. the multiset of the degrees of the irreducible factors) of the polynomialf
.
- factorOfDegree: (PositiveInteger, Factored UP) -> UP
factorOfDegree(d, f)
returns a factor of degreed
of the factored polynomialf
. Such a factor shall exist.
- factorsOfDegree: (PositiveInteger, Factored UP) -> List UP
factorsOfDegree(d, f)
returns the factors of degreed
of the factored polynomialf
.
- monic?: UP -> Boolean
monic?(p)
tests ifp
is monic (i.e. leading coefficient equal to 1).
- reverse: UP -> UP
reverse(p)
returns the reverse polynomial ofp
.
- scaleRoots: (UP, R) -> UP
scaleRoots(p, c)
returns the polynomial which hasc
times the roots ofp
.
- shiftRoots: (UP, R) -> UP
shiftRoots(p, c)
returns the polynomial which has for rootsc
added to the roots ofp
.