itertools::range::constructor

#include <itertools/range.hpp>

Synopsis

  1. range ()
  2. range (long first, long last) noexcept
  3. range (long first, long last, long step)
  4. 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 A

2) Constructor

3) Constructor

4) Constructor

Parameters

  • first: First index of the range

  • last: End of the range (excluded)

  • step: Step-size between two indices