Click or drag to resize

NMathFunctionsDenseProduct(FloatCsrSparseMatrix, FloatCsrSparseMatrix) 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 FloatMatrix DenseProduct(
	FloatCsrSparseMatrix A,
	FloatCsrSparseMatrix B
)

Parameters

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

Return Value

FloatMatrix
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