Package jscl.math
Class Function
- java.lang.Object
-
- jscl.math.Generic
-
- jscl.math.Function
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable,jscl.editor.rendering.MathObject,Arithmetic
public abstract class Function extends Generic implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Function()
-
Method Summary
-
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 Detail
-
identity
public static final Function identity
-
-
Method Detail
-
valueOf
public static Function valueOf(double cste)
-
valueOf
public static Function valueOf(JSCLInteger integer)
-
apply
public abstract double apply(double value)
-
antiderivative
public Generic antiderivative(Variable variable) throws NotIntegrableException
- Specified by:
antiderivativein classGeneric- Throws:
NotIntegrableException
-
derivative
public Generic derivative(Variable variable)
- Specified by:
derivativein classGeneric
-
substitute
public Generic substitute(Variable variable, Generic generic)
- Specified by:
substitutein classGeneric
-
elementary
public Generic elementary()
- Specified by:
elementaryin classGeneric
-
productValue
public Generic[] productValue() throws NotProductException
- Specified by:
productValuein classGeneric- Throws:
NotProductException
-
powerValue
public Power powerValue() throws NotPowerException
- Specified by:
powerValuein classGeneric- Throws:
NotPowerException
-
expressionValue
public Expression expressionValue() throws NotExpressionException
- Specified by:
expressionValuein classGeneric- Throws:
NotExpressionException
-
integerValue
public JSCLInteger integerValue() throws NotIntegerException
- Specified by:
integerValuein classGeneric- Throws:
NotIntegerException
-
variableValue
public Variable variableValue() throws NotVariableException
- Specified by:
variableValuein classGeneric- Throws:
NotVariableException
-
isPolynomial
public boolean isPolynomial(Variable variable)
- Specified by:
isPolynomialin classGeneric
-
isConstant
public boolean isConstant(Variable variable)
- Specified by:
isConstantin classGeneric
-
log
public Generic log()
-
exp
public Generic exp()
-
sqrt
public Function sqrt()
-
nthrt
public Generic nthrt(int n)
-
conjugate
public Generic conjugate()
-
acos
public Generic acos()
-
asin
public Generic asin()
-
atan
public Generic atan()
-
acot
public Generic acot()
-
cos
public Generic cos()
-
sin
public Generic sin()
-
tan
public Generic tan()
-
cot
public Generic cot()
-
acosh
public Generic acosh()
-
asinh
public Generic asinh()
-
atanh
public Generic atanh()
-
acoth
public Generic acoth()
-
cosh
public Generic cosh()
-
sinh
public Generic sinh()
-
tanh
public Generic tanh()
-
coth
public Generic coth()
-
compareTo
public int compareTo(Function func)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toMathML
public java.lang.String toMathML()
-
newinstance
protected Generic newinstance()
-
-