Source: https://www.grenoble-sciences.fr/pap-ebook/grivet/sites/grivet/files/exercices/ch4/ch4ex11_interpolation_de_hermite.pdf