diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/integrands.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 <gsl/gsl_vector.h> + +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 |