UnivariatePolynomialDecompositionPackage(R, UP)¶
updecomp.spad line 41 [edit on github]
UnivariatePolynomialDecompositionPackage implements functional decomposition of univariate polynomial with coefficients in an IntegralDomain of CharacteristicZero.
- completeDecompose: UP -> List UP if R has Field
completeDecompose(f)returns a list of factors offfor the functional decomposition off. [f1, …,fn] meansf=f1o…ofn.
- decomposeIfCan: UP -> Union(Record(left: UP, right: UP), failed) if R has Field
decomposeIfCan(f)returns a functional decomposition of the polynomialfor “failed” if it has not found any.
- leftFactorIfCan: (UP, UP) -> Union(UP, failed)
leftFactorIfCan(f, h)returns the left factor (ginf=goh) of the functional decomposition of the polynomialfwith givenhor"failed"ifgdoes not exist.
- monicCompleteDecompose: UP -> List UP
monicCompleteDecompose(f)returns a list of factors offfor the functional decomposition of monic polynomialf. [f1, …,fn] meansf=f1o…ofn.
- monicDecomposeIfCan: UP -> Union(Record(left: UP, right: UP), failed)
monicDecomposeIfCan(f)returns a functional decomposition of the monic polynomialfor “failed” if it has not found any.
- monicRightFactorIfCan: (UP, NonNegativeInteger) -> Union(UP, failed)
monicRightFactorIfCan(f, d)returns a candidate to be the monic right factor (hinf=goh) of degreedof a functional decomposition of the polynomialfor"failed"if no such candidate.
- rightFactorIfCan: (UP, NonNegativeInteger, R) -> Union(UP, failed)
rightFactorIfCan(f, d, c)returns a candidate to be the right factor (hinf=goh) of degreedwith leading coefficientcof a functional decomposition of the polynomialfor"failed"if no such candidate.