Click or drag to resize
DigitalRuneMatrixDSubtraction Operator
Subtracts two matrices.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static MatrixD operator -(
	MatrixD minuend,
	MatrixD subtrahend
)

Parameters

minuend
Type: DigitalRune.Mathematics.AlgebraMatrixD
The first matrix (minuend).
subtrahend
Type: DigitalRune.Mathematics.AlgebraMatrixD
The second matrix (subtrahend).

Return Value

Type: MatrixD
The difference of the two matrices.
Exceptions
ExceptionCondition
ArgumentNullExceptionminuend or subtrahend is .
ArgumentException The numbers of rows or columns of the matrices do not match.
See Also