Mercurial > octave-nkf
comparison scripts/statistics/distributions/unifinv.m @ 10635:d1978e7364ad
Print name of function in error() string messages.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 May 2010 22:26:54 -0700 |
parents | a1dbe9d80eee |
children | 1740012184f9 |
comparison
equal
deleted
inserted
replaced
10634:60542efcfa2c | 10635:d1978e7364ad |
---|---|
39 endif | 39 endif |
40 | 40 |
41 if (!isscalar (a) || !isscalar(b)) | 41 if (!isscalar (a) || !isscalar(b)) |
42 [retval, x, a, b] = common_size (x, a, b); | 42 [retval, x, a, b] = common_size (x, a, b); |
43 if (retval > 0) | 43 if (retval > 0) |
44 error ("uniform_cdf: x, a and b must be of common size or scalar"); | 44 error ("unifinv: x, a and b must be of common size or scalar"); |
45 endif | 45 endif |
46 endif | 46 endif |
47 | 47 |
48 sz = size (x); | 48 sz = size (x); |
49 inv = zeros (sz); | 49 inv = zeros (sz); |