Jump to content

Identity matrix: Difference between revisions

(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 3,200:
}</lang>
 
=={{header|Standard ML}}==
<lang Standard ML> val eye= fn n => List.tabulate( n, fn i => List.tabulate( n, fn j=> if j=i then 1.0 else 0.0));</lang>
=={{header|Stata}}==
=== Stata matrix ===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.