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

Description

Log-normal distribution.

Inheritance diagram for DistributionLogNormal:

Public Member Functions

 DistributionLogNormal (double median, double scale_param)
 
 DistributionLogNormal (std::vector< double > P)
 
std::string className () const final
 
DistributionLogNormalclone () 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 getMedian () const
 
double getScalePar () const
 
bool isDelta () const override
 
double mean () const override
 
std::vector< ParaMeta > parDefs () const final
 
double probabilityDensity (double x) const override
 

Friends

class DistributionsTest_DistributionLogNormalParameters_Test
 

Constructor & Destructor Documentation

◆ DistributionLogNormal() [1/2]

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

◆ DistributionLogNormal() [2/2]

DistributionLogNormal::DistributionLogNormal ( double  median,
double  scale_param 
)

Member Function Documentation

◆ className()

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

◆ clone()

DistributionLogNormal* DistributionLogNormal::clone ( ) const
override

◆ equidistantPoints()

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

generate list of sample values

◆ getMedian()

double DistributionLogNormal::getMedian ( ) const

◆ getScalePar()

double DistributionLogNormal::getScalePar ( ) const

◆ isDelta()

bool DistributionLogNormal::isDelta ( ) const
override

◆ mean()

double DistributionLogNormal::mean ( ) const
override

◆ parDefs()

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

◆ probabilityDensity()

double DistributionLogNormal::probabilityDensity ( double  x) const
override

Friends And Related Function Documentation

◆ DistributionsTest_DistributionLogNormalParameters_Test

friend class DistributionsTest_DistributionLogNormalParameters_Test
friend