Click or drag to resize

NMathFunctionsProduct(FloatCsrSparseMatrix, FloatVector) Method

Product of a sparse matrix in compressed row (CSR) format with a dense vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatVector Product(
	FloatCsrSparseMatrix A,
	FloatVector x
)

Parameters

A  FloatCsrSparseMatrix
Sparse matrix in compressed row format.
x  FloatVector
A vector.

Return Value

FloatVector
The matrix-vector product.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of columns in A is not equal to the length of x.
See Also