Add two rectangular matrixs, a + b.
Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double[,] Add( double[,] a, double[,] b ) |
Visual Basic (Declaration) |
---|
Public Shared Function Add ( _ a As Double(,), _ b As Double(,) _ ) As Double(,) |
Visual C++ |
---|
public: static array<double,2>^ Add( 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 sum of the two arguments.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | is thrown when the matrices are not the same size |