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 Details

  • 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 ideal
      up - the list of univariate polynomials
      cr - 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 polynomials
      cr - the list of real algebraic roots
  • Method Details

    • toString

      public String toString()
      String representation of the ideal.
      Overrides:
      toString in class IdealWithUniv<D extends GcdRingElem<D> & Rational>
      See Also:
    • toScript

      public 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:
    • decimalApproximation

      public List<List<Complex<BigDecimal>>> 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.