Package jscl.math
Class NumericWrapper
java.lang.Object
jscl.math.Generic
jscl.math.NumericWrapper
- All Implemented Interfaces:
Comparable,jscl.editor.rendering.MathObject,Arithmetic
-
Constructor Summary
ConstructorsConstructorDescriptionNumericWrapper(Constant constant) NumericWrapper(JSCLInteger integer) NumericWrapper(JSCLVector vector) NumericWrapper(Matrix matrix) NumericWrapper(Numeric numeric) NumericWrapper(Rational rational) -
Method Summary
Modifier and TypeMethodDescriptionabs()acos()acosh()acot()acoth()add(NumericWrapper wrapper) antiderivative(Variable variable) asin()asinh()atan()atanh()intintcompareTo(NumericWrapper wrapper) content()cos()cosh()cot()coth()intdegree()derivative(Variable variable) divide(NumericWrapper wrapper) eval()exp()expand()gcd()booleanisConstant(Variable variable) booleanisPolynomial(Variable variable) log()booleanbooleanmultiple(NumericWrapper wrapper) multiply(NumericWrapper wrapper) negate()protected Genericnthrt(int n) numeric()Generic[]static Genericintsignum()simplify()sin()sinh()sqrt()substitute(Variable variable, Generic generic) subtract(NumericWrapper wrapper) Generic[]sumValue()tan()tanh()toMathML()toString()valueof(NumericWrapper wrapper) Variable[]Methods inherited from class jscl.math.Generic
add, booleanValue, compareTo, divide, divideAndRemainder, equals, gcdAndNormalize, inverse, isIdentity, isOne, isZero, multiply, normalize, pow, pow, remainder, scm, subtract, vectorValue
-
Constructor Details
-
NumericWrapper
-
NumericWrapper
-
NumericWrapper
-
NumericWrapper
-
NumericWrapper
-
NumericWrapper
-
-
Method Details
-
content
-
add
-
add
-
subtract
-
subtract
-
multiply
-
multiply
-
multiple
-
multiple
-
divide
- Throws:
ArithmeticException
-
divide
- Specified by:
dividein classGeneric- Throws:
ArithmeticException
-
gcd
-
gcd
-
abs
-
negate
-
signum
public int signum() -
degree
public int degree() -
antiderivative
- Specified by:
antiderivativein classGeneric
-
derivative
- Specified by:
derivativein classGeneric
-
substitute
- Specified by:
substitutein classGeneric
-
eval
-
expand
-
factorize
-
elementary
- Specified by:
elementaryin classGeneric
-
simplify
-
function
-
numeric
-
valueof
-
valueof
-
sumValue
-
productValue
- Specified by:
productValuein classGeneric
-
powerValue
- Specified by:
powerValuein classGeneric
-
expressionValue
- Specified by:
expressionValuein classGeneric- Throws:
NotExpressionException
-
integerValue
- Specified by:
integerValuein classGeneric- Throws:
NotIntegerException
-
variableValue
- Specified by:
variableValuein classGeneric- Throws:
NotVariableException
-
variables
-
isPolynomial
- Specified by:
isPolynomialin classGeneric
-
isConstant
- Specified by:
isConstantin classGeneric
-
log
-
exp
-
pow
-
sqrt
-
nthrt
-
root
-
conjugate
-
acos
-
asin
-
atan
-
acot
-
cos
-
sin
-
tan
-
cot
-
acosh
-
asinh
-
atanh
-
acoth
-
cosh
-
sinh
-
tanh
-
coth
-
compareTo
-
compareTo
-
toString
-
toMathML
-
newinstance
-