Matrix<T>.UnaryNegation Operator

Negates a matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Matrix<T> operator -(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A matrix.

Return Value

Matrix<T>
A new matrix whose elements are equal to minus the corresponding element of matrix.

Exceptions

ArgumentNullExceptionmatrix is null

See Also