Skip to content

num::identity

Defined in header <linear/matrix_utils.hpp>

mat<real> identity(idx size);

Construct the square identity matrix of the requested size.