Matrix multiplication: Difference between revisions
Content added Content deleted
(→{{header|MATLAB}}: Matlab has built-in function for matrix multiplication, defining one is not neccessary.) |
(Added K Version) |
||
Line 1,279: | Line 1,279: | ||
<pre>-7,-6,11 |
<pre>-7,-6,11 |
||
-17,-20,25</pre> |
-17,-20,25</pre> |
||
=={{header|K}}== |
|||
<lang k> (1 2;3 4)_mul (5 6;7 8) |
|||
(19 22 |
|||
43 50)</lang> |
|||
=={{header|Lua}}== |
=={{header|Lua}}== |
||
<lang lua>function MatMul( m1, m2 ) |
<lang lua>function MatMul( m1, m2 ) |