PolyUtilRoot
edu.jas.root

Class PolyUtilRoot



  • public class PolyUtilRootextends Object
    Polynomial utilities related to real and complex roots.
    • Constructor Detail

      • PolyUtilRoot

        public PolyUtilRoot()
    • Method Detail

      • convertToAlgebraicCoefficients

        public static <C extends GcdRingElem<C> & RationalGenPolynomial<RealAlgebraicNumber<C>> convertToAlgebraicCoefficients(GenPolynomialRing<RealAlgebraicNumber<C>> pfac,                                                                                                        GenPolynomial<C> A)
        Convert to RealAlgebraicNumber coefficients. Represent as polynomial with RealAlgebraicNumber coefficients, C is e.g. ModInteger or BigRational.
        Parameters:
        pfac - result polynomial factory.
        A - polynomial with C coefficients to be converted.
        Returns:
        polynomial with RealAlgebraicNumber<C> coefficients.
      • convertToRecAlgebraicCoefficients

        public static <C extends GcdRingElem<C> & RationalGenPolynomial<RealAlgebraicNumber<C>> convertToRecAlgebraicCoefficients(int depth,                                                                                                           GenPolynomialRing<RealAlgebraicNumber<C>> pfac,                                                                                                           GenPolynomial<C> A)
        Convert to recursive RealAlgebraicNumber coefficients. Represent as polynomial with recursive RealAlgebraicNumber coefficients, C is e.g. ModInteger or BigRational.
        Parameters:
        depth - recursion depth of RealAlgebraicNumber coefficients.
        pfac - result polynomial factory.
        A - polynomial with C coefficients to be converted.
        Returns:
        polynomial with RealAlgebraicNumber<C> coefficients.
      • convertRecursiveToAlgebraicCoefficients

        public static <C extends GcdRingElem<C> & RationalGenPolynomial<RealAlgebraicNumber<C>> convertRecursiveToAlgebraicCoefficients(GenPolynomialRing<RealAlgebraicNumber<C>> pfac,                                                                                                                 GenPolynomial<GenPolynomial<C>> A)
        Convert to RealAlgebraicNumber coefficients. Represent as polynomial with RealAlgebraicNumber coefficients, C is e.g. ModInteger or BigRational.
        Parameters:
        pfac - result polynomial factory.
        A - recursive polynomial with GenPolynomial<BigInteger> coefficients to be converted.
        Returns:
        polynomial with RealAlgebraicNumber<C> coefficients.

SCaVis 2.2 © jWork.ORG