smile.symbolic.internal
Class Variable
- java.lang.Object
-
- smile.symbolic.internal.Expression
-
- smile.symbolic.internal.Variable
-
public class Variable extends Expression
-
-
Constructor Summary
Constructors Constructor and Description Variable(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Expressionderive()ExpressiongetLeftChild()ExpressiongetRightChild()java.lang.StringgetType()doublegetValue()Expressionreduce()
-
-
-
Method Detail
-
derive
public Expression derive()
- Specified by:
derivein classExpression
-
reduce
public Expression reduce()
- Specified by:
reducein classExpression
-
getType
public java.lang.String getType()
- Specified by:
getTypein classExpression
-
getValue
public double getValue()
- Specified by:
getValuein classExpression
-
getLeftChild
public Expression getLeftChild()
- Specified by:
getLeftChildin classExpression
-
getRightChild
public Expression getRightChild()
- Specified by:
getRightChildin classExpression
-
-
DataMelt 3.0 © DataMelt by jWork.ORG