Click or drag to resize

FloatSymCsrSparseMatrixAdd(FloatSymCsrSparseMatrix, FloatSymCsrSparseMatrix, Single) 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 FloatSymCsrSparseMatrix Add(
	FloatSymCsrSparseMatrix A,
	FloatSymCsrSparseMatrix B,
	float beta
)

Parameters

A  FloatSymCsrSparseMatrix
A symmetric sparse matrix.
B  FloatSymCsrSparseMatrix
A symmetric sparse matrix.
beta  Single
A scalar.

Return Value

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