Skip to main content

Module one_d

Module one_d 

Source
Expand description

One-dimensional interpolation.

Modules§

aaa
AAA rational approximation (Nakatsukasa, Sète and Trefethen, 2018) for real data.
akima
Akima interpolation: a locally determined piecewise cubic that avoids the wiggles of a global spline.
b_spline
B-splines of any degree, following scipy.interpolate: the BSpline type (evaluation, derivatives, antiderivatives and integrals), interpolating splines with a choice of end conditions (make_interp_spline), least-squares splines on given knots (make_lsq_spline) and parametric interpolating curves (make_interp_curve).
bpoly
Piecewise polynomials in the Bernstein basis, following SciPy’s BPoly: evaluation by de Casteljau’s algorithm, derivatives, antiderivatives and integrals, conversion to and from the power basis, and construction from derivatives at the breakpoints (BPoly.from_derivatives).
bulirsch_stoer
Bulirsch-Stoer rational function interpolation.
chebyshev_approximations
Chebyshev approximation of a function on an interval.
cubic_basis
Cubic basis (cardinal / Catmull-Rom) interpolation.
fitpack
Smoothing splines with automatically placed knots, after Dierckx’s FITPACK (curfit and parcur), following SciPy’s make_splrep, make_splprep and generate_knots.
floater_hormann
Floater-Hormann rational interpolation (barycentric, no poles on the real line).
fourier_1d
Trigonometric (Fourier) interpolation of uniformly sampled periodic data.
hermite
Shared piecewise cubic Hermite machinery used by PCHIP, Akima and the cubic basis interpolators.
krogh
Krogh’s interpolating polynomial through values and derivatives (SciPy’s KroghInterpolator): a node repeated s + 1 times carries the value and the first s derivatives there. The polynomial is kept in Newton form, whose coefficients are confluent divided differences.
lagrange_interpolant
Lagrange interpolation in barycentric form (second form, O(n) per evaluation).
linear_interpolator
natural_cubic_spline_interpolator
pade_approximants
Padé approximants built from Taylor series coefficients.
pchip
Piecewise cubic Hermite interpolating polynomial (PCHIP), after Fritsch and Carlson.
polynomial_interpolator
ppoly
Piecewise polynomials in the power basis, following SciPy’s PPoly: evaluation, derivatives, antiderivatives, definite integrals and real roots, with constructors from cubic Hermite data (CubicHermiteSpline) and from B-splines (PPoly.from_spline).
pronys_method
Prony’s method: fit uniformly sampled data with a sum of complex exponentials.
savitzky_golay
Savitzky-Golay smoothing and differentiation by local polynomial least squares.
smoothing_spline
The cubic smoothing spline (SciPy’s make_smoothing_spline): the function g minimising