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

Uniform distribution function with half width hwhm. More...

+ Inheritance diagram for DistributionGate:

Public Member Functions

 DistributionGate (const std::vector< double > P)
 
 DistributionGate (double min, double max)
 
void accept (INodeVisitor *visitor) const final
 
DistributionGateclone () const final
 
virtual std::vector< double > equidistantPoints (size_t nbr_samples, double sigma_factor, const RealLimits &limits=RealLimits()) const
 Returns list of sample values.
 
double getMean () const final
 
bool isDelta () const final
 
double lowerBound () const
 
double probabilityDensity (double x) const final
 
double upperBound () const
 

Detailed Description

Uniform distribution function with half width hwhm.