Package edu.jas.ufd

Class FactorsList<C extends GcdRingElem<C>>

java.lang.Object
edu.jas.ufd.FactorsList<C>
Type Parameters:
C - coefficient type
All Implemented Interfaces:
Serializable

public class FactorsList<C extends GcdRingElem<C>> extends Object implements Serializable
Container for the factors of a squarefree factorization.
See Also:
  • Field Details

  • Constructor Details

    • FactorsList

      public FactorsList(GenPolynomial<C> p, 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, List<GenPolynomial<C>> list, 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 Details

    • toString

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

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

      public AlgebraicNumberRing<C> findExtensionField()
      Find largest extension field.
      Returns:
      largest extension field or null if no extension field