BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Uniform distribution function with half width hwhm.
Public Member Functions | |
DistributionGate () | |
DistributionGate (double min, double max) | |
DistributionGate (std::vector< double > P) | |
std::string | className () const final |
DistributionGate * | clone () const override |
std::vector< double > | equidistantPoints (size_t nbr_samples, double sigma_factor, const RealLimits &limits=RealLimits()) const override |
Returns list of sample values. More... | |
bool | isDelta () const override |
double | max () const |
double | mean () const override |
double | min () const |
std::vector< ParaMeta > | parDefs () const final |
double | probabilityDensity (double x) const override |
DistributionGate::DistributionGate | ( | std::vector< double > | P | ) |
DistributionGate::DistributionGate | ( | double | min, |
double | max | ||
) |
DistributionGate::DistributionGate | ( | ) |
|
final |
|
override |
|
override |
Returns list of sample values.
|
override |
double DistributionGate::max | ( | ) | const |
|
override |
double DistributionGate::min | ( | ) | const |
|
final |
|
override |