C - coefficient typepublic class FactorsMap<C extends GcdRingElem<C>> extends java.lang.Object implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
java.util.SortedMap<Factors<C>,java.lang.Long> |
afactors
List of factors with coefficients from AlgebraicNumberRings.
|
java.util.SortedMap<GenPolynomial<C>,java.lang.Long> |
factors
List of factors with coefficients from C.
|
GenPolynomial<C> |
poly
Original polynomial to be factored with coefficients from C.
|
| Constructor and Description |
|---|
FactorsMap(GenPolynomial<C> p,
java.util.SortedMap<GenPolynomial<C>,java.lang.Long> map)
Constructor.
|
FactorsMap(GenPolynomial<C> p,
java.util.SortedMap<GenPolynomial<C>,java.lang.Long> map,
java.util.SortedMap<Factors<C>,java.lang.Long> amap)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AlgebraicNumberRing<C> |
findExtensionField()
Find largest extension field.
|
int |
length()
Length.
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
Get the String representation.
|
public final GenPolynomial<C extends GcdRingElem<C>> poly
public final java.util.SortedMap<GenPolynomial<C extends GcdRingElem<C>>,java.lang.Long> factors
public final java.util.SortedMap<Factors<C extends GcdRingElem<C>>,java.lang.Long> afactors
public FactorsMap(GenPolynomial<C> p, java.util.SortedMap<GenPolynomial<C>,java.lang.Long> map)
p - given GenPolynomial over C.map - irreducible factors of p with coefficients from C.public FactorsMap(GenPolynomial<C> p, java.util.SortedMap<GenPolynomial<C>,java.lang.Long> map, java.util.SortedMap<Factors<C>,java.lang.Long> amap)
p - given GenPolynomial over C.map - irreducible factors of p with coefficients from C.amap - irreducible factors of p with coefficients from an algebraic
number field.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String toScript()
ElemFactory.toScript()public int length()
public AlgebraicNumberRing<C> findExtensionField()