public class NegativeSignComplexVectorEvaluator extends AbstractComplexVectorEvaluator
Evaluator
evaluating a UnaryOperation
of type '-',
which operand is a ComplexVector
when evaluated.Modifier and Type | Field and Description |
---|---|
protected Evaluator |
operandEval
The
Evaluator for the operand of the UnaryOperation . |
Constructor and Description |
---|
NegativeSignComplexVectorEvaluator(Evaluator e)
Creates a new
NegativeSignComplexVectorEvaluator with the
specified operand Evaluator . |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate()
Executes the negative on the complex-vector evaluation result of the given
operand
Evaluator and returns the result as a ComplexVector Object . |
getComplexVectorValue, getReturnType
protected Evaluator operandEval
Evaluator
for the operand of the UnaryOperation
.public NegativeSignComplexVectorEvaluator(Evaluator e)
NegativeSignComplexVectorEvaluator
with the
specified operand Evaluator
. That operand
Evaluator
provides the complex vector value the unary
operation of type '-' will be executed on.e
- the Evaluator
from its complex-vector evaluation
result the negative value is to be assigned.public Object evaluate()
Evaluator
and returns the result as a ComplexVector
Object
.ComplexVector
Object
.AbstractComplexVectorEvaluator.getReturnType()