A window over a periodic predicate, SQL's window function over ROWS BETWEEN CURRENT ROW AND w - 1 FOLLOWING: \(k \mapsto\) the step folded over \(f(k), \ldots, f(k + w - 1)\). A finite combination of translations, so periodic with the same period.
More...
|
|
using | Domain = Dom<F> |
|
using | Codomain = Acc |
template<detail_periodic::IsPeriodicPredicate F, std::semiregular Step, std::semiregular Acc>
struct dedekind::category::Rolling< F, Step, Acc >
A window over a periodic predicate, SQL's window function over ROWS BETWEEN CURRENT ROW AND w - 1 FOLLOWING: \(k \mapsto\) the step folded over \(f(k), \ldots, f(k + w - 1)\). A finite combination of translations, so periodic with the same period.
- Template Parameters
-
| F | the predicate. |
| Step | the fold. |
| Acc | its result. |
◆ operator()()
template<detail_periodic::IsPeriodicPredicate F, std::semiregular Step, std::semiregular Acc>
- Parameters
-
- Returns
- the window's fold at
k.
The documentation for this struct was generated from the following file: