Function cubic¶
function cubic(M, T, T, T, T) math¶
template <typename T, typename M>
KFR_FUNCTION T cubic(M mu, T x0, T x1, T x2, T x3) Cubic interpolation.
| T | sample (value) type, also the return type. |
| M | interpolation-parameter type. |
| mu | interpolation parameter in the range [0, 1]. |
| x0 | control point preceding x1 (used to shape the start tangent). |
| x1 | value at mu == 0. |
| x2 | value at mu == 1. |
| x3 | control point following x2 (used to shape the end tangent). |
the cubic-interpolated value at mu. |
Fully qualified name: kfr::cubic(M, T, T, T, T)
Declared at math/interpolation.hpp:111
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.