Click or drag to resize
MatrixAdd Method
Add two rectangular matrixs, a + b.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double[,] Add(
	double[,] a,
	double[,] b
)

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
ExceptionCondition
ArgumentException is thrown when the matrices are not the same size
See Also