Parameters

transa

Specifies whether to perform the operation with A or the transpose of A. Must be one of CblasNoTrans or CblasTrans.

alpha

Scalar multiplier of A.

A

The sparse matrix, A.

x

Pointer to the dense vector x. The dimension must be the number of columns of the matrix A when transa is no transpose or the number of rows of the matrix A when transa is transpose. The behavior of this function is undefined if this is not met. Negative strides are supported. Note, unlike dense BLAS routines, the pointer points to the last element when stride is negative.

incx

Increment between valid values in the dense vector x. Negative strides are supported.

y

Pointer to the dense vector y. The dimension must be the number of rows of the matrix A when transa is no transpose or the number of columns of the matrix A when transa is transpose. The behavior of this function is undefined if this is not met. Negative strides are supported. Note, unlike dense BLAS routines, the pointer points to the last element when stride is negative.

incy

Increment between valid values in the dense vector y. Negative strides are supported.

Return Value

Discussion

Multiplies the dense vector x by the sparse matrix A and adds the result to the dense vector y (y = alpha * op(A) * x + y, where op(A) is either A or the transpose of A).If the desired operation is y = A * x, then an efficient option is to create the y buffer of zeros and then perform the operation with the zero filled y.

Computes the sum along the specified diagonal of the single-precision sparse matrix A.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.