aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/interpolation_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* lib: utils: interpolation: Add bilinear interpolationMartin Braun2020-04-171-1/+69
| | | | | | This allows to treat a std::map<KeyType<std::map<KeyType, ValueType>> as a set of x-y coordinates, and bilinearly interpolate a z-value given four x/y pairs.
* uhd: math: Add interpolation.hppMartin Braun2020-04-071-0/+35
- Moves linear_interp from cal to utils - Moves the interp_mode enum class to interpolation.hpp - Adds three interpolation methods for maps: at_interpolate_1d(), at_nearest(), at_lin_interp() - Adds unit tests