Computes the sum of the transpose of one sparse matrix with another sparse matrix.
Performs the operation C = A' + 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 ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function TransposeAdd ( _ A As DoubleCsrSparseMatrix, _ B As DoubleCsrSparseMatrix _ ) As DoubleCsrSparseMatrix |
| Visual C++ |
|---|
public: static DoubleCsrSparseMatrix^ TransposeAdd( DoubleCsrSparseMatrix^ A, DoubleCsrSparseMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleCsrSparseMatrix
A sparse matrix.
- B
- Type: CenterSpace.NMath.Matrix..::.DoubleCsrSparseMatrix
A sparse matrix.