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.
|
java.lang.Object |
umin(java.lang.Object param1)
Negate an objects.
|
Tensor |
umin(Tensor lhs)
negate a tensor.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNumberOfParameters, getNumberOfParameters, run, setCurNumberOfParameters
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
- - the value to be negatedParseException
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
http://www.singularsys.com/jep Copyright © 2007 Singular Systems