9 unstable releases (3 breaking)
0.4.1 | Oct 12, 2023 |
---|---|
0.4.0 | Oct 3, 2023 |
0.3.2 | Sep 21, 2023 |
0.3.1 | Aug 29, 2023 |
0.1.1 | Jul 8, 2023 |
#297 in Math
3,188 downloads per month
Used in kneed_rs
83KB
2K
SLoC
ndarray-interp
A Interpolation crate for usage with the rust ndarray crate.
Features
- 1D-Interpolation of n-dimensional data along the first axis
- 2D-Interpolation of n-dimensional data along the first two axes
- Add your own Interpolation algorithms
- Interpolation of owned arrays and array views
- Interpolation at multiple points at once
Interpolation strategies
- Linear interpolation with, and without extrapolation
- Cubic spline interpolation Wikipedia
- Biliniar interpolation with, and without extrapolation Wikipedia
Planned Features
- More interpolation strategies
- rayon support
lib.rs
:
The ndarray-interp crate provides interpolation algorithms for interpolating n-dimesional data.
1D and 2D interpolation is supported. See the modules [interp1d] and [interp2d]
Custom interpolation strategy
This crate defines traits to allow implementation of user
defined interpolation algorithms.
see the custom_strategy.rs
example.
Dependencies
~1.6–2.1MB
~43K SLoC