|
|||||||||
| Home >> All >> exptree >> [ operators overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
exptree.operators
Interface operatorInterface

- All Known Implementing Classes:
- absolute, addition, and, arccos, arcsin, arctan, atan2, beta, ceil, cosine, division, exponent, floor, ifs, image, invert, mandel, maximum, minimum, multiplication, mux, mux3, noise, not, or, remainder, rint, sine, subtraction, warpednoise, xor
- public interface operatorInterface
Defines the interface which all operators must implement
- Version:
- 1.1 08/19/2000
| Method Summary | |
double |
evaluate(exptree.expressionTree[] parameters)
Returns the result of the operation on the given parameters as a double. |
java.lang.String |
getName()
Returns the name of the operator. |
int |
getNumberOfParameters()
Returns the number of parameters the operator expects. |
void |
init()
Performs any initialization the operator may require. |
| Method Detail |
evaluate
public double evaluate(exptree.expressionTree[] parameters)
- Returns the result of the operation on the given parameters as a double.
getName
public java.lang.String getName()
- Returns the name of the operator.
init
public void init()
- Performs any initialization the operator may require.
getNumberOfParameters
public int getNumberOfParameters()
- Returns the number of parameters the operator expects.
|
|||||||||
| Home >> All >> exptree >> [ operators overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC