BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
DistributionGaussian Class Reference

Description

Gaussian distribution with standard deviation std_dev.

Inheritance diagram for DistributionGaussian:

Public Member Functions

 DistributionGaussian ()
 
 DistributionGaussian (double mean, double std_dev)
 
 DistributionGaussian (std::vector< double > P)
 
std::string className () const final
 
DistributionGaussianclone () const override
 
std::vector< double > equidistantPoints (size_t nbr_samples, double sigma_factor, const RealLimits &limits=RealLimits()) const override
 generate list of sample values More...
 
double getStdDev () const
 
bool isDelta () const override
 
double mean () const override
 
std::vector< ParaMeta > parDefs () const final
 
double probabilityDensity (double x) const override
 

Constructor & Destructor Documentation

◆ DistributionGaussian() [1/3]

DistributionGaussian::DistributionGaussian ( std::vector< double >  P)

◆ DistributionGaussian() [2/3]

DistributionGaussian::DistributionGaussian ( double  mean,
double  std_dev 
)

◆ DistributionGaussian() [3/3]

DistributionGaussian::DistributionGaussian ( )

Member Function Documentation

◆ className()

std::string DistributionGaussian::className ( ) const
final

◆ clone()

DistributionGaussian* DistributionGaussian::clone ( ) const
override

◆ equidistantPoints()

std::vector<double> DistributionGaussian::equidistantPoints ( size_t  nbr_samples,
double  sigma_factor,
const RealLimits limits = RealLimits() 
) const
override

generate list of sample values

◆ getStdDev()

double DistributionGaussian::getStdDev ( ) const

◆ isDelta()

bool DistributionGaussian::isDelta ( ) const
override

◆ mean()

double DistributionGaussian::mean ( ) const
override

◆ parDefs()

std::vector<ParaMeta> DistributionGaussian::parDefs ( ) const
final

◆ probabilityDensity()

double DistributionGaussian::probabilityDensity ( double  x) const
override