From bug-request at octave dot org Sat Apr 15 10:30:20 2006 Subject: Re: help rand version 2.9.x latest From: "Keith Goodman" To: "Jorge Barros de Abreu" Cc: bug at octave dot org Date: Sat, 15 Apr 2006 08:28:33 -0700 ------=_Part_9408_30862039.1145114913757 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 4/15/06, Keith Goodman wrote: > Attach the patch to an email and send it to bug at octave dot org dot Don't forget that step. ------=_Part_9408_30862039.1145114913757 Content-Type: text/x-patch; name=rand.cc.patch; charset=us-ascii Content-Transfer-Encoding: 7bit X-Attachment-Id: f_em23ln0m Content-Disposition: attachment; filename="rand.cc.patch" 2006-04-15 Keith Goodman * DLD-FUNCTIONS/rand.cc: Doc string fix. ? rand.cc.patch Index: src/DLD-FUNCTIONS/rand.cc =================================================================== RCS file: /cvs/octave/src/DLD-FUNCTIONS/rand.cc,v retrieving revision 1.28 diff -u -r1.28 rand.cc --- src/DLD-FUNCTIONS/rand.cc 14 Apr 2006 04:01:40 -0000 1.28 +++ src/DLD-FUNCTIONS/rand.cc 15 Apr 2006 14:49:50 -0000 at @ -324,7 +324,7 @@ at noindent\n\ You may also initialize the state vector from an arbitrary vector of\n\ length <= 625 for at var{v} dot This new state will be a hash based on the\n\ -the value of at var{v}, not @var{v} itself.\n\ +value of at var{v}, not @var{v} itself.\n\ \n\ By default, the generator is initialized from at code{/dev/urandom} if it is\n\ available, otherwise from cpu time, wall clock time and the current\n\ at @ -342,7 +342,7 @@ at code{rand} includes a second random number generator, that was the\n\ previous generator used in octave. The new generator is used by default\n\ as it is significantly faster than the old generator, and produces\n\ -random numebrs with a significantly longer cycle time. However, in\n\ +random numbers with a significantly longer cycle time. However, in\n\ some circumstances it might be desireable to obtain the same random\n\ sequences as used by the old generators. To do this the keyword\n\ \"seed\" is used to specify that the old generators should be use,\n\ ------=_Part_9408_30862039.1145114913757-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------