vmm.functions
Class Function2

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

public class Function2
extends Function

Represents a real-valued function of two real arguments. A Function2 can only be created by a Parser.

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

Field Summary
 
Fields inherited from class vmm.functions.Function
func
 
Method Summary
 double value(double x, double y)
          Find the value of this Function at a specified pair of argument values, using an EvalStack that is unique to the current Thread.
 double value(double x, double y, EvalStack stack)
          Find the value of this Function at a specified pair of argument values, using a non-null EvalStack that is provided as a parameter.
 
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)
Find the value of this Function at a specified pair of argument values, using an EvalStack that is unique to the current Thread.


value

public double value(double x,
                    double y,
                    EvalStack stack)
Find the value of this Function at a specified pair of argument values, using a non-null EvalStack that is provided as a parameter.