aboutsummaryrefslogtreecommitdiff
path: root/include/integrands.h
blob: b4735a8a00e54e577926a7ccbc6d20e92299790d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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