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.
|
Object |
mul(MatrixValueI param1,
MatrixValueI param2) |
Object |
mul(Object param1,
Object param2)
Multiply arguments element by element.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckNumberOfParameters, getNumberOfParameters, run, setCurNumberOfParameterspublic Dimensions calcDim(Dimensions[] dims) throws ParseException
NaryOperatorIcalcDim in interface NaryOperatorIParseExceptionpublic MatrixValueI calcValue(MatrixValueI res, MatrixValueI[] inputs) throws ParseException
calcValue in interface NaryOperatorIParseExceptionpublic Object mul(Object param1, Object param2) throws ParseException
mul in class MultiplyParseExceptionpublic Object mul(MatrixValueI param1, MatrixValueI param2) throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.