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