Changeset 23:0ba375bf5dae in lemon1.2 for lemon
 Timestamp:
 01/03/08 14:51:14 (16 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/random.h
r16 r23 697 697 /// \brief Returns a random bool 698 698 /// 699 /// It returns a random bool with given probability of true result 699 /// It returns a random bool with given probability of true result. 700 700 bool boolean(double p) { 701 701 return operator()() < p; … … 720 720 /// Gauss distribution with given mean and standard deviation 721 721 722 /// Gauss distribution with given mean and standard deviation 722 /// Gauss distribution with given mean and standard deviation. 723 723 /// \sa gauss() 724 724 double gauss(double mean,double std_dev) … … 810 810 ///@{ 811 811 812 /// Uniform distribution on the full unit circle .812 /// Uniform distribution on the full unit circle 813 813 814 814 /// Uniform distribution on the full unit circle.
Note: See TracChangeset
for help on using the changeset viewer.