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

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static DoubleHermCsrSparseMatrix Add(
	DoubleHermCsrSparseMatrix A,
	DoubleHermCsrSparseMatrix B
)
Visual Basic (Declaration)
Public Shared Function Add ( _
	A As DoubleHermCsrSparseMatrix, _
	B As DoubleHermCsrSparseMatrix _
) As DoubleHermCsrSparseMatrix
Visual C++
public:
static DoubleHermCsrSparseMatrix^ Add(
	DoubleHermCsrSparseMatrix^ A, 
	DoubleHermCsrSparseMatrix^ B
)

Parameters

A
Type: CenterSpace.NMath.Matrix..::.DoubleHermCsrSparseMatrix
A Hermitian sparse matrix.
B
Type: CenterSpace.NMath.Matrix..::.DoubleHermCsrSparseMatrix
A Hermitian sparse matrix.

Return Value

Sparse matrix representation of A + B

See Also