#spline-interpolation #spline #interpolation #fitpack

rusty-fitpack

1D routines for spline interpolation and fitting

2 releases

0.1.2 Nov 18, 2023
0.1.1 Nov 17, 2023

#10 in #spline-interpolation

32 downloads per month

GPL-3.0 license

69KB
1.5K SLoC

Rusty FITPACK

Rusty FITPACK provides the 1D routines for spline interpolation and fitting in Rust. The functions are translated from the original Fortran77 code FITPACK by Paul Dierckx. This packages provides almost the same interface as the SciPy wrapper for FITPACK. In concrete terms, the package implements five functions, splrep, splev, splder and splev_uniform as well as splder_uniform.

Please read the Documentation

References

Based on algorithms described by Paul Dierckx in Ref [1-4]:

[1] P. Dierckx, "An algorithm for smoothing, differentiation and integration of experimental data using spline functions", J.Comp.Appl.Maths 1 (1975) 165-184.

[2] P. Dierckx, "A fast algorithm for smoothing data on a rectangular grid while using spline functions", SIAM J.Numer.Anal. 19 (1982) 1286-1304.

[3] P. Dierckx, "An improved algorithm for curve fitting with spline functions", report tw54, Dept. Computer Science,K.U. Leuven, 1981.

[4] P. Dierckx, "Curve and surface fitting with splines", Monographs on Numerical Analysis, Oxford University Press, 1993.

Dependencies

~1.5MB
~33K SLoC