Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure BoseEinsteinPDF(const X: TDenseMtxVec; Mu: Double; S: Double; const Res: TDenseMtxVec); | Bose-Einstein PDF (vectorized). |
| 2 | function 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).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TDenseMtxVec | |
| 2 | Mu | Double | scalar |
| 3 | S | Double | scalar |
| 4 | Res | TDenseMtxVec |
Result: stored in self (calling object)
Overload 2: function BoseEinsteinPDF(x: Double; Mu: Double; s: Double): Double;
Bose-Einstein occupation function (PDF form).
| # | Name | Description |
|---|---|---|
| 1 | x | Function domain, real value (physically x>Mu for a positive occupation). |
| 2 | Mu | Location (chemical-potential) parameter, real value. |
| 3 | s | Shape 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).