public class MatrixAdd extends NaryBinaryFunction implements MatrixFunctionI
curNumberOfParameters, name, NaN, numberOfParameters
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
add(java.lang.Object l,
java.lang.Object r) |
Dimensions |
calcDims(Dimensions... inDims)
Attempts to calculate the dimensions of a result of a PostfixMathCommand.
|
java.lang.Object |
eval(java.lang.Object l,
java.lang.Object r) |
checkNumberOfParameters, eval, run
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
public MatrixAdd(FieldI mfact)
mfact
- public java.lang.Object eval(java.lang.Object l, java.lang.Object r) throws EvaluationException
eval
in class NaryBinaryFunction
EvaluationException
public java.lang.Object add(java.lang.Object l, java.lang.Object r) throws EvaluationException
EvaluationException
public Dimensions calcDims(Dimensions... inDims) throws ParseException
MatrixFunctionI
calcDims
in interface MatrixFunctionI
inDims
- the dimensions of each argumentParseException
- if there is a parse errorCopyright © 2018 Singular Systems http://www.singularsys.com/jep