|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
The window of a word from position offset, length letters long: its projection onto those positions, \(\pi_I\) for \(I =
\{\mathit{offset}, \ldots, \mathit{offset} + \mathit{length} - 1\}\), a factor of the word in the sense of combinatorics on words. Total: a window past the word's end is cut at it, so it is shorter.
More...
Public Member Functions | |
|
template<std::ranges::random_access_range W> requires std::semiregular<W> && std::constructible_from<W, std::ranges::iterator_t<const W>, std::ranges::iterator_t<const W>> | |
| constexpr W | operator() (const W &w) const |
| constexpr bool | operator== (const Window &) const =default |
Public Attributes | |
| N | offset |
| N | length |
The window of a word from position offset, length letters long: its projection onto those positions, \(\pi_I\) for \(I =
\{\mathit{offset}, \ldots, \mathit{offset} + \mathit{length} - 1\}\), a factor of the word in the sense of combinatorics on words. Total: a window past the word's end is cut at it, so it is shorter.
| N | the counts. |