tmp/tmpe6pt8fcn/{from.md → to.md}
RENAMED
|
@@ -2,13 +2,11 @@
|
|
| 2 |
|
| 3 |
A `gamma_distribution` random number distribution produces random
|
| 4 |
numbers x > 0 distributed according to the probability density function
|
| 5 |
$$%
|
| 6 |
p(x\,|\,\alpha,\beta)
|
| 7 |
-
= {
|
| 8 |
-
\over {\beta^{\alpha} \cdot \Gamma(\alpha)}
|
| 9 |
-
}
|
| 10 |
\, \cdot \, x^{\, \alpha-1}
|
| 11 |
\; \mbox{.}$$
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
template<class RealType = double>
|
|
|
|
| 2 |
|
| 3 |
A `gamma_distribution` random number distribution produces random
|
| 4 |
numbers x > 0 distributed according to the probability density function
|
| 5 |
$$%
|
| 6 |
p(x\,|\,\alpha,\beta)
|
| 7 |
+
= \frac{e^{-x/\beta}}{\beta^{\alpha} \cdot \Gamma(\alpha)}
|
|
|
|
|
|
|
| 8 |
\, \cdot \, x^{\, \alpha-1}
|
| 9 |
\; \mbox{.}$$
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
template<class RealType = double>
|