Skip to content

num::kernel::swap_rows

Defined in header <kernel/dense.hpp>

template <typename T>
void swap_rows(T *A, idx lda, idx r1, idx r2, idx n) noexcept;

Swap two rows: \(A_{r_1,:} \leftrightarrow A_{r_2,:}\).