C - coefficient type.public class AlgebraicRootsPrimElem<C extends GcdRingElem<C> & Rational> extends AlgebraicRoots<C> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
PrimitiveElement<C> |
pelem
Primitive Element algebraic roots.
|
java.util.List<AlgebraicNumber<C>> |
runit
Roots of unity of primitive element origin representations.
|
complex, cp, p, real| Modifier | Constructor and Description |
|---|---|
protected |
AlgebraicRootsPrimElem()
Constructor not for use.
|
|
AlgebraicRootsPrimElem(AlgebraicRoots<C> ar,
PrimitiveElement<C> pe)
Constructor.
|
|
AlgebraicRootsPrimElem(AlgebraicRoots<C> ar,
PrimitiveElement<C> pe,
java.util.List<AlgebraicNumber<C>> ru)
Constructor.
|
|
AlgebraicRootsPrimElem(GenPolynomial<C> p,
GenPolynomial<Complex<C>> cp,
java.util.List<RealAlgebraicNumber<C>> r,
java.util.List<ComplexAlgebraicNumber<C>> c,
PrimitiveElement<C> pe,
java.util.List<AlgebraicNumber<C>> ru)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AlgebraicRootsPrimElem<C> |
copy()
Copy this.
|
boolean |
equals(java.lang.Object b)
Comparison with any other object.
|
int |
hashCode()
Hash code for this AlgebraicRootsPrimElem.
|
java.lang.String |
toDecimalScript()
Get a scripting compatible string representation.
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
String representation of AlgebraicRootsPrimElem.
|
getAlgebraicRingpublic final PrimitiveElement<C extends GcdRingElem<C> & Rational> pelem
public final java.util.List<AlgebraicNumber<C extends GcdRingElem<C> & Rational>> runit
protected AlgebraicRootsPrimElem()
public AlgebraicRootsPrimElem(GenPolynomial<C> p, GenPolynomial<Complex<C>> cp, java.util.List<RealAlgebraicNumber<C>> r, java.util.List<ComplexAlgebraicNumber<C>> c, PrimitiveElement<C> pe, java.util.List<AlgebraicNumber<C>> ru)
p - univariate polynomialcp - univariate polynomial with compelx coefficientsr - list of real algebraic rootsc - list of complex algebraic rootspe - primitive elementru - roots of unity of primitive element origin representationspublic AlgebraicRootsPrimElem(AlgebraicRoots<C> ar, PrimitiveElement<C> pe)
ar - algebraic roots containerpe - primitive elementpublic AlgebraicRootsPrimElem(AlgebraicRoots<C> ar, PrimitiveElement<C> pe, java.util.List<AlgebraicNumber<C>> ru)
ar - algebraic roots containerpe - primitive elementru - roots of unity of primitive element origin representationspublic java.lang.String toString()
toString in class AlgebraicRoots<C extends GcdRingElem<C> & Rational>Object.toString()public java.lang.String toScript()
toScript in class AlgebraicRoots<C extends GcdRingElem<C> & Rational>public java.lang.String toDecimalScript()
toDecimalScript in class AlgebraicRoots<C extends GcdRingElem<C> & Rational>public AlgebraicRootsPrimElem<C> copy()
copy in class AlgebraicRoots<C extends GcdRingElem<C> & Rational>public boolean equals(java.lang.Object b)
equals in class AlgebraicRoots<C extends GcdRingElem<C> & Rational>Object.equals(java.lang.Object)public int hashCode()
hashCode in class AlgebraicRoots<C extends GcdRingElem<C> & Rational>Object.hashCode()