Matrix multiplication: Difference between revisions

no edit summary
No edit summary
Line 1,689:
return c
}</lang>
 
=={{header|Futhark}}==
 
<lang Futhark>
fun main(x: [n][m]int, y: [m][p]int): [n][p]int =
map (fn xr => map (fn yc => reduce (+) 0 (zipWith (*) xr yc))
(transpose y))
x
</lang>
 
=={{header|GAP}}==
Anonymous user