DOE OSTI · code-148017
ninterp: N-dimensional interpolation Rust crate [SWR-25-25]
Abstract
The ninterp crate provides multivariate interpolation over a regular, sorted, nonrepeating grid of any dimensionality. A variety of interpolation strategies are implemented, however more are likely to be added. Extrapolation beyond the range of the supplied coordinates is supported for 1-D linear interpolators, using the slope of the nearby points. There are hard-coded interpolators for lower dimensionalities (up to N = 3) for better runtime performance. All interpolation is handled through instances of the Interpolator enum, with the selected tuple variant containing relevant data. Interpolation is executed by calling Interpolator::interpolate.
Keep this discovery
Explore connections, maps & timelines
Carow, Kyle, Steuteville, Robin. 2024-11-25. ninterp: N-dimensional interpolation Rust crate [SWR-25-25]. https://doi.org/10.11578/dc.20241211.1
Cite the original work for its findings. Save a collection to share your selection of sources.