gslice::gslice

gslice();
gslice(size_t st,
    const valarray<size_t> len, const valarray<size_t> str);

The default constructor stores zero for the starting index, and zero-length vectors for the length and stride vectors. The second constructor stores st for the starting index, len for the length vector, and str for the stride vector.