|
CORSIKA8
0.0.0
The framework to simulate particle cascades for astroparticle physics
|
Public Types | |
| typedef Quantity | value_type |
Public Member Functions | |
| ExponentialDistribution (value_type const &beta) | |
| ExponentialDistribution (ExponentialDistribution< value_type > const &other) | |
| ExponentialDistribution< value_type > & | operator= (ExponentialDistribution< value_type > const &other) |
| value_type | getBeta () const |
| Get parameter of exponential distribution \[ \beta e^{-X}\] . More... | |
| void | setBeta (value_type const &beta) |
| Set parameter of exponential distribution \[ \beta e^{-X}\] . More... | |
| template<class Generator > | |
| value_type | operator() (Generator &g) |
| Generate a random number distributed like \[ \beta e^{-X}\] . More... | |
Definition at line 17 of file ExponentialDistribution.hpp.
|
inline |
Get parameter of exponential distribution
\[ \beta e^{-X}\]
.
Definition at line 47 of file ExponentialDistribution.hpp.
|
inline |
Generate a random number distributed like
\[ \beta e^{-X}\]
.
| Generator |
| g |
Definition at line 70 of file ExponentialDistribution.hpp.
|
inline |
Set parameter of exponential distribution
\[ \beta e^{-X}\]
.
| vBeta |
Definition at line 57 of file ExponentialDistribution.hpp.