4 /* GSLEXTRAS_CDF_ERROR: call the error handler, and return a NAN. */
5 #define GSLEXTRAS_CDF_ERROR(reason, gsl_errno) \
7 gsl_error (reason, __FILE__, __LINE__, gsl_errno) ; \
11 double gslextras_cdf_beta_Pinv (const double p, const double a,
13 double gslextras_cdf_beta_Qinv (double q, double a, double b);
14 double gslextras_cdf_binomial_P(const long k, const long n, const double p);
15 double gslextras_cdf_binomial_Q(const long k, const long n, const double q);
16 double gslextras_cdf_geometric_P (const long n, const double p);
17 double gslextras_cdf_geometric_Q ( const long n, const double p);
18 double gslextras_cdf_hypergeometric_P (const unsigned int k,
19 const unsigned int n0,
20 const unsigned int n1,
21 const unsigned int t);
22 double gslextras_cdf_hypergeometric_Q (const unsigned int k,
23 const unsigned int n0,
24 const unsigned int n1,
25 const unsigned int t);
26 double gslextras_cdf_negative_binomial_P(const long n,
27 const long k, const double p);
28 double gslextras_cdf_negative_binomial_Q(const long n, const long k,
30 double gslextras_cdf_poisson_P (const long k, const double lambda);
31 double gslextras_cdf_poisson_Q (const long k, const double lambda);
33 #endif /* gsl-extras.h */