public class ElementMultiply extends Multiply implements NaryOperatorI
Constructor and Description |
---|
ElementMultiply() |
Modifier and Type | Method and Description |
---|---|
Dimensions |
calcDim(Dimensions[] dims)
Find the dimensions of this operator when applied to arguments with given dimensions.
|
MatrixValueI |
calcValue(MatrixValueI res,
MatrixValueI[] inputs)
Multiply the inputs element by element putting the results in res.
|
Object |
mul(MatrixValueI param1,
MatrixValueI param2) |
Object |
mul(Object param1,
Object param2)
Multiply arguments element by element.
|
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNumberOfParameters, getNumberOfParameters, run, setCurNumberOfParameters
public Dimensions calcDim(Dimensions[] dims) throws ParseException
NaryOperatorI
calcDim
in interface NaryOperatorI
ParseException
public MatrixValueI calcValue(MatrixValueI res, MatrixValueI[] inputs) throws ParseException
calcValue
in interface NaryOperatorI
ParseException
public Object mul(Object param1, Object param2) throws ParseException
mul
in class Multiply
ParseException
public Object mul(MatrixValueI param1, MatrixValueI param2) throws ParseException
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics