11 #include <gsl/gsl_spline.h> 19 template <
typename T,
size_t N>
class Data_Vec;
102 template <
typename T,
size_t N>
121 template <
typename T,
size_t N>
128 const size_t m_u,
const size_t n_u);
131 void fit_lin(
const Data_Vec<T, N>& data,
const size_t m,
const size_t n,
double& A);
132 void fit_power_law(
const Data_Vec<T, N>& data,
const size_t m,
const size_t n,
double& A,
double&
n_s);
145 template <
typename T,
size_t N>
double growth_factor(double a, const Cosmo_Param &cosmo)
double non_lin_pow_spec(double a, double k, const Cosmo_Param &cosmo)
double lin_pow_spec(double a, double k, const Cosmo_Param &cosmo)
void gen_sigma_binned_gsl_qawf(const Sim_Param &sim, const P &P_k, Data_Vec< double, 2 > &sigma_binned)
compute amplitude of density fluctuation and store results
double growth_change(double a, const Cosmo_Param &cosmo)
: linear interpolation (Steffen) of data [x, y]
void gen_corr_func_binned_gsl_qawf(const Sim_Param &sim, const P &P_k, Data_Vec< double, 2 > &corr_func_binned)
compute correlation function and store results
: class storing simulation parameters
void norm_pwr(Cosmo_Param &cosmo)
declaration in class_data_vec.hpp
void gen_corr_func_binned_gsl_qawf_nl(const Sim_Param &sim, double a, Data_Vec< double, 2 > &corr_func_binned)
compute non-linear correlation function and store results
void gen_sigma_func_binned_gsl_qawf_nl(const Sim_Param &sim, double a, Data_Vec< double, 2 > &sigma_binned)
compute non-linear amplitude of density fluctuation and store results
void init(const Data_Vec< T, N > &data)
declaration in params.hpp
cosmological & CCL parameters
double Omega_lambda(double a, const Cosmo_Param &cosmo)
static CCL_BEGIN_DECLS double x[111][8]
double growth_rate(double a, const Cosmo_Param &cosmo)
void gen_corr_func_binned_gsl_qawf_lin(const Sim_Param &sim, double a, Data_Vec< double, 2 > &corr_func_binned)
compute linear correlation function and store results
double norm_growth_factor(const Cosmo_Param &cosmo)
when computing growth factor outside CCL range we need to normalize the growth factor; ...
single / double / long double definitions
double operator()(double x) const
void gen_sigma_func_binned_gsl_qawf_lin(const Sim_Param &sim, double a, Data_Vec< double, 2 > &sigma_binned)
compute linear amplitude of density fluctuation and store results