Mercurial > hg > octave-lyh
diff scripts/statistics/distributions/nbinpdf.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | fd0a3ac60b0e |
children | 19b9f17d22af |
line wrap: on
line diff
--- a/scripts/statistics/distributions/nbinpdf.m +++ b/scripts/statistics/distributions/nbinpdf.m @@ -24,7 +24,7 @@ ## ## The number of failures in a Bernoulli experiment with success ## probability @var{p} before the @var{n}-th success follows this -## distribution. +## distribution. ## @end deftypefn ## Author: KH <Kurt.Hornik@wu-wien.ac.at> @@ -36,7 +36,7 @@ print_usage (); endif - if (!isscalar(n) || !isscalar(p)) + if (!isscalar(n) || !isscalar(p)) [retval, x, n, p] = common_size (x, n, p); if (retval > 0) error ("nbinpdf: X, N and P must be of common size or scalar");