Changeset 16:22696f89d183 in lemon-1.0 for lemon/random.h
- Timestamp:
- 01/03/08 01:24:09 (17 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/random.h
r12 r16 74 74 ///\file 75 75 ///\brief Mersenne Twister random number generator 76 ///77 ///\author Balazs Dezso78 76 79 77 namespace lemon { … … 517 515 /// good programming convenience to use this global generator to get 518 516 /// random numbers. 519 ///520 /// \author Balazs Dezso521 517 class Random { 522 518 private: 523 519 524 // architecture word520 // Architecture word 525 521 typedef unsigned long Word; 526 522 … … 724 720 /// Gauss distribution with given mean and standard deviation 725 721 722 /// Gauss distribution with given mean and standard deviation 726 723 /// \sa gauss() 727 ///728 724 double gauss(double mean,double std_dev) 729 725 { … … 815 811 816 812 /// Uniform distribution on the full unit circle. 813 814 /// Uniform distribution on the full unit circle. 815 /// 817 816 dim2::Point<double> disc() 818 817 {
Note: See TracChangeset
for help on using the changeset viewer.