Click or drag to resize

DoubleCsrSparseMatrixAdd(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix) Method

Compute the sum of two sparse matrices. Performs the operation C = A + B, where C[i,j] = A[i,j] + B[i,j].

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

Parameters

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

Return Value

DoubleCsrSparseMatrix
Sparse matrix representation of A + B
See Also