Function linear¶
function linear(M, T, T) math¶
template <typename T, typename M>
KFR_FUNCTION T linear(M mu, T x1, T x2) Linear interpolation.
| T | sample (value) type, also the return type. |
| M | interpolation-parameter type. |
| mu | interpolation parameter; values outside [0, 1] extrapolate. |
| x1 | value at mu == 0. |
| x2 | value at mu == 1. |
the linearly interpolated value between x1 and x2. |
Fully qualified name: kfr::linear(M, T, T)
Declared at math/interpolation.hpp:67
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.