BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/ProbTools/ProbTools/NumRecipes.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: NumRecipes.h,v 1.1.1.1 2005/04/21 01:17:17 zhangy Exp $
4//
5// Description:
6// A collection of commonly used algorithms from "Numerical Recipes"
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author List:
12// Bob Jacobsen, Ed Iskander
13//
14// Copyright Information:
15// Copyright (C) 1996
16//
17//------------------------------------------------------------------------
18
19#ifndef NUMRECIPES_HH
20#define NUMRECIPES_HH
21
22#define NUMREC_ITMAX 100
23#define NUMREC_EPS 3.0e-7
24
25//-----------------
26// BaBar Headers --
27//-----------------
28class NumRecipes {
29public:
30
31 // log of gamma function
32 static double gammln(double x);
33
34 static double gammq(double a, double x);
35
36 static double gammp(double a, double x);
37
38 static void gcf(double* gammcf, double a, double x, double* gln);
39
40 static void gser(double* gamser, double a, double x, double* gln);
41
42private:
43 static void recipesErr(const char* c);
44};
45
46#endif
static double gammq(double a, double x)
static void gcf(double *gammcf, double a, double x, double *gln)
static double gammp(double a, double x)
static double gammln(double x)
static void gser(double *gamser, double a, double x, double *gln)