Jump to content

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)
7,806

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.