Subtract two rectangular matrixs, a - b.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static double[,] Subtract(
	double[,] a,
	double[,] b
)
Visual Basic (Declaration)
Public Shared Function Subtract ( _
	a As Double(,), _
	b As Double(,) _
) As Double(,)
Visual C++
public:
static array<double,2>^ Subtract(
	array<double,2>^ a, 
	array<double,2>^ b
)

Parameters

a
Type: array< System..::.Double ,2>[,](,)[,]
A double rectangular matrix.
b
Type: array< System..::.Double ,2>[,](,)[,]
A double rectangular matrix.

Return Value

A double rectangular matrix representing the matrix difference of the two arguments.

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown when the matrices are not the same size

See Also