|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nfunk.jep.function.PostfixMathCommand
org.nfunk.jep.function.UMinus
org.lsmp.djep.vectorJep.function.MUMinus
An extension of the Subtract command to allow it to add MVector's and Matrix's.
Field Summary |
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
curNumberOfParameters, numberOfParameters |
Constructor Summary | |
MUMinus()
|
Method Summary | |
Dimensions |
calcDim(Dimensions ldim)
Find the dimensions of this operator when applied to arguments with given dimensions. |
MatrixValueI |
calcValue(MatrixValueI res,
MatrixValueI lhs)
calculates the value. |
Matrix |
umin(Matrix lhs)
negate a matrix. |
MVector |
umin(MVector lhs)
negate a vector. |
java.lang.Object |
umin(java.lang.Object param1)
Negate an objects. |
Tensor |
umin(Tensor lhs)
negate a tensor. |
Methods inherited from class org.nfunk.jep.function.UMinus |
run |
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
checkStack, getNumberOfParameters, setCurNumberOfParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nfunk.jep.function.PostfixMathCommandI |
getNumberOfParameters, run, setCurNumberOfParameters |
Constructor Detail |
public MUMinus()
Method Detail |
public Dimensions calcDim(Dimensions ldim)
UnaryOperatorI
calcDim
in interface UnaryOperatorI
public MatrixValueI calcValue(MatrixValueI res, MatrixValueI lhs) throws ParseException
calcValue
in interface UnaryOperatorI
res
- - results will be stored in this objectlhs
- - lhs value
ParseException
public java.lang.Object umin(java.lang.Object param1) throws ParseException
umin
in class UMinus
ParseException
public MVector umin(MVector lhs) throws ParseException
ParseException
public Matrix umin(Matrix lhs) throws ParseException
ParseException
public Tensor umin(Tensor lhs) throws ParseException
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |