pub fn reshape_selection(
selection: Selection,
original_slice: &Slice,
reshaped_slice: &Slice,
) -> Result<Selection, ReshapeError>
Expand description
Maps a Selection
on a Slice
to a new Selection
that selects all
ranks in the reshaped Slice
that the original Selection
selected in the
original Slice