Click or drag to resize

NMathFunctionsProduct(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix) Method

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

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

Parameters

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

Return Value

DoubleCsrSparseMatrix
The matrix inner product of A and B in CSR format.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of columns in A is not equal to the number of rows in B.
See Also