Anonymous user
Matrix multiplication: Difference between revisions
→{{header|Elixir}}
m (→{{header|J}}) |
|||
Line 1,442:
Enum.map m1, fn (x) -> Enum.map t(m2), fn (y) -> Enum.zip(x, y)
|> Enum.map(fn {x, y} -> x * y end)
|> Enum.
end
end
|