Matrix.Negate<T> Method

Negates a matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
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

ArgumentNullExceptionmatrix is null

See Also