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;

Copy and scale a strided vector: \(y \leftarrow \alpha x\).