[go: up one dir, main page]

daxpy

Function daxpy 

Source
pub unsafe fn daxpy(
    n: usize,
    alpha: f64,
    x: *const f64,
    incx: usize,
    y: *mut f64,
    incy: usize,
)
Expand description

Performs a SIMD-accelerated AXPY operation.

ยงArguments

  • n - The number of elements in vectors x and y.
  • alpha - The scalar multiplier alpha.
  • x - A raw constant pointer to the first element of vector x.
  • incx - The stride between consecutive elements of x.
  • y - A raw mutable pointer to the first element of vector y.
  • incy - The stride between consecutive elements of y.