| DoubleCsrSparseMatrixTransposeAdd(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix, Double) 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleCsrSparseMatrix TransposeAdd(
DoubleCsrSparseMatrix A,
DoubleCsrSparseMatrix B,
double beta
)
Public Shared Function TransposeAdd (
A As DoubleCsrSparseMatrix,
B As DoubleCsrSparseMatrix,
beta As Double
) As DoubleCsrSparseMatrix
public:
static DoubleCsrSparseMatrix^ TransposeAdd(
DoubleCsrSparseMatrix^ A,
DoubleCsrSparseMatrix^ B,
double beta
)
static member TransposeAdd :
A : DoubleCsrSparseMatrix *
B : DoubleCsrSparseMatrix *
beta : float -> DoubleCsrSparseMatrix
Parameters
- A DoubleCsrSparseMatrix
- A sparse matrix.
- B DoubleCsrSparseMatrix
- A sparse matrix.
- beta Double
- A scalar.
Return Value
DoubleCsrSparseMatrixSparse matrix representation of
A' + beta*BSee Also