Probabilities.BoseEinsteinPDF Method

Overload List

#SignatureDescription
1procedure BoseEinsteinPDF(const X: TDenseMtxVec; Mu: Double; S: Double; const Res: TDenseMtxVec);Bose-Einstein PDF (vectorized).
2function BoseEinsteinPDF(x: Double; Mu: Double; s: Double): Double;Bose-Einstein occupation function (PDF form).

Overload 1: procedure BoseEinsteinPDF(const X: TDenseMtxVec; Mu: Double; S: Double; const Res: TDenseMtxVec);

Bose-Einstein PDF (vectorized).

#NameTypeDescription
1XTDenseMtxVec
2MuDoublescalar
3SDoublescalar
4ResTDenseMtxVec

Result: stored in self (calling object)

Overload 2: function BoseEinsteinPDF(x: Double; Mu: Double; s: Double): Double;

Bose-Einstein occupation function (PDF form).

#NameDescription
1xFunction domain, real value (physically x>Mu for a positive occupation).
2MuLocation (chemical-potential) parameter, real value.
3sShape parameter, real value.

Returns: Double - the Bose-Einstein occupation value at x for the given Mu and s. The result is +INF / NAN at the pole x=Mu and is negative for x<Mu (it is NOT a normalized probability density).

Remarks:

Computes the Bose-Einstein statistical weight that arises in the study of integer-spin particles (bosons):

f(x|mu,s)=x^s/(exp(x-mu)-1)

This is the physics occupation form, not a normalized PMF; no parameter validation is performed, so invalid inputs propagate INF/NaN through the elementary operations (in particular the denominator vanishes at x=mu).

See Also: Probabilities.FermiDiracPDF, Probabilities.BoseEinsteinCDF