| DoubleComplexCsrSparseMatrixAdd(DoubleComplexCsrSparseMatrix, DoubleComplexCsrSparseMatrix) 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 DoubleComplexCsrSparseMatrix Add(
DoubleComplexCsrSparseMatrix A,
DoubleComplexCsrSparseMatrix B
)
Public Shared Function Add (
A As DoubleComplexCsrSparseMatrix,
B As DoubleComplexCsrSparseMatrix
) As DoubleComplexCsrSparseMatrix
public:
static DoubleComplexCsrSparseMatrix^ Add(
DoubleComplexCsrSparseMatrix^ A,
DoubleComplexCsrSparseMatrix^ B
)
static member Add :
A : DoubleComplexCsrSparseMatrix *
B : DoubleComplexCsrSparseMatrix -> DoubleComplexCsrSparseMatrix
Parameters
- A DoubleComplexCsrSparseMatrix
- A sparse matrix.
- B DoubleComplexCsrSparseMatrix
- A sparse matrix.
Return Value
DoubleComplexCsrSparseMatrixSparse matrix representation of
A + BSee Also