public class PowNode extends OpNode
leftChild, rightChild
parent
Constructor and Description |
---|
PowNode(Expression leftChild,
Expression rightChild) |
Modifier and Type | Method and Description |
---|---|
double |
eval(VarMap v,
FuncMap f)
Raises the evaluation of the left side to the power of the evaluation of the right side and returns the result.
|
String |
getSymbol()
Returns the text symbol that represents the operation.
|
getLeftChild, getRightChild, setLeftChild, setRightChild
checkBeforeAccept, getFunctionNames, getParent, getVariableNames, isDescendent, toString
public PowNode(Expression leftChild, Expression rightChild)
public double eval(VarMap v, FuncMap f)
eval
in class Expression
Copyright © 2016. All rights reserved.