Package jscl.math
Class Variable
- java.lang.Object
-
- jscl.math.Variable
-
- All Implemented Interfaces:
java.lang.Comparable,jscl.editor.rendering.MathObject
- Direct Known Subclasses:
Constant,Function,GenericVariable,Operator,TechnicalVariable
public abstract class Variable extends java.lang.Object implements java.lang.Comparable, jscl.editor.rendering.MathObject
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparatorcomparatorprotected java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description Variable(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Genericantiderivative(Variable variable)intcompareTo(java.lang.Object o)abstract intcompareTo(Variable variable)abstract Genericderivative(Variable variable)abstract Genericelementary()booleanequals(java.lang.Object obj)abstract Genericexpand()ExpressionexpressionValue()abstract Genericfactorize()abstract Genericfunction(Variable variable)abstract booleanisConstant(Variable variable)booleanisIdentity(Variable variable)protected java.lang.StringnameToMathML()protected abstract Variablenewinstance()abstract Genericnumeric()abstract Genericsimplify()abstract Genericsubstitute(Variable variable, Generic generic)java.lang.StringtoString()
-
-
-
Method Detail
-
antiderivative
public abstract Generic antiderivative(Variable variable) throws NotIntegrableException
- Throws:
NotIntegrableException
-
expand
public abstract Generic expand()
-
factorize
public abstract Generic factorize()
-
elementary
public abstract Generic elementary()
-
simplify
public abstract Generic simplify()
-
numeric
public abstract Generic numeric()
-
expressionValue
public Expression expressionValue()
-
isConstant
public abstract boolean isConstant(Variable variable)
-
isIdentity
public boolean isIdentity(Variable variable)
-
compareTo
public abstract int compareTo(Variable variable)
-
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareToin interfacejava.lang.Comparable
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
nameToMathML
protected java.lang.String nameToMathML()
-
newinstance
protected abstract Variable newinstance()
-
-