Package | Description |
---|---|
com.graphbuilder.math |
Modifier and Type | Method and Description |
---|---|
abstract double |
Expression.eval(VarMap v,
FuncMap f)
Returns the result of evaluating the expression tree rooted at this node.
|
double |
VarNode.eval(VarMap v,
FuncMap f)
Returns the value associated with the variable name in the VarMap.
|
double |
AddNode.eval(VarMap v,
FuncMap f)
Adds the evaluation of the left side to the evaluation of the right side and returns the result.
|
double |
MultNode.eval(VarMap v,
FuncMap f)
Multiples the evaluation of the left side and the evaluation of the right side and returns the result.
|
double |
DivNode.eval(VarMap v,
FuncMap f)
Divides the evaluation of the left side by the evaluation of the right side and returns the result.
|
double |
PowNode.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.
|
double |
FuncNode.eval(VarMap v,
FuncMap f)
Evaluates each of the children, storing the result in an internal double array.
|
double |
ValNode.eval(VarMap v,
FuncMap f)
Returns the value.
|
double |
SubNode.eval(VarMap v,
FuncMap f)
Subtracts the evaluation of the right side from the evaluation of the left side and returns the result.
|
Copyright © 2024. All rights reserved.