1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Interpolation toolkit, one scheme per file — the single home for
//! every interpolation in the library (curves, smiles, surfaces) and a
//! standalone toolkit in its own right.
//!
//! **1-D:**
//! - [`linear`]: piecewise linear with flat extrapolation — the pillar
//! bracketing used by discount curves and smile interpolation;
//! - [`cubic_spline`]: C2 cubic splines with **Natural**, **Clamped**
//! and **Not-a-Knot** boundary conditions;
//! - [`pchip`]: Fritsch-Carlson monotone cubic Hermite (PCHIP) —
//! shape-preserving, no overshoot on monotone data (the safe choice
//! for zero curves and CDF-like data);
//! - [`akima`]: Akima's spline — local, outlier-robust slopes with far
//! less oscillation than a global cubic fit.
//!
//! **2-D (volatility grids):**
//! - [`bilinear`]: rectangular-grid bilinear interpolation with flat
//! extrapolation;
//! - [`thin_plate`]: bivariate thin-plate spline (RBF) on scattered
//! points, with optional smoothing — for irregular vol quote grids.
//!
//! Related: [`linalg`](crate::core::linalg) holds the nearest-correlation
//! projection (Higham) used to repair empirical correlation surfaces.
pub use Akima;
pub use BilinearGrid;
pub use ;
pub use ;
pub use Pchip;
pub use ThinPlateSpline;