16 lines
329 B
C
16 lines
329 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
class CGamma
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
double betacf(double a, double b, double x);
|
||
|
|
double Beta(double z, double a, double b);
|
||
|
|
double Gamma( double a, double chi2 );
|
||
|
|
CGamma();
|
||
|
|
virtual ~CGamma();
|
||
|
|
protected:
|
||
|
|
double gcf( double a, double x );
|
||
|
|
double gamser( double a, double x );
|
||
|
|
double gammln( double xx );
|
||
|
|
};
|