Package edu.jas.application
Class IdealWithComplexRoots<C extends GcdRingElem<C>>
- java.lang.Object
-
- edu.jas.application.IdealWithUniv<C>
-
- edu.jas.application.IdealWithComplexRoots<C>
-
- All Implemented Interfaces:
java.io.Serializable
class IdealWithComplexRoots<C extends GcdRingElem<C>> extends IdealWithUniv<C>
Container for Ideals together with univariate polynomials and complex roots.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.util.List<Complex<BigDecimal>>>
croots
The list of complex roots.-
Fields inherited from class edu.jas.application.IdealWithUniv
ideal, others, upolys
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdealWithComplexRoots()
Constructor not for use.IdealWithComplexRoots(Ideal<C> id, java.util.List<GenPolynomial<C>> up, java.util.List<java.util.List<Complex<BigDecimal>>> cr)
Constructor.IdealWithComplexRoots(IdealWithUniv<C> iu, java.util.List<java.util.List<Complex<BigDecimal>>> cr)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toScript()
Get a scripting compatible string representation.java.lang.String
toString()
String representation of the ideal.-
Methods inherited from class edu.jas.application.IdealWithUniv
asListOfIdeals
-
-
-
-
Field Detail
-
croots
public final java.util.List<java.util.List<Complex<BigDecimal>>> croots
The list of complex roots.
-
-
Constructor Detail
-
IdealWithComplexRoots
protected IdealWithComplexRoots()
Constructor not for use.
-
IdealWithComplexRoots
public IdealWithComplexRoots(Ideal<C> id, java.util.List<GenPolynomial<C>> up, java.util.List<java.util.List<Complex<BigDecimal>>> cr)
Constructor.- Parameters:
id
- the idealup
- the list of univaraite polynomialscr
- the list of complex roots
-
IdealWithComplexRoots
public IdealWithComplexRoots(IdealWithUniv<C> iu, java.util.List<java.util.List<Complex<BigDecimal>>> cr)
Constructor.- Parameters:
iu
- the ideal with univariate polynomialscr
- the list of complex roots
-
-
Method Detail
-
toString
public java.lang.String toString()
String representation of the ideal.- Overrides:
toString
in classIdealWithUniv<C extends GcdRingElem<C>>
- See Also:
Object.toString()
-
toScript
public java.lang.String toScript()
Get a scripting compatible string representation.- Overrides:
toScript
in classIdealWithUniv<C extends GcdRingElem<C>>
- Returns:
- script compatible representation for this Element.
- See Also:
Element.toScript()
-
-