# HG changeset patch # User alpar # Date 1161346009 0 # Node ID 0a9393adc7473b04074a057c93cd995f867ac7a2 # Parent b22dfb6c5ff3e865686d97ec0e224595ec109d73 Doc improvements. diff -r b22dfb6c5ff3 -r 0a9393adc747 lemon/random.h --- a/lemon/random.h Fri Oct 20 12:05:54 2006 +0000 +++ b/lemon/random.h Fri Oct 20 12:06:49 2006 +0000 @@ -513,7 +513,7 @@ return *this; } - /// \brief Returns a random real number + /// \brief Returns a random real number from the range [0, 1) /// /// It returns a random real number from the range [0, 1). The /// default Number type is double. @@ -526,7 +526,7 @@ return real(); } - /// \brief Returns a random real number + /// \brief Returns a random real number the range [0, b) /// /// It returns a random real number from the range [0, b). template @@ -534,7 +534,7 @@ return real() * b; } - /// \brief Returns a random real number + /// \brief Returns a random real number from the range [a, b) /// /// It returns a random real number from the range [a, b). template @@ -542,14 +542,14 @@ return real() * (b - a) + a; } - /// \brief Returns a random real number + /// \brief Returns a random real number from the range [0, 1) /// /// It returns a random double from the range [0, 1). double operator()() { return real(); } - /// \brief Returns a random real number + /// \brief Returns a random real number from the range [0, b) /// /// It returns a random real number from the range [0, b). template @@ -557,7 +557,7 @@ return real() * b; } - /// \brief Returns a random real number + /// \brief Returns a random real number from the range [a, b) /// /// It returns a random real number from the range [a, b). template