A half-open index range [start, end) along one dimension.
A default Slice selects the whole dimension; Slice(k) selects [k, dim). A negative start or end counts from the end of the dimension (-1 is the last index). Slicing is dense-only and never copies.
#include <batchlas/blas/matrix.hh>
|
inline |
|
inline |
|
inline |
|
default |
The whole dimension.
| int64_t batchlas::Slice::start = std::numeric_limits<int64_t>::min() |