Package jscl.math
Class Function
java.lang.Object
jscl.math.Generic
jscl.math.Function
- All Implemented Interfaces:
Serializable,Comparable,jscl.editor.rendering.MathObject,Arithmetic
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabs()acos()acosh()acot()acoth()antiderivative(Variable variable) abstract doubleapply(double value) asin()asinh()atan()atanh()intintcos()cosh()cot()coth()intdegree()derivative(Variable variable) eval()exp()expand()gcd()booleanisConstant(Variable variable) booleanisOne()booleanisPolynomial(Variable variable) booleanisZero()log()negate()protected Genericnthrt(int n) numeric()pow(int exponent) Generic[]static Genericintsignum()simplify()sin()sinh()sqrt()substitute(Variable variable, Generic generic) Generic[]sumValue()tan()tanh()toMathML()toString()static FunctionvalueOf(double cste) static FunctionvalueOf(JSCLInteger integer) static FunctionVariable[]Methods inherited from class jscl.math.Generic
add, booleanValue, compareTo, divide, divideAndRemainder, equals, gcdAndNormalize, inverse, isIdentity, multiple, multiply, normalize, pow, remainder, scm, subtract, vectorValue
-
Field Details
-
identity
-
-
Constructor Details
-
Function
public Function()
-
-
Method Details
-
valueOf
-
valueOf
-
valueOf
-
apply
public abstract double apply(double value) -
add
-
add
-
subtract
-
subtract
-
multiply
-
multiply
-
divide
-
divide
-
gcd
-
gcd
-
pow
-
abs
-
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- 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
-
pow
-
sqrt
-
nthrt
-
root
-
conjugate
-
acos
-
asin
-
atan
-
acot
-
cos
-
sin
-
tan
-
cot
-
acosh
-
asinh
-
atanh
-
acoth
-
cosh
-
sinh
-
tanh
-
coth
-
isZero
public boolean isZero() -
isOne
public boolean isOne() -
compareTo
-
compareTo
-
toString
-
toMathML
-
newinstance
-