itertools::range::constructor¶
#include <itertools/range.hpp>
Synopsis
range () range (long first, long last) noexcept range (long first, long last, long step) range (long last)
Documentation
1) Default constructor
range() stands for the whole set of indices in the dimension (like : in python) Example: A(range(), 0) takes the first column of A2) Constructor
3) Constructor
4) Constructor
Parameters¶
- first: First index of the range
- last: End of the range (excluded)
- step: Step-size between two indices