Click or drag to resize

NMathFunctionsProduct(DoubleCsrSparseMatrix, DoubleVector) 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 DoubleVector Product(
	DoubleCsrSparseMatrix A,
	DoubleVector x
)

Parameters

A  DoubleCsrSparseMatrix
Sparse matrix in compressed row format.
x  DoubleVector
A vector.

Return Value

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