From 25343d3723ae70690f056b0a501f5941892fbf93 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 23 Feb 2021 16:24:48 +0530 Subject: Provide test integrals. * include/integrands.h, src/integrands.sc: New files. --- include/integrands.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/integrands.h (limited to 'include') diff --git a/include/integrands.h b/include/integrands.h new file mode 100644 index 0000000..b4735a8 --- /dev/null +++ b/include/integrands.h @@ -0,0 +1,15 @@ +#ifndef INTEGRANDS_H +#define INTEGRANDS_H + +#include + +typedef struct { + double *coefficients; + int degree; +} polynomial_integrand_params; + +double polynomial_integrand (double r, const gsl_vector* x, void *params); +double gaussian_integrand (double r, const gsl_vector* x, void *params); +double x_coordinate_integrand (double r, const gsl_vector* x, void *params); + +#endif -- cgit v1.2.3