diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-08-31 10:33:24 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-08-31 10:33:24 -0500 |
commit | 83119fe9bb0c9c2a70ea5397aca9968bde7ffa07 (patch) | |
tree | fbe13f58f3630f31e36fa8722ff41b7570f019c8 /src/misc.h | |
parent | f213df199092781b50115db9fae5afbbbd9b2551 (diff) | |
download | sddm-83119fe9bb0c9c2a70ea5397aca9968bde7ffa07.tar.gz sddm-83119fe9bb0c9c2a70ea5397aca9968bde7ffa07.tar.bz2 sddm-83119fe9bb0c9c2a70ea5397aca9968bde7ffa07.zip |
add interp1d function to do fast interpolation when the x values are evenly spaced
Diffstat (limited to 'src/misc.h')
-rw-r--r-- | src/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include <stdlib.h> /* for size_t */ +double interp1d(double x, double *xp, double *yp, size_t n); int isclose(double a, double b, double rel_tol, double abs_tol); int allclose(double *a, double *b, size_t n, double rel_tol, double abs_tol); double logsumexp(double *a, size_t n); |