sliceColumns

Slices the specified range of columns from each row of a two-dimensional list.

Return

A new list containing sublists with columns sliced from the input range.

Parameters

range

The range of column indices to slice from each row.


Selects specific columns from a two-dimensional list of rectangles. The method slices each inner list based on the provided column indices.

Return

A new two-dimensional list of rectangles with only the selected columns.

Parameters

indices

The collection of column indices to retain in each inner list.