Fast Cubic Spline Interpolation

01/25/2020
by   Haysn Hornbeck, et al.
0

The Numerical Recipes series of books are a useful resource, but all the algorithms they contain cannot be used within open-source projects. In this paper we develop drop-in alternatives to the two algorithms they present for cubic spline interpolation, showing as much of our work as possible to allow for replication or criticsm. The output of the new algorithms is compared to the old, and found to be no different within the limits imposed by floating-point precision. Benchmarks of all these algorithms, plus variations which may run faster in certain instances, are performed. In general, all these algorithms have approximately the same execution time when interpolating curves with few control points on feature-rich Intel processors; as the number of control points increases or processor features are removed, the new algorithms become consistently faster than the old. Exceptions to that generalization are explored to create implementation guidelines, such as when to expect division to be faster than multiplication.

READ FULL TEXT
research
12/15/2020

Quartic L^p-convergence of cubic Riemannian splines

We prove quartic convergence of cubic spline interpolation for curves in...
research
12/30/2021

Fast algorithms for interpolation with L-splines for differential operators L of order 4 with constant coefficients

In the classical theory of cubic interpolation splines there exists an a...
research
02/13/2022

Optimal lofted B-spline surface interpolation based on serial closed contours

Modern shape design and capture techniques often lead to the geometric d...
research
02/23/2021

Monotone cubic spline interpolation for functions with a strong gradient

Spline interpolation has been used in several applications due to its fa...
research
07/14/2022

Efficient Interpolation-based Pathline Tracing with B-spline Curves in Particle Dataset

Particle tracing through numerical integration is a well-known approach ...
research
09/23/2019

Implementation of Goldschmidt's Algorithm with hardware reduction

Division algorithms have been developed to reduce latency and to improve...
research
07/22/2020

Solving Schrödinger's equation by B-spline collocation

B-spline collocation techniques have been applied to Schrödinger's equat...

Please sign up or login with your details

Forgot password? Click here to reset