Mercurial > hg > octave-lyh
comparison scripts/statistics/distributions/nbinrnd.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | a1dbe9d80eee |
children | 16f53d29049f |
comparison
equal
deleted
inserted
replaced
9044:656ad518f385 | 9051:1bf0ce0930be |
---|---|
22 ## Return an @var{r} by @var{c} matrix of random samples from the Pascal | 22 ## Return an @var{r} by @var{c} matrix of random samples from the Pascal |
23 ## (negative binomial) distribution with parameters @var{n} and @var{p}. | 23 ## (negative binomial) distribution with parameters @var{n} and @var{p}. |
24 ## Both @var{n} and @var{p} must be scalar or of size @var{r} by @var{c}. | 24 ## Both @var{n} and @var{p} must be scalar or of size @var{r} by @var{c}. |
25 ## | 25 ## |
26 ## If @var{r} and @var{c} are omitted, the size of the result matrix is | 26 ## If @var{r} and @var{c} are omitted, the size of the result matrix is |
27 ## the common size of @var{n} and @var{p}. Or if @var{sz} is a vector, | 27 ## the common size of @var{n} and @var{p}. Or if @var{sz} is a vector, |
28 ## create a matrix of size @var{sz}. | 28 ## create a matrix of size @var{sz}. |
29 ## @end deftypefn | 29 ## @end deftypefn |
30 | 30 |
31 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> | 31 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> |
32 ## Description: Random deviates from the Pascal distribution | 32 ## Description: Random deviates from the Pascal distribution |