2 #ifndef __CCL_UTILS_H_INCLUDED__ 3 #define __CCL_UTILS_H_INCLUDED__ 5 #include <gsl/gsl_spline.h> 7 #define CCL_MIN(a, b) (((a) < (b)) ? (a) : (b)) 8 #define CCL_MAX(a, b) (((a) > (b)) ? (a) : (b))
double ccl_j_bessel(int l, double x)
double * ccl_log_spacing(double xmin, double xmax, int N)
double * ccl_linlog_spacing(double xminlog, double xmin, double xmax, int Nlin, int Nlog)
CCL_BEGIN_DECLS double * ccl_linear_spacing(double xmin, double xmax, int N)
double ccl_spline_eval(double x, SplPar *spl)
static CCL_BEGIN_DECLS double x[111][8]
gsl_interp_accel * intacc
void ccl_spline_free(SplPar *spl)
SplPar * ccl_spline_init(int n, double *x, double *y, double y0, double yf)