Source: http://www.lmpa.univ-littoral.fr/~fromentin/teaching/2019/m1rech/imao/3-splines.pdf