Skip to content

num::identity_columns

Defined in header <linear/matrix_utils.hpp>

mat<real> identity_columns(idx size, idx first, idx count);

Construct columns of the identity matrix: \([e_f, \ldots, e_{f + c - 1}]\).