vmm3d.functions
Class ComplexFunction1
- java.lang.Object
-
- vmm3d.functions.ComplexFunction
-
- vmm3d.functions.ComplexFunction1
-
public class ComplexFunction1 extends ComplexFunction
Represents a complex-valued function of one complex argument. A ComplexFunction1 can only be created by a Parser.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Complexvalue(Complex z)Evaluate this function at a specified argument, using an EvalStack that is unique to the current Thread..Complexvalue(Complex z, EvalStack stack)Evaluate this function at a specified argument, using an EvalStack that is passed as a parameter to this method.voidvalue(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.Complexvalue(double z_re, double z_im)Evaluate this function at a specified argument, using an EvalStack that is unique to the current Thread..Complexvalue(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.voidvalue(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.
-
-
-
Method Detail
-
value
public Complex value(Complex z)
Evaluate this function at a specified argument, using an EvalStack that is unique to the current Thread..- Parameters:
z- a non-null complex number that is passed as an argument to the function
-
value
public 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..- Parameters:
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 evaluated
-
value
public 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.- Parameters:
z- a non-null complex number that is passed as an argument to the function
-
value
public 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.- Parameters:
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- Returns:
- the value of the function at the specified argument
-
value
public 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.- Parameters:
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 placed
-
value
public 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.- Parameters:
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
-
-
DMelt 3.0 © DataMelt by jWork.ORG