Differences

This shows you the differences between the selected revision and the current version of the page.

at:tutorial:basic 2020/02/09 22:03 at:tutorial:basic 2020/02/09 22:05 current
Line 230: Line 230:
>> 21 >> 21
</code> </code>
 +
Line 265: Line 266:
>c >c
>>[[1, 2, 3], [0, 0, 0], [0, 0, 0]] >>[[1, 2, 3], [0, 0, 0], [0, 0, 0]]
->def d := makeMatrix(4,4, { |i,j| if: (i == j) then: {1} else: {0}});+>def d := makeMatrix(4,4,  
 +  {|i,j| if: (i == j) then: {1} else: {0}});
>> [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]] >> [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]
</code> </code>
 
 
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki