![]() |
CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
|
The namespace of the distribution modelling More...
Classes | |
struct | STR_Distr_model |
the structure STR_Distr_model More... | |
class | Modelling_Distribution |
The class Modelling_Distribution. More... | |
Functions | |
std::vector< double > | model_gaussian (const std::vector< double > x, const std::shared_ptr< void > inputs, std::vector< double > ¶meter) |
compute a Gaussian PDF More... | |
std::vector< double > | model_gaussian2 (const std::vector< double > x, const std::shared_ptr< void > inputs, std::vector< double > ¶meter) |
compute a Gaussian PDF, where the standard deviation, \(\sigma\), is expressed as More... | |
The namespace of the distribution modelling
The modelling::distribution namespace contains all the functions to model distributions
std::vector< double > cbl::modelling::distribution::model_gaussian | ( | const std::vector< double > | x, |
const std::shared_ptr< void > | inputs, | ||
std::vector< double > & | parameter | ||
) |
compute a Gaussian PDF
x | the points where the distribution is evaluated |
inputs | model inputs |
parameter | model parameters |
Definition at line 105 of file Modelling_Distribution.cpp.
std::vector< double > cbl::modelling::distribution::model_gaussian2 | ( | const std::vector< double > | x, |
const std::shared_ptr< void > | inputs, | ||
std::vector< double > & | parameter | ||
) |
compute a Gaussian PDF, where the standard deviation, \(\sigma\), is expressed as
\(\sigma=\sigma_0k,\)
where \(k\) is fixed, \(\sigma_0\) is a base parameter, and \(\sigma\) is a derived parameter.
x | the points where the distribution is evaluated |
inputs | model inputs |
parameter | model parameters |
Definition at line 122 of file Modelling_Distribution.cpp.