Package edu.jas.ufd

Class FactorsList<C extends GcdRingElem<C>>

  • Type Parameters:
    C - coefficient type
    All Implemented Interfaces:
    java.io.Serializable

    public class FactorsList<C extends GcdRingElem<C>>
    extends java.lang.Object
    implements java.io.Serializable
    Container for the factors of a squarefree factorization.
    Author:
    Heinz Kredel
    See Also:
    Serialized Form
    • Constructor Detail

      • FactorsList

        public FactorsList​(GenPolynomial<C> p,
                           java.util.List<GenPolynomial<C>> list)
        Constructor.
        Parameters:
        p - given GenPolynomial over C.
        list - irreducible factors of p with coefficients from C.
      • FactorsList

        public FactorsList​(GenPolynomial<C> p,
                           java.util.List<GenPolynomial<C>> list,
                           java.util.List<Factors<C>> alist)
        Constructor.
        Parameters:
        p - given GenPolynomial over C.
        list - irreducible factors of p with coefficients from C.
        alist - irreducible factors of p with coefficients from an algebraic number field.
    • Method Detail

      • toString

        public java.lang.String toString()
        Get the String representation.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • toScript

        public java.lang.String toScript()
        Get a scripting compatible string representation.
        Returns:
        script compatible representation for this container.
        See Also:
        ElemFactory.toScript()