Package jscl.math
Class GenericVariable
- java.lang.Object
-
- jscl.math.Variable
-
- jscl.math.GenericVariable
-
- All Implemented Interfaces:
java.lang.Comparable,jscl.editor.rendering.MathObject
- Direct Known Subclasses:
DoubleVariable,ExpressionVariable,MatrixVariable,VectorVariable
public abstract class GenericVariable extends Variable
-
-
Field Summary
-
Fields inherited from class jscl.math.Variable
comparator, name
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Genericantiderivative(Variable variable)intcompareTo(Variable variable)static Genericcontent(Generic generic)Genericderivative(Variable variable)Genericelementary()Genericexpand()Genericfactorize()Genericfunction(Variable variable)booleanisConstant(Variable variable)Genericnumeric()Genericsimplify()Genericsubstitute(Variable variable, Generic generic)java.lang.StringtoMathML()java.lang.StringtoString()static GenericVariablevalueOf(Generic generic)static GenericVariablevalueOf(Generic generic, boolean integer)-
Methods inherited from class jscl.math.Variable
compareTo, equals, expressionValue, isIdentity, nameToMathML, newinstance
-
-
-
-
Method Detail
-
antiderivative
public Generic antiderivative(Variable variable) throws NotIntegrableException
- Specified by:
antiderivativein classVariable- Throws:
NotIntegrableException
-
derivative
public Generic derivative(Variable variable)
- Specified by:
derivativein classVariable
-
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
-
valueOf
public static GenericVariable valueOf(Generic generic)
-
valueOf
public static GenericVariable valueOf(Generic generic, boolean integer)
-
toMathML
public java.lang.String toMathML()
-
-