Skip to content

num::kernel::project_columns

Defined in header <kernel/dense.hpp>

template <std::floating_point T>
void project_columns(T *h, const T *V, idx ldv, const T *w, idx rows,
                     idx columns) noexcept;

Project a vector onto the columns of a basis: \(h \leftarrow V^T w\).