diff options
author | Arun Isaac | 2021-02-23 16:29:44 +0530 |
---|---|---|
committer | Arun Isaac | 2021-02-23 16:29:44 +0530 |
commit | b712756e74e3e3c101064bbefc1d062b73d11443 (patch) | |
tree | 92d8aca35291af75195a819b271515a9643a1f20 /include | |
parent | 25343d3723ae70690f056b0a501f5941892fbf93 (diff) | |
download | nsmc-b712756e74e3e3c101064bbefc1d062b73d11443.tar.gz nsmc-b712756e74e3e3c101064bbefc1d062b73d11443.tar.lz nsmc-b712756e74e3e3c101064bbefc1d062b73d11443.zip |
Implement the lower incomplete gamma function as a scheme wrapper.
With this change, the wrapper around the gsl lower incomplete gamma
function is directly in scheme. Earlier, there was one layer of
wrapping in C which needed to be wrapped again in scheme.
* include/utils.h (lower_incomplete_gamma): Delete function.
* src/utils.sc (lower-incomplete-gamma): Delete function.
* scm/extent-sampling/wrap.scm (lower-incomplete-gamma): New function.
Diffstat (limited to 'include')
-rw-r--r-- | include/utils.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/utils.h b/include/utils.h index e28ee91..5cec86c 100644 --- a/include/utils.h +++ b/include/utils.h @@ -10,7 +10,6 @@ double volume_of_ball (unsigned int dimension); double ln_volume_of_ball (unsigned int dimension); double surface_area_of_ball (unsigned int dimension); double ln_surface_area_of_ball (unsigned int dimension); -double lower_incomplete_gamma (double s, double x); double angle_between_vectors (const gsl_vector* x, const gsl_vector* y); double dot_product (const gsl_vector* x, const gsl_vector* y); |