Template Function icrar::range(IntType, IntType, IntType)

Function Documentation

template<typename IntType>
std::vector<IntType> icrar::range(IntType start, IntType stop, IntType step)

returns a linear sequence of values from start at step sized intervals to the stop value inclusive

Template Parameters:

IntType – integer type

Parameters:
  • start – start index

  • stop – exclusive end inex

  • step – increment between generated elements

Returns:

std::vector<IntType>