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 .
Actions #1 [ruby-core:43699]
Updated by mame (Yusuke Endoh) about 11 years ago
- Status changed from Open to Feedback
Interesting but do you have any use case?
Yusuke Endoh firstname.lastname@example.org
Actions #2 [ruby-core:48278]
Updated by yhara (Yutaka HARA) over 10 years ago
- Target version changed from 2.0.0 to 2.6
Updated by naruse (Yui NARUSE) over 5 years ago
- Target version deleted (