Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -45,25 +45,23 @@
|
||||
class MyGamma
|
||||
{
|
||||
public:
|
||||
|
||||
MyGamma ();
|
||||
MyGamma();
|
||||
~MyGamma();
|
||||
|
||||
|
||||
double Gamma(double z);
|
||||
double Gamma(double a,double x);
|
||||
double Gamma(double a, double x);
|
||||
|
||||
private:
|
||||
double GamCf(double a, double x);
|
||||
double GamSer(double a, double x);
|
||||
|
||||
double GamCf(double a,double x);
|
||||
double GamSer(double a,double x);
|
||||
|
||||
// Abs
|
||||
static short Abs(short d) { return (d > 0) ? d : -d; }
|
||||
static int Abs(int d) { return (d > 0) ? d : -d; }
|
||||
static short Abs(short d) { return (d > 0) ? d : -d; }
|
||||
static int Abs(int d) { return (d > 0) ? d : -d; }
|
||||
static long Abs(long d) { return (d > 0) ? d : -d; }
|
||||
static float Abs(float d) { return (d > 0) ? d : -d; }
|
||||
static double Abs(double d) { return (d > 0) ? d : -d; }
|
||||
static double LnGamma(double z);
|
||||
static double LnGamma(double z);
|
||||
static double Log(double x) { return std::log(x); }
|
||||
static double Exp(double x) { return std::exp(x); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user