Mercurial > hg > octave-nkf
diff scripts/statistics/distributions/expcdf.m @ 5411:bee21f388110
[project @ 2005-07-13 17:53:44 by jwe]
author | jwe |
---|---|
date | Wed, 13 Jul 2005 17:53:49 +0000 |
parents | 56e066f5efc1 |
children | 2a16423e4aa0 |
line wrap: on
line diff
--- a/scripts/statistics/distributions/expcdf.m +++ b/scripts/statistics/distributions/expcdf.m @@ -18,7 +18,7 @@ ## 02110-1301, USA. ## -*- texinfo -*- -## @deftypefn {Function File} {} exponential_cdf (@var{x}, @var{lambda}) +## @deftypefn {Function File} {} expcdf (@var{x}, @var{lambda}) ## For each element of @var{x}, compute the cumulative distribution ## function (CDF) at @var{x} of the exponential distribution with ## parameter @var{lambda}. @@ -29,16 +29,16 @@ ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> ## Description: CDF of the exponential distribution -function cdf = exponential_cdf (x, l) +function cdf = expcdf (x, l) if (nargin != 2) - usage ("exponential_cdf (x, lambda)"); + usage ("expcdf (x, lambda)"); endif if (!isscalar (x) && !isscalar(l)) [retval, x, l] = common_size (x, l); if (retval > 0) - error ("exponential_cdf: x and lambda must be of common size or scalar"); + error ("expcdf: x and lambda must be of common size or scalar"); endif endif