AForge.Math.Random.ExponentialGenerator.Next C# (CSharp) Method

Next() public method

Generate next random number
public Next ( ) : double
return double
        public double Next()
        {
            return - System.Math.Log(rand.Next())/rate;
        }