Add two rectangular matrixs, a + b.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double[,] Add(
double[,] a,
double[,] b
)
Public Shared Function Add (
a As Double(,),
b As Double(,)
) As Double(,)
public:
static array<double,2>^ Add(
array<double,2>^ a,
array<double,2>^ b
)
static member Add :
a : float[,] *
b : float[,] -> float[,]
Parameters
- a
- Type: SystemDouble
A double rectangular matrix.
- b
- Type: SystemDouble
A double rectangular matrix.
Return Value
Type:
Double
A
double rectangular matrix representing the matrix sum of the
two arguments.
Exceptions Exception | Condition |
---|
ArgumentException |
is thrown when the matrices are not the same size
|
See Also