lemon/random.h
changeset 16 22696f89d183
parent 12 435bbc8127b3
child 23 0ba375bf5dae
     1.1 --- a/lemon/random.h	Thu Jan 03 01:08:23 2008 +0100
     1.2 +++ b/lemon/random.h	Thu Jan 03 01:24:09 2008 +0100
     1.3 @@ -73,8 +73,6 @@
     1.4  ///\ingroup misc
     1.5  ///\file
     1.6  ///\brief Mersenne Twister random number generator
     1.7 -///
     1.8 -///\author Balazs Dezso
     1.9  
    1.10  namespace lemon {
    1.11  
    1.12 @@ -516,12 +514,10 @@
    1.13    /// generator which name is \ref lemon::rnd "rnd". Usually it is a
    1.14    /// good programming convenience to use this global generator to get
    1.15    /// random numbers.
    1.16 -  ///
    1.17 -  /// \author Balazs Dezso
    1.18    class Random {
    1.19    private:
    1.20  
    1.21 -    // architecture word
    1.22 +    // Architecture word
    1.23      typedef unsigned long Word;
    1.24      
    1.25      _random_bits::RandomCore<Word> core;
    1.26 @@ -723,8 +719,8 @@
    1.27      }
    1.28      /// Gauss distribution with given mean and standard deviation
    1.29  
    1.30 +    /// Gauss distribution with given mean and standard deviation
    1.31      /// \sa gauss()
    1.32 -    ///
    1.33      double gauss(double mean,double std_dev)
    1.34      {
    1.35        return gauss()*std_dev+mean;
    1.36 @@ -814,6 +810,9 @@
    1.37      ///@{
    1.38      
    1.39      /// Uniform distribution on the full unit circle.
    1.40 +
    1.41 +    /// Uniform distribution on the full unit circle.
    1.42 +    ///
    1.43      dim2::Point<double> disc() 
    1.44      {
    1.45        double V1,V2;