Matrix inner product of two sparse matrices in compressed row (CSR) format. Result is
a dense matrix.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleMatrix DenseProduct( DoubleCsrSparseMatrix A, DoubleCsrSparseMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function DenseProduct ( _ A As DoubleCsrSparseMatrix, _ B As DoubleCsrSparseMatrix _ ) As DoubleMatrix |
| Visual C++ |
|---|
public: static DoubleMatrix^ DenseProduct( DoubleCsrSparseMatrix^ A, DoubleCsrSparseMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleCsrSparseMatrix
A sparse matrix in CSR format.
- B
- Type: CenterSpace.NMath.Matrix..::.DoubleCsrSparseMatrix
A sparse matrix in CSR format.
Return Value
The matrix inner product of A and B as a dense matrix.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the number of columns in A is not equal to the number of rows in B. |