Click or drag to resize
Matrix.Add 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:System.Double[,]
A double rectangular matrix.
b
Type:System.Double[,]
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