1 #include <gsl/gsl_sf_bessel.h> 7 CTEST(spacing_tests, linear_spacing_simple) {
18 CTEST(spacing_tests, log_spacing_simple) {
29 CTEST(spacing_tests, linlog_spacing_simple) {
48 CTEST(spherical_bessel_tests, compare_gsl) {
55 dx = (xmax -
xmin) / (Nx - 1);
57 for (l=0; l < 15; ++
l) {
58 for (i=0; i < Nx; ++i) {
62 gsl_sf_bessel_jl(l, x),
#define CTEST(sname, tname)
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)
static CCL_BEGIN_DECLS double x[111][8]
#define ASSERT_DBL_NEAR_TOL(exp, real, tol)
#define ASSERT_NOT_NULL(real)