public class MSum extends Sum implements NaryOperatorI
curNumberOfParameters, numberOfParameters
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)
Calculates the value of this operator for given input with results stored in res.
|
checkNumberOfParameters, evaluate, evaluate, run
checkStack, getNumberOfParameters, setCurNumberOfParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNumberOfParameters, getNumberOfParameters, run, setCurNumberOfParameters
public MSum(JEP j)
j
- public Dimensions calcDim(Dimensions[] dims) throws ParseException
NaryOperatorI
calcDim
in interface NaryOperatorI
ParseException
public MatrixValueI calcValue(MatrixValueI res, MatrixValueI[] inputs) throws ParseException
NaryOperatorI
calcValue
in interface NaryOperatorI
ParseException
http://www.singularsys.com/jep Copyright © 2007 Singular Systems