50 #include "distribution.H"
56 namespace distributions
106 virtual scalar
sample()
const;
112 virtual scalar
min()
const;
115 virtual scalar
max()
const;
118 virtual scalar
mean()
const;
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
autoPtr< distribution > clone() const
Construct and return a clone.
Distribution which always takes a specified fixed value.
virtual scalar min() const
Return the minimum value.
TypeName("fixedValue")
Runtime type information.
virtual scalar sample() const
Sample the distribution.
virtual tmp< scalarField > PDF(const scalarField &x) const
Return the distribution probability density function.
virtual ~fixedValue()
Destructor.
virtual tmp< scalarField > x(const label n) const
Return coordinates to plot across the range of the distribution.
fixedValue(const dictionary &dict, Random &rndGen, const label sampleQ)
Construct from a dictionary.
virtual scalar max() const
Return the maximum value.
virtual scalar mean() const
Return the mean value.
A class for managing temporary objects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.