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