-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement linear interpolation function with GSL (#187)
* add GSL linear interpolation function * fix missing include * fix gsl test * add check for C contiguous array * switch from std::copy to std::transform for float case * add cspline interpolation placeholder and some restructuring * adjust naming, change type handling, remove cspline placeholder * rework buffer exceptions. allow y and y_interp to have non-contiguous first axes * update exceptions * fix typo --------- Co-authored-by: Michael McCrackan <mmccrack@login18.chn.perlmutter.nersc.gov> Co-authored-by: Michael McCrackan <mmccrack@login30.chn.perlmutter.nersc.gov>
- Loading branch information
1 parent
b665511
commit 78ef713
Showing
3 changed files
with
343 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters