NUMspecfunc.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. double NUMlnGamma (double x);
  21. double NUMbeta (double z, double w);
  22. double NUMbesselI (integer n, double x); // precondition: n >= 0
  23. double NUMbessel_i0_f (double x);
  24. double NUMbessel_i1_f (double x);
  25. double NUMbesselK (integer n, double x); // preconditions: n >= 0 && x > 0.0
  26. double NUMbessel_k0_f (double x);
  27. double NUMbessel_k1_f (double x);
  28. double NUMbesselK_f (integer n, double x);
  29. double NUMsigmoid (double x); // correct also for large positive or negative x
  30. double NUMinvSigmoid (double x);
  31. double NUMerfcc (double x);
  32. double NUMgaussP (double z);
  33. double NUMgaussQ (double z);
  34. double NUMincompleteGammaP (double a, double x);
  35. double NUMincompleteGammaQ (double a, double x);
  36. double NUMchiSquareP (double chiSquare, double degreesOfFreedom);
  37. double NUMchiSquareQ (double chiSquare, double degreesOfFreedom);
  38. double NUMcombinations (integer n, integer k);
  39. double NUMincompleteBeta (double a, double b, double x); // incomplete beta function Ix(a,b). Preconditions: a, b > 0; 0 <= x <= 1
  40. double NUMbinomialP (double p, double k, double n);
  41. double NUMbinomialQ (double p, double k, double n);
  42. double NUMinvBinomialP (double p, double k, double n);
  43. double NUMinvBinomialQ (double p, double k, double n);
  44. /* End of file NUMspecfunc.h */
  45. #endif