00001
00002
00003
00004
00005 #ifndef SPECIAL_H
00006 #define SPECIAL_H
00007
00008 #include <cmath>
00009 #include <cstdlib>
00010
00012 double Phi ( double x );
00013
00020 double invPhi ( double p );
00021
00023 double safe_log ( double x );
00024
00026 double gammaln ( double xx );
00027
00029 double gammainc ( double x, double a );
00030
00032 double betaf ( double z, double w );
00033
00035 double betainc ( double x, double al, double bt );
00036
00038 double psi ( double z );
00039
00041 double digamma ( double z );
00042
00043 #endif