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

Description

Lorentz distribution with half width hwhm.

Inheritance diagram for DistributionLorentz:

Public Member Functions

 DistributionLorentz ()
 
 DistributionLorentz (double mean, double hwhm)
 
 DistributionLorentz (std::vector< double > P)
 
std::string className () const final
 
DistributionLorentzclone () 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 hwhm () const
 
bool isDelta () const override
 
double mean () const override
 
std::vector< ParaMeta > parDefs () const final
 
double probabilityDensity (double x) const override
 

Constructor & Destructor Documentation

◆ DistributionLorentz() [1/3]

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

◆ DistributionLorentz() [2/3]

DistributionLorentz::DistributionLorentz ( double  mean,
double  hwhm 
)

◆ DistributionLorentz() [3/3]

DistributionLorentz::DistributionLorentz ( )

Member Function Documentation

◆ className()

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

◆ clone()

DistributionLorentz* DistributionLorentz::clone ( ) const
override

◆ equidistantPoints()

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

generate list of sample values

◆ hwhm()

double DistributionLorentz::hwhm ( ) const

◆ isDelta()

bool DistributionLorentz::isDelta ( ) const
override

◆ mean()

double DistributionLorentz::mean ( ) const
override

◆ parDefs()

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

◆ probabilityDensity()

double DistributionLorentz::probabilityDensity ( double  x) const
override