Identity matrix: Difference between revisions
Add a "Try it" link
m (Add a "Works in" for example code) |
(Add a "Try it" link) |
||
Line 2:
Given a positive integer argument ''n'', '''identity matrix''' returns a ''n''×''n'' matrix with ones in the main diagonal and zeros elsewhere.
[https://ngn.bitbucket.io/k#eJyzNeWyNeSyNQAABlwBYg== Try it!]
<syntaxhighlight lang=text>
=5
|