vmm.functions
Class Function3

java.lang.Object
  extended by vmm.functions.Function
      extended by vmm.functions.Function3

public class Function3
extends Function

Represents a real-valued function of one real argument. A Function3 can only be created by a Parser.

See Also:
Parser.parseFunction3(String, String, String, String, String)

Field Summary
 
Fields inherited from class vmm.functions.Function
func
 
Method Summary
 double value(double x, double y, double z)
          Evaluate this Function3 for arguments (x,y,z), using an EvalStack that is unique to the current thread.
 double value(double x, double y, double z, EvalStack stack)
          Evaluate this Function3 for arguments (x,y,z), using a non-null EvalStack that is provided as a parameter to this method.
 
Methods inherited from class vmm.functions.Function
getArity, getName, setName, value, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

value

public double value(double x,
                    double y,
                    double z)
Evaluate this Function3 for arguments (x,y,z), using an EvalStack that is unique to the current thread.


value

public double value(double x,
                    double y,
                    double z,
                    EvalStack stack)
Evaluate this Function3 for arguments (x,y,z), using a non-null EvalStack that is provided as a parameter to this method.