edu.jas.application
Class IdealWithRealRoots<C extends GcdRingElem<C>>

java.lang.Object
  extended by edu.jas.application.IdealWithUniv<C>
      extended by edu.jas.application.IdealWithRealRoots<C>
All Implemented Interfaces:
java.io.Serializable

public class IdealWithRealRoots<C extends GcdRingElem<C>>
extends IdealWithUniv<C>
implements java.io.Serializable

Container for Ideals together with univariate polynomials and real roots.

Author:
Heinz Kredel
See Also:
Serialized Form

Field Summary
 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
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
 java.lang.String toScript()
          Get a scripting compatible string representation.
 java.lang.String toString()
          String representation of the ideal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 ideal
up - the list of univaraite polynomials
rr - 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 polynomials
rr - the list of real roots
Method Detail

toString

public java.lang.String toString()
String representation of the ideal.

Overrides:
toString in class IdealWithUniv<C extends GcdRingElem<C>>
See Also:
Object.toString()

toScript

public java.lang.String toScript()
Get a scripting compatible string representation.

Overrides:
toScript in class IdealWithUniv<C extends GcdRingElem<C>>
Returns:
script compatible representation for this Element.
See Also:
Element.toScript()