gsl_sf_debye.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* specfunc/gsl_sf_debye.h
  2. *
  3. * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 3 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. */
  19. /* Author: G. Jungman */
  20. /* augmented by D_5(x) and D_6(x) by Richard J. Mathar, 2005-11-08 */
  21. #ifndef __GSL_SF_DEBYE_H__
  22. #define __GSL_SF_DEBYE_H__
  23. #include "gsl_sf_result.h"
  24. #undef __BEGIN_DECLS
  25. #undef __END_DECLS
  26. #ifdef __cplusplus
  27. # define __BEGIN_DECLS extern "C" {
  28. # define __END_DECLS }
  29. #else
  30. # define __BEGIN_DECLS /* empty */
  31. # define __END_DECLS /* empty */
  32. #endif
  33. __BEGIN_DECLS
  34. /* D_n(x) := n/x^n Integrate[t^n/(e^t - 1), {t,0,x}] */
  35. /* D_1(x)
  36. *
  37. * exceptions: GSL_EDOM
  38. */
  39. int gsl_sf_debye_1_e(const double x, gsl_sf_result * result);
  40. double gsl_sf_debye_1(const double x);
  41. /* D_2(x)
  42. *
  43. * exceptions: GSL_EDOM, GSL_EUNDRFLW
  44. */
  45. int gsl_sf_debye_2_e(const double x, gsl_sf_result * result);
  46. double gsl_sf_debye_2(const double x);
  47. /* D_3(x)
  48. *
  49. * exceptions: GSL_EDOM, GSL_EUNDRFLW
  50. */
  51. int gsl_sf_debye_3_e(const double x, gsl_sf_result * result);
  52. double gsl_sf_debye_3(const double x);
  53. /* D_4(x)
  54. *
  55. * exceptions: GSL_EDOM, GSL_EUNDRFLW
  56. */
  57. int gsl_sf_debye_4_e(const double x, gsl_sf_result * result);
  58. double gsl_sf_debye_4(const double x);
  59. /* D_5(x)
  60. *
  61. * exceptions: GSL_EDOM, GSL_EUNDRFLW
  62. */
  63. int gsl_sf_debye_5_e(const double x, gsl_sf_result * result);
  64. double gsl_sf_debye_5(const double x);
  65. /* D_6(x)
  66. *
  67. * exceptions: GSL_EDOM, GSL_EUNDRFLW
  68. */
  69. int gsl_sf_debye_6_e(const double x, gsl_sf_result * result);
  70. double gsl_sf_debye_6(const double x);
  71. __END_DECLS
  72. #endif /* __GSL_SF_DEBYE_H__ */