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

#326 in Math

Download history 13/week @ 2024-01-05 24/week @ 2024-01-12 13/week @ 2024-02-09 61/week @ 2024-02-16 12/week @ 2024-02-23 4/week @ 2024-03-01 31/week @ 2024-03-08 12/week @ 2024-03-15 13/week @ 2024-03-22 29/week @ 2024-03-29 13/week @ 2024-04-05 32/week @ 2024-04-12 26/week @ 2024-04-19

100 downloads per month

MIT license

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.2MB
~45K SLoC