yl is -1, which I don't think is expected, causing all the "last" indices to be lower than the "first" indices. But having investigated thus far I'm not sure whether I did something wrong, maybe to do ...
A Rust reimplementation of Matlab's interp1 function for linear interpolation. API documentation is available on docs.rs. Pull requests are welcome. For major changes, please open an issue first to ...