diff scripts/statistics/distributions/geoinv.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/geoinv.m
+++ b/scripts/statistics/distributions/geoinv.m
@@ -18,7 +18,7 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {} geometric_inv (@var{x}, @var{p})
+## @deftypefn {Function File} {} geoinv (@var{x}, @var{p})
 ## For each element of @var{x}, compute the quantile at @var{x} of the
 ## geometric distribution with parameter @var{p}.
 ## @end deftypefn
@@ -26,16 +26,16 @@
 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at>
 ## Description: Quantile function of the geometric distribution
 
-function inv = geometric_inv (x, p)
+function inv = geoinv (x, p)
 
   if (nargin != 2)
-    usage ("geometric_inv (x, p)");
+    usage ("geoinv (x, p)");
   endif
 
   if (!isscalar (x) && !isscalar (p))
     [retval, x, p] = common_size (x, p);
     if (retval > 0)
-      error ("geometric_inv: x and p must be of common size or scalar");
+      error ("geoinv: x and p must be of common size or scalar");
     endif
   endif