D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Matrix
/
Filename :
identity-c.yaml
back
Copy
--- !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