Mercurial > octave-antonio
comparison scripts/statistics/distributions/poisspdf.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 | c776f063fefe |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11471:994e2a93a8e2 | 11472:1740012184f9 |
---|---|
32 endif | 32 endif |
33 | 33 |
34 if (!isscalar (lambda)) | 34 if (!isscalar (lambda)) |
35 [retval, x, lambda] = common_size (x, lambda); | 35 [retval, x, lambda] = common_size (x, lambda); |
36 if (retval > 0) | 36 if (retval > 0) |
37 error ("poisspdf: x and lambda must be of common size or scalar"); | 37 error ("poisspdf: X and LAMBDA must be of common size or scalar"); |
38 endif | 38 endif |
39 endif | 39 endif |
40 | 40 |
41 pdf = zeros (size (x)); | 41 pdf = zeros (size (x)); |
42 | 42 |