Skip to main content

Module cubic_lagrangian

Module cubic_lagrangian 

Source
Expand description

Tricubic Lagrange interpolation on a 3D rectilinear grid.

Structs§

CubicLagrangian3D
Separable 4-point (cubic) Lagrange interpolation: the 4×4×4 block of nodes nearest the query (two on each side, shifted at the boundary) is interpolated exactly by tricubic polynomials, so any polynomial of degree ≤ 3 in each coordinate is reproduced. Non-uniform axes are supported; the result is continuous but not C¹ across cells.