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.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleCsrSparseMatrix TransposeAdd( DoubleCsrSparseMatrix A, DoubleCsrSparseMatrix B, double beta ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function TransposeAdd ( _ A As DoubleCsrSparseMatrix, _ B As DoubleCsrSparseMatrix, _ beta As Double _ ) As DoubleCsrSparseMatrix |
| Visual C++ |
|---|
public: static DoubleCsrSparseMatrix^ TransposeAdd( DoubleCsrSparseMatrix^ A, DoubleCsrSparseMatrix^ B, double beta ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleCsrSparseMatrix
A sparse matrix.
- B
- Type: CenterSpace.NMath.Matrix..::.DoubleCsrSparseMatrix
A sparse matrix.
- beta
- Type: System..::.Double
A scalar.