43 namespace statistics {
50 typedef std::function<double (
const std::vector<double> ,
const std::shared_ptr<void>)>
Prior_function;
92 Prior (
const Prior_function prior_function,
const std::shared_ptr<void> prior_function_inputs);
109 double operator () (
const std::vector<double> parameters);
119 double log (
const std::vector<double> parameter);
double operator()(const std::vector< double > parameters)
~Prior()=default
default destructor
std::shared_ptr< void > m_prior_function_inputs
inputs of the prior function
Prior_function m_prior_function
prior function
double log(const std::vector< double > parameter)
compute the logarithm of the prior for the input parameters
Prior()
default constructor
std::function< double(const std::vector< double >, const std::shared_ptr< void >)> Prior_function
definition of a function for computation of the Prior
The global namespace of the CosmoBolognaLib