Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Gammaq.h File Reference


Detailed Description

Declaration of GammaQ functions.

Id
Gammaq.h,v 1.3 2004/04/11 03:16:54 pfkeb Exp

Definition in file Gammaq.h.

#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <cassert>

Include dependency graph for Gammaq.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hippodraw
namespace  hippodraw::Numeric

Defines

#define EPS   3.0e-7
#define FPMIN   1.0e-30
#define ITMAX   100
#define MAXSTR   80

Functions

double hippodraw::Numeric::gammln (double xx)
 Calculates natural log of a gamma function.
double hippodraw::Numeric::gammq (double a, double x)
 Calculates Q, the probability that the chi2 should exceed a particilar chi2 (input) by chance.
void hippodraw::Numeric::gcf (double *gammcf, double a, double x, double *gln)
 Calculates Q, the probability that the chi2 should exceed a particilar chi2 (input) by chance, by using continued fractions.
void hippodraw::Numeric::gser (double *gamser, double a, double x, double *gln)
 Calculates Q, the probability that the chi2 should exceed a particilar chi2 (input) by chance, by using series approximation.


Define Documentation

#define EPS   3.0e-7
 

Definition at line 15 of file Gammaq.h.

Referenced by hippodraw::Numeric::gcf(), and hippodraw::Numeric::gser().

#define FPMIN   1.0e-30
 

Definition at line 16 of file Gammaq.h.

Referenced by hippodraw::Numeric::gcf().

#define ITMAX   100
 

Definition at line 14 of file Gammaq.h.

Referenced by hippodraw::Numeric::gcf(), and hippodraw::Numeric::gser().

#define MAXSTR   80
 

Definition at line 17 of file Gammaq.h.


Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3