|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Describes a random distribution with
\[ \beta e^{-\beta X} \]
for a physical quantity of type Quantity. More...
#include <ExponentialDistribution.hpp>
Public Types | |
| typedef Quantity | value_type |
Public Member Functions | |
| ExponentialDistribution (value_type 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^{-\beta X}\] . More... | |
| void | setBeta (value_type const &beta) |
| Set parameter of exponential distribution \[ \beta e^{-\beta X}\] . More... | |
| template<class Generator > | |
| value_type | operator() (Generator &g) |
| Generate a random number distributed like \[ \beta e^{-\beta X}\] . More... | |
Describes a random distribution with
\[ \beta e^{-\beta X} \]
for a physical quantity of type Quantity.
| Quantity | is the type of the physical quantity. |
Definition at line 24 of file ExponentialDistribution.hpp.
|
inline |
Get parameter of exponential distribution
\[ \beta e^{-\beta X}\]
.
Definition at line 54 of file ExponentialDistribution.hpp.
|
inline |
Generate a random number distributed like
\[ \beta e^{-\beta X}\]
.
| Generator |
| g |
Definition at line 73 of file ExponentialDistribution.hpp.
|
inline |
Set parameter of exponential distribution
\[ \beta e^{-\beta X}\]
.
| vBeta |
Definition at line 62 of file ExponentialDistribution.hpp.