Represents a BLAS-like slice out of an array. It specifies a starting index, a length and a stride. Used by stdext::term to construct a stdext::impl::slice_term.
Public Member Functions | |
std::size_t | size () const |
Returns the length of the slice. | |
slice (std::size_t start, std::size_t size, std::size_t stride) | |
Constructs a slice that selects start, start + stride ... [size times]. | |
slice () | |
Constructs a slice that selects nothing. | |
std::size_t | start () const |
Returns the start index of the slice. | |
std::size_t | stride () const |
Returns the stride of the slice. |