BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DistributionCosine Class Reference

Cosine distribution. More...

+ Inheritance diagram for DistributionCosine:

Public Member Functions

 DistributionCosine (const std::vector< double > P)
 
 DistributionCosine (double mean, double sigma)
 
void accept (INodeVisitor *visitor) const final
 
DistributionCosineclone () const final
 
virtual std::vector< double > equidistantPoints (size_t nbr_samples, double sigma_factor, const RealLimits &limits=RealLimits()) const
 generate list of sample values
 
double getMean () const final
 
double getSigma () const
 
bool isDelta () const final
 
double probabilityDensity (double x) const final
 

Detailed Description

Cosine distribution.