comparison scripts/statistics/distributions/gampdf.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
34 endif 34 endif
35 35
36 if (!isscalar (a) || !isscalar(b)) 36 if (!isscalar (a) || !isscalar(b))
37 [retval, x, a, b] = common_size (x, a, b); 37 [retval, x, a, b] = common_size (x, a, b);
38 if (retval > 0) 38 if (retval > 0)
39 error ("gampdf: x, a and b must be of common size or scalars"); 39 error ("gampdf: X, A and B must be of common size or scalars");
40 endif 40 endif
41 endif 41 endif
42 42
43 sz = size(x); 43 sz = size(x);
44 pdf = zeros (sz); 44 pdf = zeros (sz);