Python Hermite Interpolation (not cubic spline interpolation)

794 Views Asked by At

I'm trying to implement various interpolation methods in python without using fancy libraries, such as scipy or numpy. I've managed to implement Lagrange interpolation both using Lagrange polynomial and Newton's polynomial. Now, I'm trying to implement Hermite interpolation, however, all resources no matter how I search take me to cubic spline interpolation, instead of a single hermite polynomial. Could someone provide me with a working solution for Hermite interpolation in any programming language, even with only first derivative, so that I can get familliar with the code and understand it, to be able to implement it myself in Python?

0

There are 0 best solutions below