Click or drag to resize

NMathFunctionsProduct(DoubleSymCsrSparseMatrix, DoubleVector, DoubleVector) Method

Product of a symmetric sparse matrix in compressed row (CSR) format with a dense vector placing the result in the provided vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static void Product(
	DoubleSymCsrSparseMatrix A,
	DoubleVector x,
	DoubleVector y
)

Parameters

A  DoubleSymCsrSparseMatrix
Symmetric sparse matrix in compressed row format.
x  DoubleVector
A vector.
y  DoubleVector
On output contains the matrix-vector product.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of columns in A is not equal to the length of x or if length of y is not equal to the number of columns in A.
See Also