Method | Description | |
---|---|---|
ExponentialGenerator ( double rate ) : System |
Initializes a new instance of the ExponentialGenerator class.
|
|
ExponentialGenerator ( double rate, int seed ) : System |
Initializes a new instance of the ExponentialGenerator class.
|
|
Next ( ) : double |
Generate next random number
|
|
SetSeed ( int seed ) : void |
Set seed of the random numbers generator. Resets random numbers generator initializing it with specified seed value. |
public ExponentialGenerator ( double rate ) : System | ||
rate | double | Rate value. |
return | System |
public ExponentialGenerator ( double rate, int seed ) : System | ||
rate | double | Rate value (inverse mean). |
seed | int | Seed value to initialize random numbers generator. |
return | System |