public abstract class PredefinedFunctionComplexEvaluator extends AbstractComplexEvaluator
Evaluators
evaluating PredefinedFunctions
which function call parameter
is a Complex
when evaluated - in other words:
This class provides function calls of predefined functions on complex values.
This class provides static
nested classes inheriting this class
- one static
class provides the evaluation of the appropriate
PredefinedFunction
.
All you have to do is to create an instance of such static
class
and give the constructor the parameter Evaluator
. The method
evaluate()
evaluates that parameter and executes the predefined
function call on the evaluation result.Modifier and Type | Class and Description |
---|---|
static class |
PredefinedFunctionComplexEvaluator.CosEvaluator
The
PredefinedFunctionComplexEvaluator executing
cosine on a given complex parameter. |
static class |
PredefinedFunctionComplexEvaluator.ExpEvaluator
The
PredefinedFunctionComplexEvaluator executing
exponential function on a given complex parameter. |
static class |
PredefinedFunctionComplexEvaluator.LogEvaluator
The
PredefinedFunctionComplexEvaluator executing
natural logarithm on a given complex parameter. |
static class |
PredefinedFunctionComplexEvaluator.SinEvaluator
The
PredefinedFunctionComplexEvaluator executing
sine on a given complex parameter. |
static class |
PredefinedFunctionComplexEvaluator.SqrtEvaluator
The
PredefinedFunctionComplexEvaluator executing
square root on a given complex parameter. |
static class |
PredefinedFunctionComplexEvaluator.TanEvaluator
The
PredefinedFunctionComplexEvaluator executing
tangent on a given complex parameter. |
Constructor and Description |
---|
PredefinedFunctionComplexEvaluator(Evaluator e)
Creates a new
PredefinedFunctionComplexEvaluator
executing the certain function call on the evaluation result of
e . |
Modifier and Type | Method and Description |
---|---|
abstract Object |
evaluate()
Execute the certain function call on the evaluation result of the given
parameter
Evaluator and return the result as a Complex Object . |
getComplexValue, getReturnType
public PredefinedFunctionComplexEvaluator(Evaluator e)
PredefinedFunctionComplexEvaluator
executing the certain function call on the evaluation result of
e
.e
- the Evaluator
of the function call parameter.public abstract Object evaluate()
Evaluator
and return the result as a Complex
Object
.Complex
Object
.AbstractComplexEvaluator.getReturnType()