| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleCsrSparseMatrix Add(
DoubleCsrSparseMatrix A,
DoubleCsrSparseMatrix B
)
Public Shared Function Add (
A As DoubleCsrSparseMatrix,
B As DoubleCsrSparseMatrix
) As DoubleCsrSparseMatrix
public:
static DoubleCsrSparseMatrix^ Add(
DoubleCsrSparseMatrix^ A,
DoubleCsrSparseMatrix^ B
)
static member Add :
A : DoubleCsrSparseMatrix *
B : DoubleCsrSparseMatrix -> DoubleCsrSparseMatrix
Parameters
- A DoubleCsrSparseMatrix
- A sparse matrix.
- B DoubleCsrSparseMatrix
- A sparse matrix.
Return Value
DoubleCsrSparseMatrixSparse matrix representation of
A + BSee Also