public class PolyUtilRoot extends java.lang.Object
Constructor and Description |
---|
PolyUtilRoot() |
public PolyUtilRoot()
public static <C extends GcdRingElem<C> & Rational> GenPolynomial<RealAlgebraicNumber<C>> convertToAlgebraicCoefficients(GenPolynomialRing<RealAlgebraicNumber<C>> pfac, GenPolynomial<C> A)
pfac
- result polynomial factory.A
- polynomial with C coefficients to be converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<RealAlgebraicNumber<C>> convertToRecAlgebraicCoefficients(int depth, GenPolynomialRing<RealAlgebraicNumber<C>> pfac, GenPolynomial<C> A)
depth
- recursion depth of RealAlgebraicNumber coefficients.pfac
- result polynomial factory.A
- polynomial with C coefficients to be converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<RealAlgebraicNumber<C>> convertRecursiveToAlgebraicCoefficients(GenPolynomialRing<RealAlgebraicNumber<C>> pfac, GenPolynomial<GenPolynomial<C>> A)
pfac
- result polynomial factory.A
- recursive polynomial with GenPolynomial<BigInteger>
coefficients to be converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<AlgebraicNumber<C>> algebraicFromRealCoefficients(GenPolynomialRing<AlgebraicNumber<C>> afac, GenPolynomial<RealAlgebraicNumber<C>> A)
afac
- result polynomial factory.A
- polynomial with RealAlgebraicNumber<C> coefficients to be
converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<RealAlgebraicNumber<C>> realFromAlgebraicCoefficients(GenPolynomialRing<RealAlgebraicNumber<C>> rfac, GenPolynomial<AlgebraicNumber<C>> A)
rfac
- result polynomial factory.A
- polynomial with AlgebraicNumber<C> coefficients to be
converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<RealAlgebraicNumber<C>> convertToRealCoefficients(GenPolynomialRing<RealAlgebraicNumber<C>> pfac, GenPolynomial<C> A)
pfac
- result polynomial factory.A
- polynomial with C coefficients to be converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<ComplexAlgebraicNumber<C>> convertToComplexCoefficients(GenPolynomialRing<ComplexAlgebraicNumber<C>> pfac, GenPolynomial<C> A)
pfac
- result polynomial factory.A
- polynomial with C coefficients to be converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<ComplexAlgebraicNumber<C>> convertToComplexCoefficientsFromComplex(GenPolynomialRing<ComplexAlgebraicNumber<C>> pfac, GenPolynomial<Complex<C>> A)
pfac
- result polynomial factory.A
- polynomial with C coefficients to be converted.public static <C extends GcdRingElem<C> & Rational> GenPolynomial<Complex<C>> complexFromAny(GenPolynomial<C> f)
f
- univariate polynomial.