Returns a random real number from an exponential distribution
with rate lambda (λ).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static double Exp(
double lambda
)
Parameters
- lambda
- Type: SystemDouble
lambda the rate of the exponential distribution
Return Value
Type:
Doublea random real number from an exponential distribution with
rate
lambdaExceptions See Also