public class MDivide extends Divide implements BinaryOperatorI
Constructor and Description |
---|
MDivide() |
Modifier and Type | Method and Description |
---|---|
Dimensions |
calcDim(Dimensions l,
Dimensions r)
Find the dimensions of this operator when applied to arguments with given dimensions.
|
MatrixValueI |
calcValue(MatrixValueI res,
MatrixValueI param1,
MatrixValueI param2)
Calculates the value of this operator for given input with results stored in res.
|
Object |
div(MatrixValueI param1,
MatrixValueI param2)
Divide two objects.
|
Object |
div(Object param1,
Object param2)
Divide two objects.
|
void |
run(Stack stack)
Need to redo this as the standard jep version assumes commutivity.
|
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
public void run(Stack stack) throws ParseException
run
in interface PostfixMathCommandI
run
in class Divide
ParseException
public Object div(Object param1, Object param2) throws ParseException
div
in class Divide
ParseException
public Object div(MatrixValueI param1, MatrixValueI param2) throws ParseException
ParseException
public Dimensions calcDim(Dimensions l, Dimensions r) throws ParseException
BinaryOperatorI
calcDim
in interface BinaryOperatorI
ParseException
public MatrixValueI calcValue(MatrixValueI res, MatrixValueI param1, MatrixValueI param2) throws ParseException
BinaryOperatorI
calcValue
in interface BinaryOperatorI
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics