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