Skip to main content

Module cubic_basis

Module cubic_basis 

Source
Expand description

Cardinal cubic basis interpolation on a rectilinear grid.

Structs§

CubicBasis2D
Tensor-product cardinal (Catmull-Rom family) cubic: the 1D cardinal interpolant of crate::one_d::cubic_basis is applied along y in four neighbouring rows and then along x to the four results. It touches a 4×4 neighbourhood, is C¹, exact for bilinear data, and tension in [0, 1] scales node slopes by 1 - tension (0 = Catmull-Rom).