Click or drag to resize

FloatCsrSparseMatrixTransposeAdd(FloatCsrSparseMatrix, FloatCsrSparseMatrix, Single) Method

Computes the sum of the transpose of one sparse matrix with a scalar multiple another sparse matrix. Performs the operation C = A' + beta*B, where ' denotes transpose and C[i,j] = A[j,i] + B[i,j].

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatCsrSparseMatrix TransposeAdd(
	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