| DoubleSymCsrSparseMatrixAdd(DoubleSymCsrSparseMatrix, DoubleSymCsrSparseMatrix) Method |
Compute the sum of two symmetric 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 DoubleSymCsrSparseMatrix Add(
DoubleSymCsrSparseMatrix A,
DoubleSymCsrSparseMatrix B
)
Public Shared Function Add (
A As DoubleSymCsrSparseMatrix,
B As DoubleSymCsrSparseMatrix
) As DoubleSymCsrSparseMatrix
public:
static DoubleSymCsrSparseMatrix^ Add(
DoubleSymCsrSparseMatrix^ A,
DoubleSymCsrSparseMatrix^ B
)
static member Add :
A : DoubleSymCsrSparseMatrix *
B : DoubleSymCsrSparseMatrix -> DoubleSymCsrSparseMatrix
Parameters
- A DoubleSymCsrSparseMatrix
- A symmetric sparse matrix.
- B DoubleSymCsrSparseMatrix
- A symmetric sparse matrix.
Return Value
DoubleSymCsrSparseMatrixSparse matrix representation of
A + BSee Also