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