Go to the source code of this file.
|
| | IdxAble |
| | Position-sorted indexable objects.
|
| |
|
| template<class T > |
| T | dePeriodize (T val, T period) |
| |
| template<class T , class RT > |
| void | IdxAble::interpolateYPeriodicReg (const T &idxabl, int sz, float pos, RT &ret, RT period, bool extrapolate=false) |
| |
| template<class T > |
| float | IdxAble::interpolateYPeriodicReg (const T &idxabl, int sz, float pos, float period, bool extrapolate=false) |
| |
| template<class T , class RT > |
| void | IdxAble::interpolateXPeriodicReg (const T &idxabl, int sz, float pos, RT &ret) |
| |
template<class T >
| T dePeriodize |
( |
T |
val, |
|
|
T |
period |
|
) |
| |
|
inline |
dePeriodize returns a periodic (defined by y(x) = y(x) + N * P) value's value in the functions first period (between 0 and P).