Mercurial > hg > octave-lyh
comparison scripts/statistics/distributions/nbinpdf.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | 95c3e38098bf |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11471:994e2a93a8e2 | 11472:1740012184f9 |
---|---|
37 endif | 37 endif |
38 | 38 |
39 if (!isscalar(n) || !isscalar(p)) | 39 if (!isscalar(n) || !isscalar(p)) |
40 [retval, x, n, p] = common_size (x, n, p); | 40 [retval, x, n, p] = common_size (x, n, p); |
41 if (retval > 0) | 41 if (retval > 0) |
42 error ("nbinpdf: x, n and p must be of common size or scalar"); | 42 error ("nbinpdf: X, N and P must be of common size or scalar"); |
43 endif | 43 endif |
44 endif | 44 endif |
45 | 45 |
46 pdf = zeros (size (x)); | 46 pdf = zeros (size (x)); |
47 | 47 |