Gammaq.h File Reference


Detailed Description

Declaration of GammaQ functions.

Id

Definition in file Gammaq.h.

#include <cstdio>
#include <cstdlib>

Include dependency graph for Gammaq.h:

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

FunctionController.cxxGammaq.cxx

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 gammln (double xx)
 Calculates natural log of a gamma function.
double gammq (double a, double x)
 Calculates Q, the probability that the chi2 should exceed a particilar chi2 (input) by chance.
void 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 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 Class Library by doxygen