Function navtk::drop_range
Defined in File transform.hpp
Function Documentation
-
AutoType navtk::drop_range(Size start_val, Size stop_val, Size step = 1)
Create a non-contiguous slice that excludes the given range of indices, to be used as a parameter to
xt::view.Ranges are in the form
start_val <= idx < stop_val.- Parameters
start_val – the first index to be dropped
stop_val – the index after the last to be dropped
step – increment between indices, defaults to 1 which includes every index in the given range.
- Returns
An
xt::droppre-loaded with indices in the given range.