num::identity¶ Defined in header <linear/matrix_utils.hpp> mat<real> identity(idx size); Construct the identity matrix: \(I_n\).