Function

SparseMultiply(_:_:_:_:)

Performs the multiply operation y = alpha * Ax on a vector of single-precision, floating-point values.

Declaration

func SparseMultiply(_ alpha: Float, _ A: SparseMatrix_Float, _ x: DenseVector_Float, _ y: DenseVector_Float)

Parameters

alpha

The alpha in y = alpha * Ax.

A

The matrix to multiply by.

x

The vector x.

y

The vector y.

See Also

Multiplication Functions

func SparseMultiply(SparseMatrix_Double, DenseVector_Double, DenseVector_Double)

Performs the multiplication y = Ax on a vector of double-precision, floating-point values.

func SparseMultiply(SparseMatrix_Float, DenseVector_Float, DenseVector_Float)

Performs the multiplication y = Ax on a vector of single-precision, floating-point values.

func SparseMultiply(Double, SparseMatrix_Double, DenseVector_Double, DenseVector_Double)

Performs the multiply operation y = alpha * Ax on a vector of double-precision, floating-point values.