Mercurial > octave
diff src/DLD-FUNCTIONS/rand.cc @ 10846:a4f482e66b65
Grammarcheck more of the documentation.
Use @noindent macro appropriately.
Limit line length to 80 characters.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 01 Aug 2010 20:22:17 -0700 |
parents | 89f4d7e294cc |
children | 5eb10763069f |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/rand.cc Sun Aug 01 14:50:51 2010 -0400 +++ b/src/DLD-FUNCTIONS/rand.cc Sun Aug 01 20:22:17 2010 -0700 @@ -362,7 +362,8 @@ fraction of a second.\n\ \n\ To compute the pseudo-random sequence, @code{rand} uses the Mersenne\n\ -Twister with a period of @math{2^{19937}-1} (See M. Matsumoto and T. Nishimura,\n\ +Twister with a period of @math{2^{19937}-1} (See M. Matsumoto and\n\ +T. Nishimura,\n\ @cite{Mersenne Twister: A 623-dimensionally equidistributed uniform \n\ pseudorandom number generator}, ACM Trans. on\n\ Modeling and Computer Simulation Vol. 8, No. 1, pp. 3-30, January 1998,\n\ @@ -384,6 +385,7 @@ rand (\"seed\", val)\n\ @end example\n\ \n\ +@noindent\n\ which sets the seed of the generator to @var{val}. The seed of the\n\ generator can be queried with\n\ \n\