Skip to content
  • Mark OLESEN's avatar
    ENH: new sliceRange class · c25a40dd
    Mark OLESEN authored
    - this is somewhat like labelRange, but with a stride.
      Can be used to define slices (of lists, fields, ..) or as a range specifier
      for a for-loop. For example,
    
          for (label i : sliceRange(0, 10, 3))
          {
              ...
          }
    c25a40dd