public class MUMinus extends UMinus implements UnaryOperatorI
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
MUMinus() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Object |
umin(Object param1)
Negate an objects.
|
Tensor |
umin(Tensor lhs)
negate a tensor.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckNumberOfParameters, getNumberOfParameters, run, setCurNumberOfParameterspublic Dimensions calcDim(Dimensions ldim)
UnaryOperatorIcalcDim in interface UnaryOperatorIpublic MatrixValueI calcValue(MatrixValueI res, MatrixValueI lhs) throws ParseException
calcValue in interface UnaryOperatorIres - - results will be stored in this objectlhs - - the value to be negatedParseExceptionpublic Object umin(Object param1) throws ParseException
umin in class UMinusParseExceptionpublic MVector umin(MVector lhs) throws ParseException
ParseExceptionpublic Matrix umin(Matrix lhs) throws ParseException
ParseExceptionpublic Tensor umin(Tensor lhs) throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.