You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a sequence c_1, c_2, ..., c_n, ... which are outputs of a (possibly infinite) iterator. The windows(c, k) should return an iterator with first entry [c_1, c_2, ..., c_k], second entry [c_2, c_3, ..., c_{k+1}] and so on.
Given a sequence
c_1, c_2, ..., c_n, ...
which are outputs of a (possibly infinite) iterator. Thewindows(c, k)
should return an iterator with first entry[c_1, c_2, ..., c_k]
, second entry[c_2, c_3, ..., c_{k+1}]
and so on.The name is from a common technique called sliding window, mentioned here https://en.cppreference.com/w/cpp/ranges/slide_view .
The text was updated successfully, but these errors were encountered: