Jump to content

Identity matrix: Difference between revisions

m
→‎{{header|Factor}}: update for new matrix vocabulary
m (→‎{{header|Factor}}: update for new matrix vocabulary)
Line 1,146:
 
=={{header|Factor}}==
{{works with|Factor|0.99 2020-07-03}}
<lang factor>USEUSING: math.matrices prettyprint ;
IN: scratchpad 6 identity-matrix .
 
IN: scratchpad 6 <identity-matrix> .</lang>
{{out}}
<pre>
{
{ 1 0 0 0 0 0 }
Line 1,155 ⟶ 1,159:
{ 0 0 0 0 1 0 }
{ 0 0 0 0 0 1 }
}</langpre>
 
=={{header|FBSL}}==
1,808

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.