Class IdealWithRealAlgebraicRoots<D extends GcdRingElem<D> & Rational>
java.lang.Object
edu.jas.application.IdealWithUniv<D>
edu.jas.application.IdealWithRealAlgebraicRoots<D>
- All Implemented Interfaces:
Serializable
public class IdealWithRealAlgebraicRoots<D extends GcdRingElem<D> & Rational>
extends IdealWithUniv<D>
Container for Ideals together with univariate polynomials and real algebraic
roots.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<List<BigDecimal>> The list of decimal approximations of the real algebraic roots.final List<List<RealAlgebraicNumber<D>>> The list of real algebraic roots.Fields inherited from class IdealWithUniv
ideal, others, upolys -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor not for use.IdealWithRealAlgebraicRoots(Ideal<D> id, List<GenPolynomial<D>> up, List<List<RealAlgebraicNumber<D>>> rr) Constructor.IdealWithRealAlgebraicRoots(IdealWithUniv<D> iu, List<List<RealAlgebraicNumber<D>>> rr) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet decimal approximation of the real root tuples.voidcompute decimal approximation of the real root tuples.booleanIs decimal approximation of the real roots.toScript()Get a scripting compatible string representation.toString()String representation of the ideal.Methods inherited from class IdealWithUniv
asListOfIdeals
-
Field Details
-
ran
The list of real algebraic roots. -
droots
The list of decimal approximations of the real algebraic roots.
-
-
Constructor Details
-
IdealWithRealAlgebraicRoots
protected IdealWithRealAlgebraicRoots()Constructor not for use. -
IdealWithRealAlgebraicRoots
public IdealWithRealAlgebraicRoots(Ideal<D> id, List<GenPolynomial<D>> up, List<List<RealAlgebraicNumber<D>>> rr) Constructor.- Parameters:
id- the idealup- the list of univaraite polynomialsrr- the list of real algebraic roots
-
IdealWithRealAlgebraicRoots
Constructor.- Parameters:
iu- the ideal with univariate polynomialsrr- the list of real algebraic roots
-
-
Method Details
-
toString
String representation of the ideal.- Overrides:
toStringin classIdealWithUniv<D extends GcdRingElem<D> & Rational>- See Also:
-
toScript
Get a scripting compatible string representation.- Overrides:
toScriptin classIdealWithUniv<D extends GcdRingElem<D> & Rational>- Returns:
- script compatible representation for this Element.
- See Also:
-
decimalApproximation
Get decimal approximation of the real root tuples. -
doDecimalApproximation
public void doDecimalApproximation()compute decimal approximation of the real root tuples. -
isDecimalApproximation
public boolean isDecimalApproximation()Is decimal approximation of the real roots.- Returns:
- true, if the decimal real roots approximate the real roots.
-