Package edu.jas.application
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 edu.jas.application.IdealWithUniv
ideal, others, upolys
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor 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.void
compute decimal approximation of the complex root tuples.boolean
Is decimal approximation of the complex 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
-
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:
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 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.
-