--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates an <tt>n</tt> by <tt>n</tt> identity matrix. - !ruby/struct:SM::Flow::VERB body: " Matrix.identity(2)\n => 1 0\n 0 1\n" full_name: Matrix::identity is_singleton: true name: identity params: (n) visibility: public