Rearranging and Restructuring Lists
These functions reorder and rearrange lists.
- Catenate — catenate elements from a list of lists
- Complement — find the complement with respect to a universal set
- DeleteDuplicates — delete duplicate elements in a list
- Flatten — flatten out any sequence of levels in a nested list
- Gather — gather sublists of identical elements
- GatherBy — gather based on values of a function applied to elements
- Intersection — enumerate common elements
- Join — join lists together at any level
- PadLeft — pad out by the left a ragged array to make a matrix
- PadRight — pad out by the right a ragged array to make a matrix
- Partition — partition a list into sublists of a given length
- Reverse — reverse a list at any level
- Riffle — intersperse additional elements
- RotateLeft — cyclically rotate lists to the left, at any depth
- RotateRight — cyclically rotate lists to the right, at any depth
- Split — split into runs of identical elements
- SplitBy — split based on values of a function applied to elements
- Tally — tally all distinct elements in a list
- Union — enumerate all distinct elements in a list