public class ElementComparative extends Comparative implements BinaryOperatorI
Constructor and Description |
---|
ElementComparative(int index) |
Modifier and Type | Method and Description |
---|---|
Dimensions |
calcDim(Dimensions ldim,
Dimensions rdim)
Find the dimensions of this operator when applied to arguments with given dimensions.
|
MatrixValueI |
calcValue(MatrixValueI res,
MatrixValueI lhs,
MatrixValueI rhs)
Multiply the inputs element by element putting the results in res.
|
void |
run(Stack inStack)
Throws an exception because this method should never be called under
normal circumstances.
|
eq, ge, getTolerance, gt, le, lt, ne, setTolerance
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
public Dimensions calcDim(Dimensions ldim, Dimensions rdim)
BinaryOperatorI
calcDim
in interface BinaryOperatorI
public MatrixValueI calcValue(MatrixValueI res, MatrixValueI lhs, MatrixValueI rhs) throws ParseException
calcValue
in interface BinaryOperatorI
ParseException
public void run(Stack inStack) throws ParseException
PostfixMathCommand
run
in interface PostfixMathCommandI
run
in class Comparative
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics