Negates a matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> Negate<T>(
Matrix<T> matrix
)
Public Shared Function Negate(Of T) (
matrix As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ Negate(
Matrix<T>^ matrix
)
static member Negate :
matrix : Matrix<'T> -> Matrix<'T>
Parameters
- matrix
- Type: Extreme.MathematicsMatrixT
A matrix.
Type Parameters
- T
Return Value
Type:
MatrixTA matrix whose elements
are equal to minus the corresponding element of
matrix.
Reference