Skip to content

num::debug::fill_basis

Defined in header <algebra/debug.hpp>

template <class VectorType>
void fill_basis(VectorType &v, idx i);

Set v to a unit vector: \(v \leftarrow e_i\).