edu.jas.application
Class IdealWithComplexAlgebraicRoots<C extends RingElem<C> & Rational,D extends GcdRingElem<D> & Rational>

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

public class IdealWithComplexAlgebraicRoots<C extends RingElem<C> & Rational,D extends GcdRingElem<D> & Rational>
extends IdealWithUniv<D>
implements java.io.Serializable

Container for Ideals together with univariate polynomials and complex algebraic roots.

Author:
Heinz Kredel
See Also:
Serialized Form

Field Summary
 java.util.List<java.util.List<Complex<RealAlgebraicNumber<D>>>> can
          The list of complex algebraic roots.
protected  java.util.List<java.util.List<Complex<BigDecimal>>> droots
          The list of decimal approximations of the complex algebraic roots.
 
Fields inherited from class edu.jas.application.IdealWithUniv
ideal, others, upolys
 
Constructor Summary
protected IdealWithComplexAlgebraicRoots()
          Constructor not for use.
  IdealWithComplexAlgebraicRoots(Ideal<D> id, java.util.List<GenPolynomial<D>> up, java.util.List<java.util.List<Complex<RealAlgebraicNumber<D>>>> cr)
          Constructor.
  IdealWithComplexAlgebraicRoots(IdealWithUniv<D> iu, java.util.List<java.util.List<Complex<RealAlgebraicNumber<D>>>> cr)
          Constructor.
 
Method Summary
 java.util.List<java.util.List<Complex<BigDecimal>>> decimalApproximation()
          Get decimal approximation of the real root tuples.
 void doDecimalApproximation()
          compute decimal approximation of the real root tuples.
 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

can

public final java.util.List<java.util.List<Complex<RealAlgebraicNumber<D extends GcdRingElem<D> & Rational>>>> can
The list of complex algebraic roots.


droots

protected java.util.List<java.util.List<Complex<BigDecimal>>> droots
The list of decimal approximations of the complex algebraic roots.

Constructor Detail

IdealWithComplexAlgebraicRoots

protected IdealWithComplexAlgebraicRoots()
Constructor not for use.


IdealWithComplexAlgebraicRoots

public IdealWithComplexAlgebraicRoots(Ideal<D> id,
                                      java.util.List<GenPolynomial<D>> up,
                                      java.util.List<java.util.List<Complex<RealAlgebraicNumber<D>>>> cr)
Constructor.

Parameters:
id - the ideal
up - the list of univariate polynomials
cr - the list of complex algebraic roots

IdealWithComplexAlgebraicRoots

public IdealWithComplexAlgebraicRoots(IdealWithUniv<D> iu,
                                      java.util.List<java.util.List<Complex<RealAlgebraicNumber<D>>>> cr)
Constructor.

Parameters:
iu - the ideal with univariate polynomials
cr - the list of real algebraic roots
Method Detail

toString

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

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

toScript

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

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

decimalApproximation

public java.util.List<java.util.List<Complex<BigDecimal>>> decimalApproximation()
Get decimal approximation of the real root tuples.


doDecimalApproximation

public void doDecimalApproximation()
compute decimal approximation of the real root tuples.