|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vmm.functions.ComplexFunction vmm.functions.ComplexFunction2
public class ComplexFunction2
Represents a complex-valued function of two complex arguments. A ComplexFunction2 can only be created by a Parser.
Parser.parseComplexFunction2(String, String, String, String)
Field Summary |
---|
Fields inherited from class vmm.functions.ComplexFunction |
---|
func |
Method Summary | |
---|---|
Complex |
value(Complex z,
Complex w)
Evaluate this function at a specified pair of arguments, using an EvalStack that is unique to the current Thread.. |
Complex |
value(Complex z,
Complex w,
EvalStack stack)
Evaluate this function at a specified pair of arguments, using an EvalStack that is provided as a parameter. |
void |
value(Complex z,
Complex w,
EvalStack stack,
Complex answer)
Evaluate this function at a specified pair 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)
Evaluate this function at a specified pair 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,
EvalStack stack)
Evaluate this function at a specified pair 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,
EvalStack stack,
Complex answer)
Evaluate this function at a specified pair 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 |
---|
public Complex value(Complex z, Complex w)
z
- a non-null complex number that is passed as the first argument to the functionw
- a non-null complex number that is passed as the second argument to the functionpublic Complex value(double z_re, double z_im, double w_re, double w_im)
z_re
- the real part of the first argumentz_im
- the imaginary part of the first argumentw_re
- the real part of the second argumentw_im
- the imaginary part of the second argumentpublic Complex value(Complex z, Complex w, EvalStack stack)
z
- a non-null complex number that is passed as the first argument to the functionw
- a non-null complex number that is passed as the second argument to the functionstack
- a non-null EvalStack that will be used for computing the value.public Complex value(double z_re, double z_im, double w_re, double w_im, EvalStack stack)
z_re
- the real part of the first argumentz_im
- the imaginary part of the first argumentw_re
- the real part of the second argumentw_im
- the imaginary part of the second argumentstack
- a non-null EvalStack that will be used for computing the value.public void value(Complex z, Complex w, EvalStack stack, Complex answer)
z
- a non-null complex number that is passed as the first argument to the functionw
- a non-null complex number that is passed as the second argument to the functionstack
- a non-null EvalStack that will be used for computing the value.answer
- the non-null Complex object where the answer will be placed.public void value(double z_re, double z_im, double w_re, double w_im, EvalStack stack, Complex answer)
z_re
- the real part of the first argumentz_im
- the imaginary part of the first argumentw_re
- the real part of the second argumentw_im
- the imaginary part of the second argumentstack
- a non-null EvalStack that will be used for computing the value.answer
- the non-null Complex object where the answer will be placed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |