Subtracts one matrix from another.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static DoubleMatrix Subtract(
	DoubleMatrix A,
	DoubleMatrix B
)
Visual Basic (Declaration)
Public Shared Function Subtract ( _
	A As DoubleMatrix, _
	B As DoubleMatrix _
) As DoubleMatrix
Visual C++
public:
static DoubleMatrix^ Subtract(
	DoubleMatrix^ A, 
	DoubleMatrix^ B
)

Return Value

A matrix C where C[i,j] = A[i,j] - B[i,j].

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if A and B do not have the same dimensions.

See Also