vmm.functions
Class ComplexFunction3

java.lang.Object
  extended by vmm.functions.ComplexFunction
      extended by vmm.functions.ComplexFunction3

public class ComplexFunction3
extends ComplexFunction

Represents a complex-valued function of three complex arguments. A ComplexFunction2 can only be created by a Parser.

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

Field Summary
 
Fields inherited from class vmm.functions.ComplexFunction
func
 
Method Summary
 Complex value(Complex z, Complex w, Complex v)
          Evaluate this function at a specified list of arguments, using an EvalStack that is unique to the current Thread.
 Complex value(Complex z, Complex w, Complex v, EvalStack stack)
          Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter.
 void value(Complex z, Complex w, Complex v, EvalStack stack, Complex answer)
          Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter, placing the answer in an existing Complex object.
 Complex value(double z_re, double z_im, double w_re, double w_im, double v_re, double v_im)
          Evaluate this function at a specified list of arguments, using an EvalStack that is unique to the current Thread..
 Complex value(double z_re, double z_im, double w_re, double w_im, double v_re, double v_im, EvalStack stack)
          Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter.
 void value(double z_re, double z_im, double w_re, double w_im, double v_re, double v_im, EvalStack stack, Complex answer)
          Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter, placing the answer in an existing Complex object.
 
Methods inherited from class vmm.functions.ComplexFunction
getArity, getName, setName, value, value, value, value, value, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

value

public Complex value(Complex z,
                     Complex w,
                     Complex v)
Evaluate this function at a specified list of arguments, using an EvalStack that is unique to the current Thread.

Parameters:
z - a non-null complex number that is passed as the first argument to the function
w - a non-null complex number that is passed as the second argument to the function
v - a non-null complex number that is passed as the third argument to the function

value

public Complex value(double z_re,
                     double z_im,
                     double w_re,
                     double w_im,
                     double v_re,
                     double v_im)
Evaluate this function at a specified list of arguments, using an EvalStack that is unique to the current Thread..

Parameters:
z_re - the real part of the first argument
z_im - the imaginary part of the first argument
w_re - the real part of the second argument
w_im - the imaginary part of the second argument
v_re - the real part of the third argument
v_im - the imaginary part of the third argument

value

public Complex value(Complex z,
                     Complex w,
                     Complex v,
                     EvalStack stack)
Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter.

Parameters:
z - a non-null complex number that is passed as the first argument to the function
w - a non-null complex number that is passed as the second argument to the function
v - a non-null complex number that is passed as the third argument to the function
stack - a non-null EvalStack that will be used for computing the value.

value

public Complex value(double z_re,
                     double z_im,
                     double w_re,
                     double w_im,
                     double v_re,
                     double v_im,
                     EvalStack stack)
Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter.

Parameters:
z_re - the real part of the first argument
z_im - the imaginary part of the first argument
w_re - the real part of the second argument
w_im - the imaginary part of the second argument
v_re - the real part of the third argument
v_im - the imaginary part of the third argument
stack - a non-null EvalStack that will be used for computing the value.

value

public void value(Complex z,
                  Complex w,
                  Complex v,
                  EvalStack stack,
                  Complex answer)
Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter, placing the answer in an existing Complex object.

Parameters:
z - a non-null complex number that is passed as the first argument to the function
w - a non-null complex number that is passed as the second argument to the function
v - a non-null complex number that is passed as the third argument to the function
stack - a non-null EvalStack that will be used for computing the value.
answer - the non-null Complex object where the answer will be placed.

value

public void value(double z_re,
                  double z_im,
                  double w_re,
                  double w_im,
                  double v_re,
                  double v_im,
                  EvalStack stack,
                  Complex answer)
Evaluate this function at a specified list of arguments, using an EvalStack that is provided as a parameter, placing the answer in an existing Complex object.

Parameters:
z_re - the real part of the first argument
z_im - the imaginary part of the first argument
w_re - the real part of the second argument
w_im - the imaginary part of the second argument
v_re - the real part of the third argument
v_im - the imaginary part of the third argument
stack - a non-null EvalStack that will be used for computing the value.
answer - the non-null Complex object where the answer will be placed.