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 DoubleComplexMatrix DenseProduct( DoubleComplexCsrSparseMatrix A, DoubleComplexCsrSparseMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function DenseProduct ( _ A As DoubleComplexCsrSparseMatrix, _ B As DoubleComplexCsrSparseMatrix _ ) As DoubleComplexMatrix |
| Visual C++ |
|---|
public: static DoubleComplexMatrix^ DenseProduct( DoubleComplexCsrSparseMatrix^ A, DoubleComplexCsrSparseMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleComplexCsrSparseMatrix
A sparse matrix in CSR format.
- B
- Type: CenterSpace.NMath.Matrix..::.DoubleComplexCsrSparseMatrix
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. |