Matrix multiplication: Difference between revisions

m (→‎{{header|AppleScript}}: Updated primitives)
Line 1,999:
 
=={{header|Haskell}}==
===With List and transpose===
 
A somewhat inefficient version with lists (''transpose'' is expensive):
 
Line 2,011:
[3, 4]] `mmult` [[-3, -8, 3],
[-2, 1, 4]]</lang>
===With Array===
 
A more efficient version, based on arrays:
 
678

edits