# HG changeset patch # User Thomas Weber # Date 1211143228 -7200 # Node ID 08125419efcb261a177f3f34940fd8c914f054db # Parent 791231dac33344e930465319ec447f3c8ad18ed5 Extend explanation of randn's return value diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-05-20 Thomas Weber + + * DLD-FUNCTIONS/rand.cc: Doc fix. + 2008-05-20 David Bateman * load-save.cc (do_load): Treat non verbose list_only output in diff --git a/src/DLD-FUNCTIONS/rand.cc b/src/DLD-FUNCTIONS/rand.cc --- a/src/DLD-FUNCTIONS/rand.cc +++ b/src/DLD-FUNCTIONS/rand.cc @@ -471,8 +471,9 @@ @deftypefnx {Loadable Function} {} randn (@var{n}, @var{m})\n\ @deftypefnx {Loadable Function} {} randn (\"state\", @var{x})\n\ @deftypefnx {Loadable Function} {} randn (\"seed\", @var{x})\n\ -Return a matrix with normally distributed random elements. The\n\ -arguments are handled the same as the arguments for @code{rand}.\n\ +Return a matrix with normally distributed pseudo-random\n\ +elements having zero mean and variance one. The arguments are\n\ +handled the same as the arguments for @code{rand}.\n\ \n\ By default, @code{randn} uses a Marsaglia and Tsang Ziggurat technique to\n\ transform from a uniform to a normal distribution. (G. Marsaglia and\n\