# HG changeset patch # User Jaroslav Hajek
# Date 1205942555 -3600 # Node ID 230df8b3dffe459ba57a3503012e9cdbe13e5fc4 # Parent 8a939b21786329cab992c0e1136a4c7e90d0128a doc fix for exp distribution functions diff -r 8a939b217863 -r 230df8b3dffe scripts/ChangeLog --- a/scripts/ChangeLog Tue Mar 18 21:32:48 2008 -0400 +++ b/scripts/ChangeLog Wed Mar 19 17:02:35 2008 +0100 @@ -1,3 +1,11 @@ 2008-03-18 Ben Abbott + + * statistics/distributions/exppdf.m, + statistics/distributions/expcdf.m, + statistics/distributions/expinv.m, + statistics/distributions/exprnd.m: change documentation + to be more clear. + 2008-03-18 Ben Abbott * specfun/beta.m: Fix for negative inputs. diff -r 8a939b217863 -r 230df8b3dffe scripts/statistics/distributions/expcdf.m --- a/scripts/statistics/distributions/expcdf.m Tue Mar 18 21:32:48 2008 -0400 +++ b/scripts/statistics/distributions/expcdf.m Wed Mar 19 17:02:35 2008 +0100 @@ -20,7 +20,7 @@ ## @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}. +## mean @var{lambda}. ## ## The arguments can be of common size or scalar. ## @end deftypefn diff -r 8a939b217863 -r 230df8b3dffe scripts/statistics/distributions/expinv.m --- a/scripts/statistics/distributions/expinv.m Tue Mar 18 21:32:48 2008 -0400 +++ b/scripts/statistics/distributions/expinv.m Wed Mar 19 17:02:35 2008 +0100 @@ -19,7 +19,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} expinv (@var{x}, @var{lambda}) ## For each element of @var{x}, compute the quantile (the inverse of the -## CDF) at @var{x} of the exponential distribution with parameter +## CDF) at @var{x} of the exponential distribution with mean ## @var{lambda}. ## @end deftypefn diff -r 8a939b217863 -r 230df8b3dffe scripts/statistics/distributions/exppdf.m --- a/scripts/statistics/distributions/exppdf.m Tue Mar 18 21:32:48 2008 -0400 +++ b/scripts/statistics/distributions/exppdf.m Wed Mar 19 17:02:35 2008 +0100 @@ -19,7 +19,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} exppdf (@var{x}, @var{lambda}) ## For each element of @var{x}, compute the probability density function -## (PDF) of the exponential distribution with parameter @var{lambda}. +## (PDF) of the exponential distribution with mean @var{lambda}. ## @end deftypefn ## Author: KH diff -r 8a939b217863 -r 230df8b3dffe scripts/statistics/distributions/exprnd.m --- a/scripts/statistics/distributions/exprnd.m Tue Mar 18 21:32:48 2008 -0400 +++ b/scripts/statistics/distributions/exprnd.m Wed Mar 19 17:02:35 2008 +0100 @@ -20,7 +20,7 @@ ## @deftypefn {Function File} {} exprnd (@var{lambda}, @var{r}, @var{c}) ## @deftypefnx {Function File} {} exprnd (@var{lambda}, @var{sz}) ## Return an @var{r} by @var{c} matrix of random samples from the -## exponential distribution with parameter @var{lambda}, which must be a +## exponential distribution with mean @var{lambda}, which must be a ## scalar or of size @var{r} by @var{c}. Or if @var{sz} is a vector, ## create a matrix of size @var{sz}. ##