Go to the documentation of this file.
118 #ifndef distributionModels_exponential_H
119 #define distributionModels_exponential_H
127 namespace distributionModels
136 public distributionModel
159 virtual autoPtr<distributionModel>
clone()
const
161 return autoPtr<distributionModel>(
new exponential(*
this));
175 virtual scalar
sample()
const;
virtual scalar sample() const
Sample the distribution.
exponential(const dictionary &dict, Random &rndGen)
Construct from components.
A library of runtime-selectable doubly-truncated probability distribution models. Returns random samp...
virtual autoPtr< distributionModel > clone() const
Construct and return a clone.
TypeName("exponential")
Runtime type information.
virtual ~exponential()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual scalar meanValue() const
Return the theoretical mean of the distribution.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void operator=(const exponential &)=delete
No copy assignment.
Particle-size distribution model wherein random samples are drawn from the doubly-truncated exponenti...