rustml::blas::cblas_dgemv [] [src]

pub unsafe extern fn cblas_dgemv(order: Order, transA: Transpose, m: c_int, n: c_int, alpha: c_double, a: *const c_double, lda: c_int, x: *const c_double, incx: c_int, beta: c_double, y: *mut c_double, incy: c_int)

Computes alpha * A * x + beta * y or alpha * A^T * x + beta * y and stores the result in y.

The parameter order specifies the memory layout of the matrix A. Matrices in rustml are stored in RowMajor order by default. If the parameter transA is set to Trans the transpose of A is used, otherwise A. The parameter m specifies the number of rows of A, n the number of columns, lda should be set to the number of columns of A.

For a high level interface you should use d_gemv in the module ops_inplace.