org.matheclipse.core.convert
Class JASModInteger
- java.lang.Object
-
- org.matheclipse.core.convert.JASModInteger
-
- Type Parameters:
C-
public class JASModInteger extends java.lang.ObjectConvert JAS objects from and to MathEclipse objects
-
-
Constructor Summary
Constructors Constructor and Description JASModInteger(IExpr variable, ModLongRing ringFactory)JASModInteger(java.util.List<? extends IExpr> variablesList, ModLongRing ringFactory)JASModInteger(java.util.List<? extends IExpr> variablesList, ModLongRing ringFactory, TermOrder termOrder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description GenPolynomial<ModLong>expr2IExprJAS(IExpr exprPoly)Convert the given expression into a JAS polynomial.GenPolynomial<ModLong>expr2JAS(IExpr exprPoly)GenPolynomialRing<ModLong>getPolynomialRingFactory()IASTmodLongPoly2Expr(GenPolynomial<ModLong> poly)GenPolynomial<ModLong>numericExpr2JAS(IExpr exprPoly)Convert the given expression into a JAS polynomial.static ModLongRingoption2ModLongRing(ISignedNumber option)
-
-
-
Constructor Detail
-
JASModInteger
public JASModInteger(IExpr variable, ModLongRing ringFactory)
-
JASModInteger
public JASModInteger(java.util.List<? extends IExpr> variablesList, ModLongRing ringFactory)
-
JASModInteger
public JASModInteger(java.util.List<? extends IExpr> variablesList, ModLongRing ringFactory, TermOrder termOrder)
-
-
Method Detail
-
expr2JAS
public GenPolynomial<ModLong> expr2JAS(IExpr exprPoly) throws JASConversionException
- Throws:
JASConversionException
-
numericExpr2JAS
public GenPolynomial<ModLong> numericExpr2JAS(IExpr exprPoly) throws JASConversionException
Convert the given expression into a JAS polynomial.INumdouble values are internally converted to IFractions and converte into the pokynomial structure.- Parameters:
exprPoly-- Returns:
- Throws:
JASConversionException
-
expr2IExprJAS
public GenPolynomial<ModLong> expr2IExprJAS(IExpr exprPoly) throws JASConversionException
Convert the given expression into a JAS polynomial. Only symbolic numbers are converted (i.e. noINumorIComplexNumvalues are converted into the polynomial structure)- Parameters:
exprPoly-- Returns:
- Throws:
JASConversionException
-
getPolynomialRingFactory
public GenPolynomialRing<ModLong> getPolynomialRingFactory()
- Returns:
- the fPolyFactory
-
modLongPoly2Expr
public IAST modLongPoly2Expr(GenPolynomial<ModLong> poly) throws java.lang.ArithmeticException, java.lang.ClassCastException
- Throws:
java.lang.ArithmeticExceptionjava.lang.ClassCastException
-
option2ModLongRing
public static ModLongRing option2ModLongRing(ISignedNumber option)
-
-
DMelt 3.0 © DataMelt by jWork.ORG