Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:06

0001 #ifndef IncompleteGammaComplement_H
0002 #define IncompleteGammaComplement_H
0003 
0004 /** \class IncompleteGammaComplement
0005  *  Computes the complement Q(a,x)=1-P(a,x) of the incomplete gamma function. 
0006  *  Computes its natural logarithm, useful for comparing very small values. 
0007  *  source: Numerical Recipes
0008  */
0009 class IncompleteGammaComplement {
0010 public:
0011   static float value(float a, float x);
0012 
0013   static float ln(float a, float x);
0014 };
0015 
0016 #endif