Matrix<T>.Unary Negation Operator
Negates a matrix.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A new matrix whose elements are equal to minus the corresponding element of matrix.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static Matrix<T> operator -(
Matrix<T> matrix
)
Parameters
Return Value
Matrix<T>A new matrix whose elements are equal to minus the corresponding element of matrix.
Exceptions
Argument | matrix is null. |