Package jscl.math.function
Class Function
- java.lang.Object
-
- jscl.math.Variable
-
- jscl.math.function.Function
-
- All Implemented Interfaces:
java.lang.Comparable,jscl.editor.rendering.MathObject
- Direct Known Subclasses:
Abs,Algebraic,ArcTrigonometric,Bool,Comparison,Conjugate,Exp,ImplicitFunction,Log,Trigonometric
public abstract class Function extends Variable
-
-
Field Summary
Fields Modifier and Type Field Description protected Generic[]parameter-
Fields inherited from class jscl.math.Variable
comparator, name
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Genericantiderivative(int n)Genericantiderivative(Variable variable)intcompareTo(Variable variable)abstract Genericderivative(int n)Genericderivative(Variable variable)Genericelementary()abstract Genericevalelem()abstract Genericevalfunc()abstract Genericevalnum()abstract Genericevalsimp()abstract Genericevaluate()Genericexpand()Genericfactorize()Genericfunction(Variable variable)booleanisConstant(Variable variable)Genericnumeric()Generic[]parameters()Genericsimplify()Genericsubstitute(Variable variable, Generic generic)java.lang.StringtoMathML()java.lang.StringtoString()-
Methods inherited from class jscl.math.Variable
compareTo, equals, expressionValue, isIdentity, nameToMathML, newinstance
-
-
-
-
Field Detail
-
parameter
protected final Generic[] parameter
-
-
Constructor Detail
-
Function
public Function(java.lang.String name, Generic[] parameter)
-
-
Method Detail
-
parameters
public Generic[] parameters()
-
evaluate
public abstract Generic evaluate()
-
evalelem
public abstract Generic evalelem()
-
evalsimp
public abstract Generic evalsimp()
-
evalfunc
public abstract Generic evalfunc()
-
evalnum
public abstract Generic evalnum()
-
antiderivative
public Generic antiderivative(Variable variable) throws NotIntegrableException
- Specified by:
antiderivativein classVariable- Throws:
NotIntegrableException
-
antiderivative
public abstract Generic antiderivative(int n) throws NotIntegrableException
- Throws:
NotIntegrableException
-
derivative
public Generic derivative(Variable variable)
- Specified by:
derivativein classVariable
-
derivative
public abstract Generic derivative(int n)
-
substitute
public Generic substitute(Variable variable, Generic generic)
- Specified by:
substitutein classVariable
-
elementary
public Generic elementary()
- Specified by:
elementaryin classVariable
-
isConstant
public boolean isConstant(Variable variable)
- Specified by:
isConstantin classVariable
-
toMathML
public java.lang.String toMathML()
-
-