slice();
slice(size_t st,
const valarray<size_t> len, const valarray<size_t> str);
The default constructor stores zeros for the starting index, total length, and stride. The second constructor stores st for
the starting index, len for the total length, and str for the stride.