Click or drag to resize

FloatComplexCsrSparseMatrixAdd(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix, FloatComplex) 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 FloatComplexCsrSparseMatrix Add(
	FloatComplexCsrSparseMatrix A,
	FloatComplexCsrSparseMatrix B,
	FloatComplex beta
)

Parameters

A  FloatComplexCsrSparseMatrix
A sparse matrix.
B  FloatComplexCsrSparseMatrix
A sparse matrix.
beta  FloatComplex
A scalar.

Return Value

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