40 #ifndef unintegrableForNonZeroQ_H
41 #define unintegrableForNonZeroQ_H
49 namespace distributions
96 virtual scalar
sample()
const;
106 const bool consistent =
false
label q() const
Return the effective distribution size exponent.
Base class for distributions that have a closed integral form for the cumulative density function (CD...
virtual tmp< scalarField > Phi(const label q, const scalarField &x) const
Return values of the un-normalised CDF for the given size exponent.
virtual tmp< scalarField > integralPDFxPow(const scalarField &x, const label e, const bool consistent=false) const
Return the integral of the PDF multiplied by an integer power of x.
virtual scalar sample() const
Sample the distribution.
virtual Pair< scalar > Phi01(const label q) const
Access cached values of the un-normalised CDF at the minimum and.
virtual tmp< scalarField > PhiForZeroQ(const scalarField &x) const =0
Return values of the un-normalised CDF for zero effective size.
virtual scalar sampleForZeroQ() const =0
Sample the distribution.
Base class for distributions that do not have a closed integral form for the cumulative density funct...
unintegrable(const word &name, const unitConversion &units, const dictionary &dict, const label sampleQ, randomGenerator &&rndGen)
Construct from a dictionary.
const Pair< scalar > & Phi01() const
Access cached values of the un-normalised CDF at the minimum and.
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.