Click or drag to resize

DoubleComplexCsrSparseMatrixAdd(DoubleComplexCsrSparseMatrix, DoubleComplexCsrSparseMatrix, DoubleComplex) Method

Computes the some of a 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 DoubleComplexCsrSparseMatrix Add(
	DoubleComplexCsrSparseMatrix A,
	DoubleComplexCsrSparseMatrix B,
	DoubleComplex beta
)

Parameters

A  DoubleComplexCsrSparseMatrix
A sparse matrix.
B  DoubleComplexCsrSparseMatrix
A sparse matrix.
beta  DoubleComplex
A scalar.

Return Value

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