Package jscl.math
Class Expression
java.lang.Object
jscl.math.Generic
jscl.math.Expression
- All Implemented Interfaces:
Comparable,jscl.editor.rendering.MathObject,Arithmetic
-
Method Summary
Modifier and TypeMethodDescriptionadd(Expression expression) antiderivative(Variable variable) coef(int n) intcompareTo(Expression expression) intdalembertian(Variable[] variable) intdegree()derivative(Variable variable) Generic[]divideAndRemainder(Generic generic) eval()expand()gcd()booleanisConstant(Variable variable) booleanisPolynomial(Variable variable) literal(int n) booleanmultiply(Expression expression) negate()protected Expressionnewinstance(int n) numeric()Generic[]intsignum()simplify()intsize()substitute(Variable variable, Generic generic) subtract(Expression expression) Generic[]sumValue()toMathML()toString()static Expressionstatic ExpressionvalueOf(JSCLInteger integer) static Expressionstatic ExpressionvalueOf(Literal literal, JSCLInteger integer) static Expressionstatic ExpressionVariable[]static Variable[]Methods inherited from class jscl.math.Generic
abs, add, booleanValue, compareTo, divide, equals, gcdAndNormalize, inverse, isIdentity, isOne, isZero, multiply, normalize, pow, pow, remainder, scm, subtract, vectorValue
-
Method Details
-
size
public int size() -
literal
-
coef
-
add
-
add
-
subtract
-
subtract
-
multiply
-
multiply
-
multiple
- Overrides:
multiplein classGeneric- Throws:
ArithmeticException
-
divide
- Specified by:
dividein classGeneric- Throws:
ArithmeticException
-
divideAndRemainder
- Overrides:
divideAndRemainderin classGeneric- Throws:
ArithmeticException
-
gcd
-
gcd
-
literalScm
-
negate
-
signum
public int signum() -
degree
public int degree() -
antiderivative
- Specified by:
antiderivativein classGeneric- Throws:
NotIntegrableException
-
derivative
- Specified by:
derivativein classGeneric
-
substitute
- Specified by:
substitutein classGeneric
-
eval
-
expand
-
factorize
-
elementary
- Specified by:
elementaryin classGeneric
-
simplify
-
function
-
numeric
-
valueof
-
sumValue
-
productValue
- Specified by:
productValuein classGeneric- Throws:
NotProductException
-
powerValue
- Specified by:
powerValuein classGeneric- Throws:
NotPowerException
-
expressionValue
- Specified by:
expressionValuein classGeneric
-
integerValue
- Specified by:
integerValuein classGeneric- Throws:
NotIntegerException
-
variableValue
- Specified by:
variableValuein classGeneric- Throws:
NotVariableException
-
variables
-
variables
-
isPolynomial
- Specified by:
isPolynomialin classGeneric
-
isConstant
- Specified by:
isConstantin classGeneric
-
grad
-
laplacian
-
dalembertian
-
compareTo
-
compareTo
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
valueOf
- Throws:
ParseException
-
toString
-
toMathML
-
newinstance
-