Click or drag to resize

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

Parameters

A  FloatCsrSparseMatrix
A sparse matrix.
B  FloatCsrSparseMatrix
A sparse matrix.
beta  Single
A scalar.

Return Value

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