public class IdealWithRealAlgebraicRoots<D extends GcdRingElem<D> & Rational> extends IdealWithUniv<D>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.util.List<BigDecimal>> |
droots
The list of decimal approximations of the real algebraic roots.
|
java.util.List<java.util.List<RealAlgebraicNumber<D>>> |
ran
The list of real algebraic roots.
|
ideal, others, upolys
Modifier | Constructor and Description |
---|---|
protected |
IdealWithRealAlgebraicRoots()
Constructor not for use.
|
|
IdealWithRealAlgebraicRoots(Ideal<D> id,
java.util.List<GenPolynomial<D>> up,
java.util.List<java.util.List<RealAlgebraicNumber<D>>> rr)
Constructor.
|
|
IdealWithRealAlgebraicRoots(IdealWithUniv<D> iu,
java.util.List<java.util.List<RealAlgebraicNumber<D>>> rr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.List<BigDecimal>> |
decimalApproximation()
Get decimal approximation of the real root tuples.
|
void |
doDecimalApproximation()
compute decimal approximation of the real root tuples.
|
boolean |
isDecimalApproximation()
Is decimal approximation of the real roots.
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
String representation of the ideal.
|
public final java.util.List<java.util.List<RealAlgebraicNumber<D extends GcdRingElem<D> & Rational>>> ran
protected java.util.List<java.util.List<BigDecimal>> droots
protected IdealWithRealAlgebraicRoots()
public IdealWithRealAlgebraicRoots(Ideal<D> id, java.util.List<GenPolynomial<D>> up, java.util.List<java.util.List<RealAlgebraicNumber<D>>> rr)
id
- the idealup
- the list of univaraite polynomialsrr
- the list of real algebraic rootspublic IdealWithRealAlgebraicRoots(IdealWithUniv<D> iu, java.util.List<java.util.List<RealAlgebraicNumber<D>>> rr)
iu
- the ideal with univariate polynomialsrr
- the list of real algebraic rootspublic java.lang.String toString()
toString
in class IdealWithUniv<D extends GcdRingElem<D> & Rational>
Object.toString()
public java.lang.String toScript()
toScript
in class IdealWithUniv<D extends GcdRingElem<D> & Rational>
Element.toScript()
public java.util.List<java.util.List<BigDecimal>> decimalApproximation()
public void doDecimalApproximation()
public boolean isDecimalApproximation()