public class RealVectorMinusRealVectorEvaluator extends AbstractRealVectorEvaluator
Evaluator
evaluating a BinaryOperation
of type '-',
which both operands are RealVector
when evaluated.Modifier and Type | Field and Description |
---|---|
protected Evaluator |
operand1Eval
The
Evaluator for the first operand of the BinaryOperation . |
protected Evaluator |
operand2Eval
The
Evaluator for the second operand of the BinaryOperation . |
Constructor and Description |
---|
RealVectorMinusRealVectorEvaluator(Evaluator e1,
Evaluator e2)
Creates a new
RealVectorMinusRealVectorEvaluator with the
specified operand Evaluators . |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate()
Executes the subtraction on the evaluation results of the given operand
Evaluators and returns the result as a RealVector
Object . |
getRealVectorValue, getReturnType
protected Evaluator operand1Eval
Evaluator
for the first operand of the BinaryOperation
.protected Evaluator operand2Eval
Evaluator
for the second operand of the BinaryOperation
.public RealVectorMinusRealVectorEvaluator(Evaluator e1, Evaluator e2)
RealVectorMinusRealVectorEvaluator
with the
specified operand Evaluators
. Those operand
Evaluators
provide the values to be subtracted.e1
- the Evaluator
providing the minuend value.e2
- the Evaluator
providing the subtrahend value.public Object evaluate()
Evaluators
and returns the result as a RealVector
Object
.RealVector
Object
.AbstractRealVectorEvaluator.getReturnType()