Function extension of Array#transpose
Currently, Array#transpose doesn't transpose iliffe vector that
size of arrays in array are not same.
But iff the sequence of size is monotone nonincreasing, there is
1, 2, 3], [4, 5], [6.transpose
=> 1, 4, 6], [2, 5], [3
Attachment is monkey patch implementation by Ruby .
- Status changed from Open to Feedback
Interesting but do you have any use case?
Yusuke Endoh firstname.lastname@example.org
- Target version changed from 2.0.0 to 2.6
- Target version deleted (
Also available in: Atom