Gammaq.cxx File Reference

The Faithful implementation of the GammaQ. More...

#include "Gammaq.h"
#include <iostream>
#include <cassert>
#include <cmath>
Include dependency graph for Gammaq.cxx:

Go to the source code of this file.

Namespaces

namespace  hippodraw
 

Namespace for HippoDraw.


namespace  hippodraw::Numeric
 

Collection of linear algebra functions.


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.

Detailed Description

The Faithful implementation of the GammaQ.

Code is taken from Numerical Recipes in C.

Definition in file Gammaq.cxx.


Generated for HippoDraw Class Library by doxygen