#include "distributions.h"
#include <cmath>
#include <iostream>
Defines | |
| #define | PI 3.14159265358979323846 |
Functions | |
| static double | inc_gamma (double a, double x) |
| The lower incomplete gamma function for integers and half integers. | |
| static double | ierf (double a) |
Various hypothesis tests.
| #define PI 3.14159265358979323846 |
| static double ierf | ( | double | a | ) | [static] |
| static double inc_gamma | ( | double | a, | |
| double | x | |||
| ) | [static] |
The lower incomplete gamma function for integers and half integers.
| a | :The power in | |
| x | :The limit x in ![]() |
. Large numbers are avoided by doing some computation in log space.
Source code hosted by