public class ElementMultiply extends Multiply implements NaryOperatorI
curNumberOfParameters, numberOfParameters
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.
|
java.lang.Object |
mul(MatrixValueI param1,
MatrixValueI param2) |
java.lang.Object |
mul(java.lang.Object param1,
java.lang.Object param2)
Multiply arguments element by element.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters
clone, equals, finalize, 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 java.lang.Object mul(java.lang.Object param1, java.lang.Object param2) throws ParseException
mul
in class Multiply
ParseException
public java.lang.Object mul(MatrixValueI param1, MatrixValueI param2) throws ParseException
ParseException
http://www.singularsys.com/jep Copyright © 2007 Singular Systems