Gammaq.cxx File Reference


Detailed Description

The Faithful implementation of the GammaQ.

Code is taken from Numerical Recipes in C.

Definition in file Gammaq.cxx.

#include "Gammaq.h"
#include <iostream>
#include <cassert>
#include <cmath>

Include dependency graph for Gammaq.cxx:

Gammaq.h

Go to the source code of this file.

Namespaces

namespace  hippodraw
namespace  hippodraw::Numeric

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.


Generated for HippoDraw Class Library by doxygen