Click or drag to resize

FloatCsrSparseMatrixAddition Operator

Adds two sparse matrices.

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

Parameters

A  FloatCsrSparseMatrix
A sparse matrix.
B  FloatCsrSparseMatrix
A sparse matrix.

Return Value

FloatCsrSparseMatrix
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