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

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. | |
Code is taken from Numerical Recipes in C.
Definition in file Gammaq.cxx.