Lagrange, Newton, Interpolation, Python, Mathematics.
options. It all depends on what exactly you need to do. In terms of the algorithm complexity, both algorithms run on O(n²) time but Newton’s method need extra O(n²) for space. Have fun interpolating! References Chapra, S. C., & Canale, R. P. (2015). Numerical Methods for Engineers (7th ed.). New