The mathematics behind interpolations

If you can read C++ (and Synfig beast), here is the starting point of the related code location: