Matrix multiplication: Difference between revisions
Content added Content deleted
m (added whitespace before the TOC (table of contents).) |
m (→{{header|Nim}}) |
||
Line 2,667: | Line 2,667: | ||
result.add "])" |
result.add "])" |
||
proc `*`[M,N |
proc `*`[M,P,N](a: Matrix[M,P]; b: Matrix[P,N]): Matrix[M,N] = |
||
for i in result.low .. result.high: |
for i in result.low .. result.high: |
||
for j in result[0].low .. result[0].high: |
for j in result[0].low .. result[0].high: |