Exponential random numbers generator.

Namespace:  AForge.Math.Random
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public class ExponentialGenerator : IRandomNumberGenerator

Remarks

The random number generator generates exponential random numbers with specified rate value (lambda).

The generator uses UniformOneGenerator generator as a base to generate random numbers.

Sample usage:

CopyC#
// create instance of random generator
IRandomNumberGenerator generator = new ExponentialGenerator( 5 );
// generate random number
float randomNumber = generator.Next( );

Inheritance Hierarchy

System..::.Object
  AForge.Math.Random..::.ExponentialGenerator

See Also