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
20/* Author: G. Jungman */
21/* augmented by D_5(x) and D_6(x) by Richard J. Mathar, 2005-11-08 */
22
23#ifndef __GSL_SF_DEBYE_H__
24#define __GSL_SF_DEBYE_H__
25
26#include <gsl/gsl_sf_result.h>
27
28#undef __BEGIN_DECLS
29#undef __END_DECLS
30#ifdef __cplusplus
31# define __BEGIN_DECLS extern "C" {
32# define __END_DECLS }
33#else
34# define __BEGIN_DECLS /* empty */
35# define __END_DECLS /* empty */
36#endif
37
38__BEGIN_DECLS
39
40
41/* D_n(x) := n/x^n Integrate[t^n/(e^t - 1), {t,0,x}] */
42
43/* D_1(x)
44 *
45 * exceptions: GSL_EDOM
46 */
47int gsl_sf_debye_1_e(const double x, gsl_sf_result * result);
48double gsl_sf_debye_1(const double x);
49
50
51/* D_2(x)
52 *
53 * exceptions: GSL_EDOM, GSL_EUNDRFLW
54 */
55int gsl_sf_debye_2_e(const double x, gsl_sf_result * result);
56double gsl_sf_debye_2(const double x);
57
58
59/* D_3(x)
60 *
61 * exceptions: GSL_EDOM, GSL_EUNDRFLW
62 */
63int gsl_sf_debye_3_e(const double x, gsl_sf_result * result);
64double gsl_sf_debye_3(const double x);
65
66
67/* D_4(x)
68 *
69 * exceptions: GSL_EDOM, GSL_EUNDRFLW
70 */
71int gsl_sf_debye_4_e(const double x, gsl_sf_result * result);
72double gsl_sf_debye_4(const double x);
73
74/* D_5(x)
75 *
76 * exceptions: GSL_EDOM, GSL_EUNDRFLW
77 */
78int gsl_sf_debye_5_e(const double x, gsl_sf_result * result);
79double gsl_sf_debye_5(const double x);
80
81/* D_6(x)
82 *
83 * exceptions: GSL_EDOM, GSL_EUNDRFLW
84 */
85int gsl_sf_debye_6_e(const double x, gsl_sf_result * result);
86double gsl_sf_debye_6(const double x);
87
88
89__END_DECLS
90
91#endif /* __GSL_SF_DEBYE_H__ */
92