Click or drag to resize

NMathFunctionsDenseProduct(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix) Method

Matrix inner product of two sparse matrices in compressed row (CSR) format. Result is a dense matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix DenseProduct(
	DoubleCsrSparseMatrix A,
	DoubleCsrSparseMatrix B
)

Parameters

A  DoubleCsrSparseMatrix
A sparse matrix in CSR format.
B  DoubleCsrSparseMatrix
A sparse matrix in CSR format.

Return Value

DoubleMatrix
The matrix inner product of A and B as a dense matrix.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of columns in A is not equal to the number of rows in B.
See Also