Package edu.jas.application
Class IdealWithRealRoots<C extends GcdRingElem<C>>
- java.lang.Object
-
- edu.jas.application.IdealWithUniv<C>
-
- edu.jas.application.IdealWithRealRoots<C>
-
- All Implemented Interfaces:
java.io.Serializable
public class IdealWithRealRoots<C extends GcdRingElem<C>> extends IdealWithUniv<C>
Container for Ideals together with univariate polynomials and real roots.- Author:
- Heinz Kredel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.util.List<BigDecimal>>
rroots
The list of real roots.-
Fields inherited from class edu.jas.application.IdealWithUniv
ideal, others, upolys
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdealWithRealRoots()
Constructor not for use.IdealWithRealRoots(Ideal<C> id, java.util.List<GenPolynomial<C>> up, java.util.List<java.util.List<BigDecimal>> rr)
Constructor.IdealWithRealRoots(IdealWithUniv<C> iu, java.util.List<java.util.List<BigDecimal>> rr)
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
-
rroots
public final java.util.List<java.util.List<BigDecimal>> rroots
The list of real roots.
-
-
Constructor Detail
-
IdealWithRealRoots
protected IdealWithRealRoots()
Constructor not for use.
-
IdealWithRealRoots
public IdealWithRealRoots(Ideal<C> id, java.util.List<GenPolynomial<C>> up, java.util.List<java.util.List<BigDecimal>> rr)
Constructor.- Parameters:
id
- the idealup
- the list of univaraite polynomialsrr
- the list of real roots
-
IdealWithRealRoots
public IdealWithRealRoots(IdealWithUniv<C> iu, java.util.List<java.util.List<BigDecimal>> rr)
Constructor.- Parameters:
iu
- the ideal with univariate polynomialsrr
- the list of real 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()
-
-