comparison scripts/statistics/distributions/geoinv.m @ 5428:2a16423e4aa0

[project @ 2005-08-23 18:38:27 by jwe]
author jwe
date Tue, 23 Aug 2005 18:38:28 +0000
parents bee21f388110
children 34f96dd5441b
comparison
equal deleted inserted replaced
5427:a92afe70fb8d 5428:2a16423e4aa0
21 ## @deftypefn {Function File} {} geoinv (@var{x}, @var{p}) 21 ## @deftypefn {Function File} {} geoinv (@var{x}, @var{p})
22 ## For each element of @var{x}, compute the quantile at @var{x} of the 22 ## For each element of @var{x}, compute the quantile at @var{x} of the
23 ## geometric distribution with parameter @var{p}. 23 ## geometric distribution with parameter @var{p}.
24 ## @end deftypefn 24 ## @end deftypefn
25 25
26 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 26 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
27 ## Description: Quantile function of the geometric distribution 27 ## Description: Quantile function of the geometric distribution
28 28
29 function inv = geoinv (x, p) 29 function inv = geoinv (x, p)
30 30
31 if (nargin != 2) 31 if (nargin != 2)