Strassen's algorithm: Difference between revisions
m
→{{header|Phix}}: 2^n
m (→{{header|Phix}}: added a zero padding comment) |
m (→{{header|Phix}}: 2^n) |
||
Line 35:
=={{header|Phix}}==
As noted on wp, you could pad with zeroes, and strip them on exit, instead of crashing for non-square 2<sup><small>n</small></sup> matrices.
<lang Phix>function strassen(sequence a, b)
integer l = length(a)
|