Crates.io | rsl-interpolation |
lib.rs | rsl-interpolation |
version | 0.1.10 |
created_at | 2025-07-30 17:08:33.8964+00 |
updated_at | 2025-09-18 21:03:19.716174+00 |
description | A re-write of GSL's Interpolation Routines in Rust. |
homepage | |
repository | https://github.com/George-Tsiamasiotis/rsl-interpolation.git |
max_upload_size | |
id | 1773817 |
size | 275,499 |
A re-write of GSL's Interpolation
in Rust.
The crates documentation can be found here
See todo list.
Important
In 2d Interpolation, the
za
array must be defined in column-major (Fortran) style. This is done to comply with GSL's interface.
All of GSL's tests have been transferred in this crate.
Additionally, some extra tests have been added, with data computed directly from GSL, to cover untested
cases. These are located in src/tests/*.c
. Their output can be saved and graphed with the GNU plotutils graph
program.
GSL
must be installed.
For the plots to work, gnuplot
must be installed.
Example
make -C src/tests/c_gsl_tests akima # Compile and run akima.c. Data is stored in src/tests/out/akima.dat
make -C src/tests/c_gsl_tests akima_plot # Create akima.png graph
open src/tests/c_gsl_tests/plots/akima.png # Open the graph image
make -C src/tests/c_gsl_tests clean # Cleanup