| 1 |
#ifndef _NUMspecfunc_h_ |
| 2 |
#define _NUMspecfunc_h_ |
| 3 |
/* NUMspecfunc.h |
| 4 |
* |
| 5 |
* Copyright (C) 1992-2018 Paul Boersma |
| 6 |
* |
| 7 |
* This code is free software; you can redistribute it and/or modify |
| 8 |
* it under the terms of the GNU General Public License as published by |
| 9 |
* the Free Software Foundation; either version 2 of the License, or (at |
| 10 |
* your option) any later version. |
| 11 |
* |
| 12 |
* This code is distributed in the hope that it will be useful, but |
| 13 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 |
* See the GNU General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU General Public License |
| 18 |
* along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
*/ |
| 20 |
|
| 21 |
double NUMlnGamma (double x); |
| 22 |
double NUMbeta (double z, double w); |
| 23 |
double NUMbesselI (integer n, double x); // precondition: n >= 0 |
| 24 |
double NUMbessel_i0_f (double x); |
| 25 |
double NUMbessel_i1_f (double x); |
| 26 |
double NUMbesselK (integer n, double x); // preconditions: n >= 0 && x > 0.0 |
| 27 |
double NUMbessel_k0_f (double x); |
| 28 |
double NUMbessel_k1_f (double x); |
| 29 |
double NUMbesselK_f (integer n, double x); |
| 30 |
double NUMsigmoid (double x); // correct also for large positive or negative x |
| 31 |
double NUMinvSigmoid (double x); |
| 32 |
double NUMerfcc (double x); |
| 33 |
double NUMgaussP (double z); |
| 34 |
double NUMgaussQ (double z); |
| 35 |
double NUMincompleteGammaP (double a, double x); |
| 36 |
double NUMincompleteGammaQ (double a, double x); |
| 37 |
double NUMchiSquareP (double chiSquare, double degreesOfFreedom); |
| 38 |
double NUMchiSquareQ (double chiSquare, double degreesOfFreedom); |
| 39 |
double NUMcombinations (integer n, integer k); |
| 40 |
double NUMincompleteBeta (double a, double b, double x); // incomplete beta function Ix(a,b). Preconditions: a, b > 0; 0 <= x <= 1 |
| 41 |
double NUMbinomialP (double p, double k, double n); |
| 42 |
double NUMbinomialQ (double p, double k, double n); |
| 43 |
double NUMinvBinomialP (double p, double k, double n); |
| 44 |
double NUMinvBinomialQ (double p, double k, double n); |
| 45 |
|
| 46 |
/* End of file NUMspecfunc.h */ |
| 47 |
#endif |