| NMathFunctionsDenseProduct(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix) Method |
Matrix inner product of two sparse matrices in compressed row (CSR) format. Result is
a dense matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleMatrix DenseProduct(
DoubleCsrSparseMatrix A,
DoubleCsrSparseMatrix B
)
Public Shared Function DenseProduct (
A As DoubleCsrSparseMatrix,
B As DoubleCsrSparseMatrix
) As DoubleMatrix
public:
static DoubleMatrix^ DenseProduct(
DoubleCsrSparseMatrix^ A,
DoubleCsrSparseMatrix^ B
)
static member DenseProduct :
A : DoubleCsrSparseMatrix *
B : DoubleCsrSparseMatrix -> DoubleMatrix
Parameters
- A DoubleCsrSparseMatrix
- A sparse matrix in CSR format.
- B DoubleCsrSparseMatrix
- A sparse matrix in CSR format.
Return Value
DoubleMatrixThe matrix inner product of
A and
B as a dense matrix.
Exceptions Exception | Condition |
---|
MismatchedSizeException | Thrown if the number of columns in A
is not equal to the number of rows in B. |
See Also