Package edu.jas.application
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 edu.jas.application.IdealWithUniv
ideal, others, upolys
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor 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.void
compute decimal approximation of the real root tuples.boolean
Is decimal approximation of the real roots.toScript()
Get a scripting compatible string representation.toString()
String representation of the ideal.Methods inherited from class edu.jas.application.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:
toString
in classIdealWithUniv<D extends GcdRingElem<D> & Rational>
- See Also:
-
toScript
Get a scripting compatible string representation.- Overrides:
toScript
in 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.
-