Skip to content

num::kernel::scale_copy_strided

Defined in header <kernel/vector.hpp>

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

Copies and scales strided vectors, \(y_i \leftarrow \alpha x_i\).