RootFactory
edu.jas.root

Class RootFactory



  • public class RootFactoryextends Object
    Roots factory.
    • Constructor Detail

      • RootFactory

        public RootFactory()
    • Method Detail

      • isRoot

        public static <C extends GcdRingElem<C> & Rational> boolean isRoot(GenPolynomial<C> f,                                                  RealAlgebraicNumber<C> r)
        Is real algebraic number a root of a polynomial.
        Parameters:
        f - univariate polynomial.
        r - real algebraic number.
        Returns:
        true, if f(r) == 0, else false;
      • realAlgebraicNumbersField

        public static <C extends GcdRingElem<C> & RationalList<RealAlgebraicNumber<C>> realAlgebraicNumbersField(GenPolynomial<C> f)
        Real algebraic numbers from a field.
        Parameters:
        f - univariate polynomial.
        Returns:
        a list of different real algebraic numbers from a field.
      • realAlgebraicNumbersField

        public static <C extends GcdRingElem<C> & RationalList<RealAlgebraicNumber<C>> realAlgebraicNumbersField(GenPolynomial<C> f,                                                                                          BigRational eps)
        Real algebraic numbers from a field.
        Parameters:
        f - univariate polynomial.
        eps - rational precision.
        Returns:
        a list of different real algebraic numbers from a field.
      • realAlgebraicNumbersIrred

        public static <C extends GcdRingElem<C> & RationalList<RealAlgebraicNumber<C>> realAlgebraicNumbersIrred(GenPolynomial<C> f)
        Real algebraic numbers from a irreducible polynomial.
        Parameters:
        f - univariate irreducible polynomial.
        Returns:
        a list of different real algebraic numbers from a field.
      • realAlgebraicNumbersIrred

        public static <C extends GcdRingElem<C> & RationalList<RealAlgebraicNumber<C>> realAlgebraicNumbersIrred(GenPolynomial<C> f,                                                                                          BigRational eps)
        Real algebraic numbers from a irreducible polynomial.
        Parameters:
        f - univariate irreducible polynomial.
        eps - rational precision.
        Returns:
        a list of different real algebraic numbers from a field.
      • isRoot

        public static <C extends GcdRingElem<C> & Rational> boolean isRoot(GenPolynomial<C> f,                                                  ComplexAlgebraicNumber<C> r)
        Is complex algebraic number a root of a polynomial.
        Parameters:
        f - univariate polynomial.
        r - complex algebraic number.
        Returns:
        true, if f(r) == 0, else false;
      • isRootComplex

        public static <C extends GcdRingElem<C> & Rational> boolean isRootComplex(GenPolynomial<Complex<C>> f,                                                         ComplexAlgebraicNumber<C> r)
        Is complex algebraic number a root of a complex polynomial.
        Parameters:
        f - univariate complex polynomial.
        r - complex algebraic number.
        Returns:
        true, if f(r) == 0, else false;

SCaVis 2.0 © jWork.ORG