![]() |
CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
|
#include "Headers/Prior.h"
Public Member Functions | |
| double | operator() (const std::vector< double > parameters) |
| double | log (const std::vector< double > parameter) |
| compute the logarithm of the prior for the input parameters More... | |
Constructors/destructors | |
| Prior () | |
| default constructor | |
| Prior (const Prior_function prior_function, const std::shared_ptr< void > prior_function_inputs) | |
| constructor More... | |
| ~Prior ()=default | |
| default destructor | |
Protected Attributes | |
| Prior_function | m_prior_function |
| prior function | |
| std::shared_ptr< void > | m_prior_function_inputs |
| inputs of the prior function | |
The class Prior.
This class is used to define the distribution
| cbl::statistics::Prior::Prior | ( | const Prior_function | prior_function, |
| const std::shared_ptr< void > | prior_function_inputs | ||
| ) |
| double cbl::statistics::Prior::log | ( | const std::vector< double > | parameter | ) |
| double cbl::statistics::Prior::operator() | ( | const std::vector< double > | parameters | ) |