Generates a number conforming to an exponential distribution.
Synopsis
Declared in <absl/random/exponential_distribution.h>
template<typename RealType = double>
class exponential_distribution;
Description
This is equivalent to the standard [rand.dist.pois.exp]distribution.
Types
Name |
Description |
The parameter set of the distribution. |
Type Aliases
Name |
Description |
The type of the values produced by the distribution. |
Member Functions
Name |
Description |
|
Constructors |
Returns the rate parameter. |
|
Returns the largest value the distribution can produce. |
|
Returns the smallest value the distribution can produce. |
|
Function call operators |
|
|
|
Resets the internal state of the distribution. |
Friends
Name |
Description |
Compares two distributions for inequality. |
|
Compares two distributions for equality. |
Created with MrDocs