Click or drag to resize

DoubleCsrSparseMatrixAddition Operator

Adds two sparse matrices.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleCsrSparseMatrix operator +(
	DoubleCsrSparseMatrix A,
	DoubleCsrSparseMatrix B
)

Parameters

A  DoubleCsrSparseMatrix
A sparse matrix.
B  DoubleCsrSparseMatrix
A sparse matrix.

Return Value

DoubleCsrSparseMatrix
A sparse 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