Strassen's algorithm: Difference between revisions

m
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 2<sup><small>n</small></sup> matrices.
<lang Phix>function strassen(sequence a, b)
integer l = length(a)
7,794

edits