Skip to content

num::kernel::axpy_strided

Defined in header <kernel/vector.hpp>

template <std::floating_point T>
void axpy_strided(T *y, idx incy, const T *x, idx incx, T alpha, idx n) noexcept;

Add a multiple of one strided vector to another (AXPY): \(y \leftarrow \alpha x + y\).