List of ndarray index modes.
Return an index given an index mode.
Test if an input value is a supported ndarray index mode.
Restrict an index to the interval [0,max].
Restrict a double-precision floating-point number to a specified range.