|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vmm.functions.ComplexFunction vmm.functions.ComplexFunction1
public class ComplexFunction1
Represents a complex-valued function of one complex argument. A ComplexFunction1 can only be created by a Parser.
Parser.parseComplexFunction1(String, String, String)
Field Summary |
---|
Fields inherited from class vmm.functions.ComplexFunction |
---|
func |
Method Summary | |
---|---|
Complex |
value(Complex z)
Evaluate this function at a specified argument, using an EvalStack that is unique to the current Thread.. |
Complex |
value(Complex z,
EvalStack stack)
Evaluate this function at a specified argument, using an EvalStack that is passed as a parameter to this method. |
void |
value(Complex z,
EvalStack stack,
Complex answer)
Evaluate this function at a specified argument, using an EvalStack that is passed as a parameter to this method, and placing the value in an existing Complex object. |
Complex |
value(double z_re,
double z_im)
Evaluate this function at a specified argument, using an EvalStack that is unique to the current Thread.. |
Complex |
value(double z_re,
double z_im,
EvalStack stack)
Evaluate this function at a specified argument, using an EvalStack that is passed as a parameter to this method. |
void |
value(double z_re,
double z_im,
EvalStack stack,
Complex answer)
Evaluate this function at a specified argument, using an EvalStack that is passed as a parameter to this method, and placing the value 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)
z
- a non-null complex number that is passed as an argument to the functionpublic Complex value(double z_re, double z_im)
z_re
- the real part of the argument where the function will be evaluatedz_im
- the imaginary part of the argument where the function will be evaluatedpublic Complex value(Complex z, EvalStack stack)
z
- a non-null complex number that is passed as an argument to the functionpublic Complex value(double z_re, double z_im, EvalStack stack)
z_re
- the real part of the argument where the function will be evaluatedz_im
- the imaginary part of the argument where the function will be evaluatedstack
- the non-null stack that will be used for computing the value
public void value(Complex z, EvalStack stack, Complex answer)
z
- a non-null complex number that is passed as an argument to the functionstack
- the non-null stack that will be used for computing the valueanswer
- the non-null Complex where the value will be placedpublic void value(double z_re, double z_im, EvalStack stack, Complex answer)
z_re
- the real part of the argument where the function will be evaluatedz_im
- the imaginary part of the argument where the function will be evaluatedstack
- the non-null stack that will be used for computing the valueanswer
- the non-null Complex where the value will be placed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |