template<typename F, typename T, typename I = unsigned long>
struct ExpandingRollAdopter;
|
This functor applies functor F to the data in an expanding rolling progression. The roll count and the step increment count are given to the constructor.
The result is a vector of T type values. The first roll_count items, in the result, will be NAN.
inline ExpandingRollAdopter(F &&functor, size_t roll_count, size_t increment_count = 1)
|
F: Functor type
T: Column data type
I: Index type
|