Click or drag to resize

DoubleHermCsrSparseMatrixAdd(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix, DoubleComplex) Method

Computes the some of a Hermitian sparse matrix with the scalar multiple of another. Performs the operation C = A + beta*B where C[i,j] = A[i,j] + beta*B[i,j].

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleHermCsrSparseMatrix Add(
	DoubleHermCsrSparseMatrix A,
	DoubleHermCsrSparseMatrix B,
	DoubleComplex beta
)

Parameters

A  DoubleHermCsrSparseMatrix
A Hermitian sparse matrix.
B  DoubleHermCsrSparseMatrix
A Hermitian sparse matrix.
beta  DoubleComplex
A scalar.

Return Value

DoubleHermCsrSparseMatrix
Sparse matrix representation of A + beta*B
See Also