itertools
Classes
iterator_facade<Iter,Value,std::forward_iterator_tag,Reference,Difference> |
CRTP base class for various iterator types in itertools. |
Generic sentinel type that can be used to mark the end of a range. |
|
Iterator for an itertools::enumerated range. |
|
Represents an enumerated range. |
|
Iterator for a itertools::multiplied (cartesian product) range. |
|
Represents a cartesian product of ranges. |
|
A lazy range of integers that mimics a Python range. |
|
Represents a sliced range. |
|
Iterator for a itertools::strided range. |
|
Represents a strided range. |
|
Iterator for a itertools::transformed range. |
|
Represents a transformed range. |
|
Iterator for a itertools::zipped range. |
|
Represents a zipped range. |
Functions
Create an itertools::sentinel_t from an iterator using template type deduction. |
|
Lazy-enumerate a given range (similar to Python’s enumerate). |
|
Lazy-multiply a given number of ranges by forming their cartesian product. |
|
Create a cartesian product range from an array of ranges. |
|
Create a cartesian product range of integer ranges from given integers. |
|
Apply a function to every element of an integer itertools::range. |
|
Calculate the distance between two iterators. |
|
Create a vector from a range. |
|
Given an integer range [first, last), divide it as equally as possible into N chunks. |
|
Lazy-slice a given range. |
|
Lazy-stride through a given range. |
|
Lazy-transform a given range by applying a unary callable object to every element of the original range. |
|
Lazy-zip ranges together (similar to Python’s zip). |