Mercurial > octave
changeset 21233:6b0ded11d708 stable
Fix cut/paste error in rande documentation (bug #47097).
* rand.cc (Frande): Refer to rande and exponential distribution in docstring.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 09 Feb 2016 10:34:35 -0800 |
parents | 732ec49d1ec5 |
children | 20a824cd1d9e b48d65c5df5b |
files | libinterp/corefcn/rand.cc |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/rand.cc Mon Feb 08 20:35:29 2016 -0800 +++ b/libinterp/corefcn/rand.cc Tue Feb 09 10:34:35 2016 -0800 @@ -638,8 +638,9 @@ \n\ The arguments are handled the same as the arguments for @code{rand}.\n\ \n\ -By default, @code{randn} uses the @nospell{Marsaglia and Tsang}\n\ -``Ziggurat technique'' to transform from a uniform to a normal distribution.\n\ +By default, @code{rande} uses the @nospell{Marsaglia and Tsang}\n\ +``Ziggurat technique'' to transform from a uniform to an exponential\n\ +distribution.\n\ \n\ The class of the value returned can be controlled by a trailing\n\ @qcode{\"double\"} or @qcode{\"single\"} argument. These are the only valid\n\