org.lsmp.djep.matrixJep.function
Class MSum
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
org.lsmp.djep.xjep.function.SumType
org.lsmp.djep.xjep.function.Sum
org.lsmp.djep.matrixJep.function.MSum
- All Implemented Interfaces:
- NaryOperatorI, CallbackEvaluationI, PostfixMathCommandI
public class MSum
- extends Sum
- implements NaryOperatorI
- Author:
- Rich Morris
Created on 24-Apr-2005
| Fields inherited from class org.lsmp.djep.xjep.function.SumType |
name |
| Methods inherited from class org.lsmp.djep.xjep.function.Sum |
evaluate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSum
public MSum(JEP j)
- Parameters:
j -
calcDim
public Dimensions calcDim(Dimensions[] dims)
throws ParseException
- Description copied from interface:
NaryOperatorI
- Find the dimensions of this operator when applied to arguments with given dimensions.
- Specified by:
calcDim in interface NaryOperatorI
- Throws:
ParseException
calcValue
public MatrixValueI calcValue(MatrixValueI res,
MatrixValueI[] inputs)
throws ParseException
- Description copied from interface:
NaryOperatorI
- Calculates the value of this operator for given input with results stored in res.
res is returned.
- Specified by:
calcValue in interface NaryOperatorI
- Throws:
ParseException
Copyright © 2014. All rights reserved.