public class JASIExpr
extends java.lang.Object
IExpr
objects
Note:: set the "no complex number" flag to false
to allow
complex numbers on input in method expr2IExprJAS(IExpr)
Constructor and Description |
---|
JASIExpr(IExpr variable,
boolean numericFunction) |
JASIExpr(IExpr variable,
edu.jas.structure.RingFactory<IExpr> ringFactory) |
JASIExpr(IExpr variable,
edu.jas.structure.RingFactory<IExpr> ringFactory,
boolean numericFunction) |
JASIExpr(java.util.List<? extends IExpr> variablesList) |
JASIExpr(java.util.List<? extends IExpr> variablesList,
boolean numericFunction) |
JASIExpr(java.util.List<? extends IExpr> variablesList,
edu.jas.structure.RingFactory<IExpr> ringFactory) |
JASIExpr(java.util.List<? extends IExpr> variablesList,
edu.jas.structure.RingFactory<IExpr> ringFactory,
edu.jas.poly.TermOrder termOrder,
boolean numericFunction) |
Modifier and Type | Method and Description |
---|---|
IExpr |
complexPoly2Expr(edu.jas.poly.GenPolynomial<edu.jas.poly.Complex<edu.jas.arith.BigRational>> poly)
Convert a JAS complex polynomial to
IExpr . |
edu.jas.poly.GenPolynomial<IExpr> |
expr2IExprJAS(ExprPolynomial exprPoly) |
edu.jas.poly.GenPolynomial<IExpr> |
expr2IExprJAS(IExpr exprPoly)
Convert the given expression into a
JAS polynomial.
|
IExpr |
exprPoly2Expr(edu.jas.poly.GenPolynomial<IExpr> poly)
Converts a JAS
polynomial to a MathEclipse AST with head
Plus |
IExpr |
exprPoly2Expr(edu.jas.poly.GenPolynomial<IExpr> poly,
IExpr variable)
Converts a JAS
polynomial to a MathEclipse AST with head
Plus |
java.lang.Object[] |
factorTerms(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> A)
BigInteger from BigRational coefficients.
|
edu.jas.poly.GenPolynomialRing<IExpr> |
getPolynomialRingFactory() |
edu.jas.poly.GenPolynomial<edu.jas.arith.BigInteger> |
integerFromRationalCoefficients(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> A)
BigInteger from BigRational coefficients.
|
IExpr |
integerPoly2Expr(edu.jas.poly.GenPolynomial<edu.jas.arith.BigInteger> poly)
Convert a JAS integer polynomial to
IExpr . |
boolean |
monomialToExpr(IExpr coeff,
edu.jas.poly.ExpVector exp,
IAST monomTimes) |
public JASIExpr(IExpr variable, boolean numericFunction)
public JASIExpr(IExpr variable, edu.jas.structure.RingFactory<IExpr> ringFactory, boolean numericFunction)
public JASIExpr(java.util.List<? extends IExpr> variablesList)
public JASIExpr(java.util.List<? extends IExpr> variablesList, boolean numericFunction)
public JASIExpr(java.util.List<? extends IExpr> variablesList, edu.jas.structure.RingFactory<IExpr> ringFactory)
public IExpr complexPoly2Expr(edu.jas.poly.GenPolynomial<edu.jas.poly.Complex<edu.jas.arith.BigRational>> poly) throws java.lang.ArithmeticException, java.lang.ClassCastException
IExpr
.poly
- java.lang.ArithmeticException
java.lang.ClassCastException
public edu.jas.poly.GenPolynomial<IExpr> expr2IExprJAS(IExpr exprPoly) throws JASConversionException
INum
or
IComplexNum
values are converted into the polynomial
structure)
Note:: set the "no complex number" flag to false
to
allow complex numbers on input in method
expr2IExprJAS(IExpr)
exprPoly
- JASConversionException
#setNoComplexNumber(boolean)}
public edu.jas.poly.GenPolynomial<IExpr> expr2IExprJAS(ExprPolynomial exprPoly)
public IExpr exprPoly2Expr(edu.jas.poly.GenPolynomial<IExpr> poly)
Plus
poly
- a JAS polynomialjava.lang.ArithmeticException
java.lang.ClassCastException
public IExpr exprPoly2Expr(edu.jas.poly.GenPolynomial<IExpr> poly, IExpr variable)
Plus
poly
- a JAS polynomialvariable
- java.lang.ArithmeticException
java.lang.ClassCastException
public boolean monomialToExpr(IExpr coeff, edu.jas.poly.ExpVector exp, IAST monomTimes)
public java.lang.Object[] factorTerms(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> A)
A
- polynomial with BigRational coefficients to be converted.public edu.jas.poly.GenPolynomialRing<IExpr> getPolynomialRingFactory()
public edu.jas.poly.GenPolynomial<edu.jas.arith.BigInteger> integerFromRationalCoefficients(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> A)
A
- polynomial with BigRational coefficients to be converted.public IExpr integerPoly2Expr(edu.jas.poly.GenPolynomial<edu.jas.arith.BigInteger> poly) throws java.lang.ArithmeticException, java.lang.ClassCastException
IExpr
.poly
- java.lang.ArithmeticException
java.lang.ClassCastException