Skip to main content

Module cubic_basis

Module cubic_basis 

Source
Expand description

Cardinal cubic basis interpolation on an N-dimensional grid.

Structs§

CubicBasisND
Tensor-product cardinal (Catmull-Rom family) cubic in N dimensions: along the last axis the 1D cardinal interpolant is evaluated at the 4 neighbouring lines of the next axis, and so on recursively, touching a 4^N neighbourhood. C¹, exact for multi-affine data; tension in [0, 1] scales node slopes by 1 - tension (0 is Catmull-Rom).