 | Matrix22DNegate Method |
Negates a matrix.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntaxpublic static Matrix22D Negate(
Matrix22D matrix
)
Public Shared Function Negate (
matrix As Matrix22D
) As Matrix22D
public:
static Matrix22D Negate(
Matrix22D matrix
)
static member Negate :
matrix : Matrix22D -> Matrix22D
Parameters
- matrix
- Type: DigitalRune.Mathematics.AlgebraMatrix22D
The matrix.
Return Value
Type:
Matrix22DThe negated matrix.
Remarks
Each element of the matrix is negated.
See Also