From: Sheldon Hearn Date: 2012-08-13T21:22:34+09:00 Subject: [ruby-core:47147] Re: [ruby-trunk - Feature #6852] [].transpose should behave specially > A 3x0 matrix corresponds to [[], [], []], but there is no correspondence for a 0x3 matrix. So strictly speaking, `[[], [], []].transpose` has no valid answer, but returning `[]` is more useful than raising I believe. It would be interesting to see code that found returning [] to be useful. As in, code that expected to operate on the transposed result. To me, [[], [], []].transpose smells like division by zero, and because I can't imagine enjoying the result, I'm fine with an exception. Ciao, Sheldon.