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