15 #ifndef BORNAGAIN_CORE_PARAMETRIZATION_PARAMETERDISTRIBUTION_H
16 #define BORNAGAIN_CORE_PARAMETRIZATION_PARAMETERDISTRIBUTION_H
32 size_t nbr_samples,
double sigma_factor = 0.0,
36 size_t nbr_samples,
double xmin,
double xmax);
64 RealLimits getLimits()
const {
return m_limits; }
66 double getMinValue()
const {
return m_xmin; }
67 double getMaxValue()
const {
return m_xmax; }
71 std::unique_ptr<IDistribution1D> mP_distribution;
73 double m_sigma_factor;
74 std::vector<std::string> m_linked_par_names;
Defines class IParameterized.
Defines class ParameterSample.
Defines class RealLimits.
Interface for one-dimensional distributions.
Manages a local parameter pool, and a tree of child pools.
A parametric distribution function, for use with any model parameter.
ParameterDistribution & operator=(const ParameterDistribution &other)
Overload assignment operator.
size_t getNbrSamples() const
get number of samples for this distribution
double getSigmaFactor() const
get the sigma factor
std::vector< ParameterSample > generateSamples() const
generate list of sampled values with their weight
std::vector< std::string > getLinkedParameterNames() const
get list of linked parameter names
std::string getMainParameterName() const
get the main parameter's name
Limits for a real fit parameter.