Actions
Feature #5145
closedFunction extension of Array#transpose
Status:
Feedback
Assignee:
-
Target version:
-
Description
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
natural transposition.
[[1, 2, 3], [4, 5], [6]].transpose
=> [[1, 4, 6], [2, 5], [3]]
Attachment is monkey patch implementation by Ruby .
Files
Actions
Like0
Like0Like0Like0