Click or drag to resize

DoubleSymCsrSparseMatrixAdd(DoubleSymCsrSparseMatrix, DoubleSymCsrSparseMatrix, Double) Method

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

Parameters

A  DoubleSymCsrSparseMatrix
A symmetric sparse matrix.
B  DoubleSymCsrSparseMatrix
A symmetric sparse matrix.
beta  Double
A scalar.

Return Value

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