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:
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
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Factors<C>>
afactors
List of factors with coefficients from AlgebraicNumberRings.java.util.List<GenPolynomial<C>>
factors
List of factors with coefficients from C.GenPolynomial<C>
poly
Original polynomial to be factored with coefficients from C.
-
Constructor Summary
Constructors Constructor Description FactorsList(GenPolynomial<C> p, java.util.List<GenPolynomial<C>> list)
Constructor.FactorsList(GenPolynomial<C> p, java.util.List<GenPolynomial<C>> list, java.util.List<Factors<C>> alist)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgebraicNumberRing<C>
findExtensionField()
Find largest extension field.java.lang.String
toScript()
Get a scripting compatible string representation.java.lang.String
toString()
Get the String representation.
-
-
-
Field Detail
-
poly
public final GenPolynomial<C extends GcdRingElem<C>> poly
Original polynomial to be factored with coefficients from C.
-
factors
public final java.util.List<GenPolynomial<C extends GcdRingElem<C>>> factors
List of factors with coefficients from C.
-
afactors
public final java.util.List<Factors<C extends GcdRingElem<C>>> afactors
List of factors with coefficients from AlgebraicNumberRings.
-
-
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 classjava.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()
-
findExtensionField
public AlgebraicNumberRing<C> findExtensionField()
Find largest extension field.- Returns:
- largest extension field or null if no extension field
-
-