Click or drag to resize

DoubleMatrixAdd(DoubleMatrix, DoubleMatrix) Method

Adds two matrices.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix Add(
	DoubleMatrix A,
	DoubleMatrix B
)

Parameters

A  DoubleMatrix
A matrix.
B  DoubleMatrix
A matrix.

Return Value

DoubleMatrix
A matrix C where C[i,j] = A[i,j] + B[i,j].
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the two matrices do not have the same dimensions.
See Also