rustml::blas::cblas_daxpy [] [src]

pub unsafe extern fn cblas_daxpy(n: c_int, alpha: c_double, x: *const c_double, incx: c_int, y: *mut c_double, incy: c_int)

Computes alpha * x + y and stores the result in y.

The paramters alpha is a scalar of type f64 and x and y are vectors with elements of type f64. The parameter n specifies the number of elements in x and y. The parameters incx and incy specify the increments between the elements in vector x and y respectively.

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