Click or drag to resize

SquareMatrixSubtraction Operator

Computes the difference of two square matrices.

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static SquareMatrix operator -(
	SquareMatrix A,
	SquareMatrix B
)

Parameters

A
Type: Meta.Numerics.MatricesSquareMatrix
The first matrix.
B
Type: Meta.Numerics.MatricesSquareMatrix
The second matrix.

Return Value

Type: SquareMatrix
The difference A - B.
Exceptions
ExceptionCondition
ArgumentNullExceptionA or B is .
DimensionMismatchExceptionThe dimension of A is not the same as the dimension of B.
Remarks

Matrix subtraction is an O(N2) process.

See Also