Class IdealWithComplexAlgebraicRoots<D extends GcdRingElem<D> & Rational>
java.lang.Object
edu.jas.application.IdealWithUniv<D>
edu.jas.application.IdealWithComplexAlgebraicRoots<D>
- All Implemented Interfaces:
Serializable
public class IdealWithComplexAlgebraicRoots<D extends GcdRingElem<D> & Rational>
extends IdealWithUniv<D>
Container for Ideals together with univariate polynomials and complex
algebraic roots.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<List<Complex<RealAlgebraicNumber<D>>>> The list of complex algebraic roots.protected List<List<Complex<BigDecimal>>> The list of decimal approximations of the complex algebraic roots.Fields inherited from class IdealWithUniv
ideal, others, upolys -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor not for use.IdealWithComplexAlgebraicRoots(Ideal<D> id, List<GenPolynomial<D>> up, List<List<Complex<RealAlgebraicNumber<D>>>> cr) Constructor.IdealWithComplexAlgebraicRoots(IdealWithUniv<D> iu, List<List<Complex<RealAlgebraicNumber<D>>>> cr) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet decimal approximation of the complex root tuples.voidcompute decimal approximation of the complex root tuples.booleanIs decimal approximation of the complex roots.toScript()Get a scripting compatible string representation.toString()String representation of the ideal.Methods inherited from class IdealWithUniv
asListOfIdeals
-
Field Details
-
can
The list of complex algebraic roots. -
droots
The list of decimal approximations of the complex algebraic roots.
-
-
Constructor Details
-
IdealWithComplexAlgebraicRoots
protected IdealWithComplexAlgebraicRoots()Constructor not for use. -
IdealWithComplexAlgebraicRoots
public IdealWithComplexAlgebraicRoots(Ideal<D> id, List<GenPolynomial<D>> up, List<List<Complex<RealAlgebraicNumber<D>>>> cr) Constructor.- Parameters:
id- the idealup- the list of univariate polynomialscr- the list of complex algebraic roots
-
IdealWithComplexAlgebraicRoots
public IdealWithComplexAlgebraicRoots(IdealWithUniv<D> iu, List<List<Complex<RealAlgebraicNumber<D>>>> cr) Constructor.- Parameters:
iu- the ideal with univariate polynomialscr- 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 complex root tuples. -
doDecimalApproximation
public void doDecimalApproximation()compute decimal approximation of the complex root tuples. -
isDecimalApproximation
public boolean isDecimalApproximation()Is decimal approximation of the complex roots.- Returns:
- true, if the decimal complex roots approximate the complex roots.
-