The R Project SVN R

Rev

Rev 8074 | Rev 34956 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8074 Rev 8431
Line 20... Line 20...
20
 *  DESCRIPTION
20
 *  DESCRIPTION
21
 *
21
 *
22
 *    The quantile function of the geometric distribution.
22
 *    The quantile function of the geometric distribution.
23
 */
23
 */
24
 
24
 
25
#include "Mathlib.h"
25
#include "nmath.h"
26
#include "dpq.h"
26
#include "dpq.h"
27
 
27
 
28
double qgeom(double p, double prob, int lower_tail, int log_p)
28
double qgeom(double p, double prob, int lower_tail, int log_p)
29
{
29
{
30
    R_Q_P01_check(p);
30
    R_Q_P01_check(p);