Skip to content

num::kernel::copy

Defined in header <kernel/vector.hpp>

template <typename T>
void copy(T *y, const T *x, idx n) noexcept;

Copies a vector, \(y_i \leftarrow x_i\).