Adding basic documentation to Heapsort
[Math-GSL.git] / SF.i
blobe5544c78c019ce5f6151eca28a389fe18561b429
1 %module "Math::GSL::SF"
2 %include "typemaps.i"
4 %apply double *OUTPUT { double * sn, double * cn, double * dn };
6 %{
7 #include "gsl/gsl_mode.h"
8 #include "gsl/gsl_sf.h"
9 #include "gsl/gsl_sf_airy.h"
10 #include "gsl/gsl_sf_bessel.h"
11 #include "gsl/gsl_sf_clausen.h"
12 #include "gsl/gsl_sf_coulomb.h"
13 #include "gsl/gsl_sf_coupling.h"
14 #include "gsl/gsl_sf_dawson.h"
15 #include "gsl/gsl_sf_debye.h"
16 #include "gsl/gsl_sf_dilog.h"
17 #include "gsl/gsl_sf_elementary.h"
18 #include "gsl/gsl_sf_ellint.h"
19 #include "gsl/gsl_sf_elljac.h"
20 #include "gsl/gsl_sf_erf.h"
21 #include "gsl/gsl_sf_exp.h"
22 #include "gsl/gsl_sf_expint.h"
23 #include "gsl/gsl_sf_fermi_dirac.h"
24 #include "gsl/gsl_sf_gamma.h"
25 #include "gsl/gsl_sf_gegenbauer.h"
26 #include "gsl/gsl_sf_hyperg.h"
27 #include "gsl/gsl_sf_laguerre.h"
28 #include "gsl/gsl_sf_lambert.h"
29 #include "gsl/gsl_sf_legendre.h"
30 #include "gsl/gsl_sf_log.h"
31 #include "gsl/gsl_sf_mathieu.h"
32 #include "gsl/gsl_sf_pow_int.h"
33 #include "gsl/gsl_sf_psi.h"
34 #include "gsl/gsl_sf_result.h"
35 #include "gsl/gsl_sf_synchrotron.h"
36 #include "gsl/gsl_sf_transport.h"
37 #include "gsl/gsl_sf_trig.h"
38 #include "gsl/gsl_sf_zeta.h"
41 %include "gsl/gsl_mode.h"
42 %include "gsl/gsl_sf.h"
43 %include "gsl/gsl_sf_airy.h"
44 %include "gsl/gsl_sf_bessel.h"
45 %include "gsl/gsl_sf_clausen.h"
46 %include "gsl/gsl_sf_coulomb.h"
47 %include "gsl/gsl_sf_coupling.h"
48 %include "gsl/gsl_sf_dawson.h"
49 %include "gsl/gsl_sf_debye.h"
50 %include "gsl/gsl_sf_dilog.h"
51 %include "gsl/gsl_sf_elementary.h"
52 %include "gsl/gsl_sf_ellint.h"
53 %include "gsl/gsl_sf_elljac.h"
54 %include "gsl/gsl_sf_erf.h"
55 %include "gsl/gsl_sf_exp.h"
56 %include "gsl/gsl_sf_expint.h"
57 %include "gsl/gsl_sf_fermi_dirac.h"
58 %include "gsl/gsl_sf_gamma.h"
59 %include "gsl/gsl_sf_gegenbauer.h"
60 %include "gsl/gsl_sf_hyperg.h"
61 %include "gsl/gsl_sf_laguerre.h"
62 %include "gsl/gsl_sf_lambert.h"
63 %include "gsl/gsl_sf_legendre.h"
64 %include "gsl/gsl_sf_log.h"
65 %include "gsl/gsl_sf_mathieu.h"
66 %include "gsl/gsl_sf_pow_int.h"
67 %include "gsl/gsl_sf_psi.h"
68 %include "gsl/gsl_sf_result.h"
69 %include "gsl/gsl_sf_synchrotron.h"
70 %include "gsl/gsl_sf_transport.h"
71 %include "gsl/gsl_sf_trig.h"
72 %include "gsl/gsl_sf_zeta.h"
75 %perlcode %{
77 @EXPORT_airy = qw/
78 gsl_sf_airy_Ai_e
79 gsl_sf_airy_Ai
80 gsl_sf_airy_Bi_e
81 gsl_sf_airy_Bi
82 gsl_sf_airy_Ai_scaled_e
83 gsl_sf_airy_Ai_scaled
84 gsl_sf_airy_Bi_scaled_e
85 gsl_sf_airy_Bi_scaled
86 gsl_sf_airy_Ai_deriv_e
87 gsl_sf_airy_Ai_deriv
88 gsl_sf_airy_Bi_deriv_e
89 gsl_sf_airy_Bi_deriv
90 gsl_sf_airy_Ai_deriv_scaled_e
91 gsl_sf_airy_Ai_deriv_scaled
92 gsl_sf_airy_Bi_deriv_scaled_e
93 gsl_sf_airy_Bi_deriv_scaled
94 gsl_sf_airy_zero_Ai_e
95 gsl_sf_airy_zero_Ai
96 gsl_sf_airy_zero_Bi_e
97 gsl_sf_airy_zero_Bi
98 gsl_sf_airy_zero_Ai_deriv_e
99 gsl_sf_airy_zero_Ai_deriv
100 gsl_sf_airy_zero_Bi_deriv_e
101 gsl_sf_airy_zero_Bi_deriv
103 @EXPORT_bessel =qw/
104 gsl_sf_bessel_J0_e
105 gsl_sf_bessel_J0
106 gsl_sf_bessel_J1_e
107 gsl_sf_bessel_J1
108 gsl_sf_bessel_Jn_e
109 gsl_sf_bessel_Jn
110 gsl_sf_bessel_Jn_array
111 gsl_sf_bessel_Y0_e
112 gsl_sf_bessel_Y0
113 gsl_sf_bessel_Y1_e
114 gsl_sf_bessel_Y1
115 gsl_sf_bessel_Yn_e
116 gsl_sf_bessel_Yn
117 gsl_sf_bessel_Yn_array
118 gsl_sf_bessel_I0_e
119 gsl_sf_bessel_I0
120 gsl_sf_bessel_I1_e
121 gsl_sf_bessel_I1
122 gsl_sf_bessel_In_e
123 gsl_sf_bessel_In
124 gsl_sf_bessel_In_array
125 gsl_sf_bessel_I0_scaled_e
126 gsl_sf_bessel_I0_scaled
127 gsl_sf_bessel_I1_scaled_e
128 gsl_sf_bessel_I1_scaled
129 gsl_sf_bessel_In_scaled_e
130 gsl_sf_bessel_In_scaled
131 gsl_sf_bessel_In_scaled_array
132 gsl_sf_bessel_K0_e
133 gsl_sf_bessel_K0
134 gsl_sf_bessel_K1_e
135 gsl_sf_bessel_K1
136 gsl_sf_bessel_Kn_e
137 gsl_sf_bessel_Kn
138 gsl_sf_bessel_Kn_array
139 gsl_sf_bessel_K0_scaled_e
140 gsl_sf_bessel_K0_scaled
141 gsl_sf_bessel_K1_scaled_e
142 gsl_sf_bessel_K1_scaled
143 gsl_sf_bessel_Kn_scaled_e
144 gsl_sf_bessel_Kn_scaled
145 gsl_sf_bessel_Kn_scaled_array
146 gsl_sf_bessel_j0_e
147 gsl_sf_bessel_j0
148 gsl_sf_bessel_j1_e
149 gsl_sf_bessel_j1
150 gsl_sf_bessel_j2_e
151 gsl_sf_bessel_j2
152 gsl_sf_bessel_jl_e
153 gsl_sf_bessel_jl
154 gsl_sf_bessel_jl_array
155 gsl_sf_bessel_jl_steed_array
156 gsl_sf_bessel_y0_e
157 gsl_sf_bessel_y0
158 gsl_sf_bessel_y1_e
159 gsl_sf_bessel_y1
160 gsl_sf_bessel_y2_e
161 gsl_sf_bessel_y2
162 gsl_sf_bessel_yl_e
163 gsl_sf_bessel_yl
164 gsl_sf_bessel_yl_array
165 gsl_sf_bessel_i0_scaled_e
166 gsl_sf_bessel_i0_scaled
167 gsl_sf_bessel_i1_scaled_e
168 gsl_sf_bessel_i1_scaled
169 gsl_sf_bessel_i2_scaled_e
170 gsl_sf_bessel_i2_scaled
171 gsl_sf_bessel_il_scaled_e
172 gsl_sf_bessel_il_scaled
173 gsl_sf_bessel_il_scaled_array
174 gsl_sf_bessel_k0_scaled_e
175 gsl_sf_bessel_k0_scaled
176 gsl_sf_bessel_k1_scaled_e
177 gsl_sf_bessel_k1_scaled
178 gsl_sf_bessel_k2_scaled_e
179 gsl_sf_bessel_k2_scaled
180 gsl_sf_bessel_kl_scaled_e
181 gsl_sf_bessel_kl_scaled
182 gsl_sf_bessel_kl_scaled_array
183 gsl_sf_bessel_Jnu_e
184 gsl_sf_bessel_Jnu
185 gsl_sf_bessel_Ynu_e
186 gsl_sf_bessel_Ynu
187 gsl_sf_bessel_sequence_Jnu_e
188 gsl_sf_bessel_Inu_scaled_e
189 gsl_sf_bessel_Inu_scaled
190 gsl_sf_bessel_Inu_e
191 gsl_sf_bessel_Inu
192 gsl_sf_bessel_Knu_scaled_e
193 gsl_sf_bessel_Knu_scaled
194 gsl_sf_bessel_Knu_e
195 gsl_sf_bessel_Knu
196 gsl_sf_bessel_lnKnu_e
197 gsl_sf_bessel_lnKnu
198 gsl_sf_bessel_zero_J0_e
199 gsl_sf_bessel_zero_J0
200 gsl_sf_bessel_zero_J1_e
201 gsl_sf_bessel_zero_J1
202 gsl_sf_bessel_zero_Jnu_e
203 gsl_sf_bessel_zero_Jnu
205 @EXPORT_clausen = qw/
206 gsl_sf_clausen_e
207 gsl_sf_clausen
209 @EXPORT_hydrogenic = qw/
210 gsl_sf_hydrogenicR_1_e
211 gsl_sf_hydrogenicR_1
212 gsl_sf_hydrogenicR_e
213 gsl_sf_hydrogenicR
215 @EXPORT_coulumb = qw/
216 gsl_sf_coulomb_wave_FG_e
217 gsl_sf_coulomb_wave_F_array
218 gsl_sf_coulomb_wave_FG_array
219 gsl_sf_coulomb_wave_FGp_array
220 gsl_sf_coulomb_wave_sphF_array
221 gsl_sf_coulomb_CL_e
222 gsl_sf_coulomb_CL_array
224 @EXPORT_coupling = qw/
225 gsl_sf_coupling_3j_e
226 gsl_sf_coupling_3j
227 gsl_sf_coupling_6j_e
228 gsl_sf_coupling_6j
229 gsl_sf_coupling_RacahW_e
230 gsl_sf_coupling_RacahW
231 gsl_sf_coupling_9j_e
232 gsl_sf_coupling_9j
233 gsl_sf_coupling_6j_INCORRECT_e
234 gsl_sf_coupling_6j_INCORRECT
236 @EXPORT_dawson = qw/
237 gsl_sf_dawson_e
238 gsl_sf_dawson
240 @EXPORT_debye = qw/
241 gsl_sf_debye_1_e
242 gsl_sf_debye_1
243 gsl_sf_debye_2_e
244 gsl_sf_debye_2
245 gsl_sf_debye_3_e
246 gsl_sf_debye_3
247 gsl_sf_debye_4_e
248 gsl_sf_debye_4
249 gsl_sf_debye_5_e
250 gsl_sf_debye_5
251 gsl_sf_debye_6_e
252 gsl_sf_debye_6
254 @EXPORT_dilog = qw/
255 gsl_sf_dilog_e
256 gsl_sf_dilog
257 gsl_sf_complex_dilog_xy_e
258 gsl_sf_complex_dilog_e
261 @EXPORT_misc = qw/
262 gsl_sf_complex_spence_xy_e
263 gsl_sf_multiply_e
264 gsl_sf_multiply
265 gsl_sf_multiply_err_e
267 @EXPORT_elliptic = qw/
268 gsl_sf_ellint_Kcomp_e
269 gsl_sf_ellint_Kcomp
270 gsl_sf_ellint_Ecomp_e
271 gsl_sf_ellint_Ecomp
272 gsl_sf_ellint_Pcomp_e
273 gsl_sf_ellint_Pcomp
274 gsl_sf_ellint_Dcomp_e
275 gsl_sf_ellint_Dcomp
276 gsl_sf_ellint_F_e
277 gsl_sf_ellint_F
278 gsl_sf_ellint_E_e
279 gsl_sf_ellint_E
280 gsl_sf_ellint_P_e
281 gsl_sf_ellint_P
282 gsl_sf_ellint_D_e
283 gsl_sf_ellint_D
284 gsl_sf_ellint_RC_e
285 gsl_sf_ellint_RC
286 gsl_sf_ellint_RD_e
287 gsl_sf_ellint_RD
288 gsl_sf_ellint_RF_e
289 gsl_sf_ellint_RF
290 gsl_sf_ellint_RJ_e
291 gsl_sf_ellint_RJ
292 gsl_sf_elljac_e
294 @EXPORT_error = qw/
295 gsl_sf_erfc_e
296 gsl_sf_erfc
297 gsl_sf_log_erfc_e
298 gsl_sf_log_erfc
299 gsl_sf_erf_e
300 gsl_sf_erf
301 gsl_sf_erf_Z_e
302 gsl_sf_erf_Q_e
303 gsl_sf_erf_Z
304 gsl_sf_erf_Q
305 gsl_sf_hazard_e
306 gsl_sf_hazard
308 push @EXPORT_misc, qw/
309 gsl_sf_exp_e
310 gsl_sf_exp
311 gsl_sf_exp_e10_e
312 gsl_sf_exp_mult_e
313 gsl_sf_exp_mult
314 gsl_sf_exp_mult_e10_e
315 gsl_sf_expm1_e
316 gsl_sf_expm1
317 gsl_sf_exprel_e
318 gsl_sf_exprel
319 gsl_sf_exprel_2_e
320 gsl_sf_exprel_2
321 gsl_sf_exprel_n_e
322 gsl_sf_exprel_n
323 gsl_sf_exp_err_e
324 gsl_sf_exp_err_e10_e
325 gsl_sf_exp_mult_err_e
326 gsl_sf_exp_mult_err_e10_e
327 gsl_sf_expint_E1_e
328 gsl_sf_expint_E1
329 gsl_sf_expint_E2_e
330 gsl_sf_expint_E2
331 gsl_sf_expint_En_e
332 gsl_sf_expint_En
333 gsl_sf_expint_E1_scaled_e
334 gsl_sf_expint_E1_scaled
335 gsl_sf_expint_E2_scaled_e
336 gsl_sf_expint_E2_scaled
337 gsl_sf_expint_En_scaled_e
338 gsl_sf_expint_En_scaled
339 gsl_sf_expint_Ei_e
340 gsl_sf_expint_Ei
341 gsl_sf_expint_Ei_scaled_e
342 gsl_sf_expint_Ei_scaled
343 gsl_sf_Shi_e
344 gsl_sf_Shi
345 gsl_sf_Chi_e
346 gsl_sf_Chi
347 gsl_sf_expint_3_e
348 gsl_sf_expint_3
349 gsl_sf_Si_e
350 gsl_sf_Si
351 gsl_sf_Ci_e
352 gsl_sf_Ci
354 @EXPORT_fermi_dirac = qw/
355 gsl_sf_fermi_dirac_m1_e
356 gsl_sf_fermi_dirac_m1
357 gsl_sf_fermi_dirac_0_e
358 gsl_sf_fermi_dirac_0
359 gsl_sf_fermi_dirac_1_e
360 gsl_sf_fermi_dirac_1
361 gsl_sf_fermi_dirac_2_e
362 gsl_sf_fermi_dirac_2
363 gsl_sf_fermi_dirac_int_e
364 gsl_sf_fermi_dirac_int
365 gsl_sf_fermi_dirac_mhalf_e
366 gsl_sf_fermi_dirac_mhalf
367 gsl_sf_fermi_dirac_half_e
368 gsl_sf_fermi_dirac_half
369 gsl_sf_fermi_dirac_3half_e
370 gsl_sf_fermi_dirac_3half
371 gsl_sf_fermi_dirac_inc_0_e
372 gsl_sf_fermi_dirac_inc_0
374 @EXPORT_legendre = qw/
375 gsl_sf_legendre_Pl_e
376 gsl_sf_legendre_Pl
377 gsl_sf_legendre_Pl_array
378 gsl_sf_legendre_Pl_deriv_array
379 gsl_sf_legendre_P1_e
380 gsl_sf_legendre_P2_e
381 gsl_sf_legendre_P3_e
382 gsl_sf_legendre_P1
383 gsl_sf_legendre_P2
384 gsl_sf_legendre_P3
385 gsl_sf_legendre_Q0_e
386 gsl_sf_legendre_Q0
387 gsl_sf_legendre_Q1_e
388 gsl_sf_legendre_Q1
389 gsl_sf_legendre_Ql_e
390 gsl_sf_legendre_Ql
391 gsl_sf_legendre_Plm_e
392 gsl_sf_legendre_Plm
393 gsl_sf_legendre_Plm_array
394 gsl_sf_legendre_Plm_deriv_array
395 gsl_sf_legendre_sphPlm_e
396 gsl_sf_legendre_sphPlm
397 gsl_sf_legendre_sphPlm_array
398 gsl_sf_legendre_sphPlm_deriv_array
399 gsl_sf_legendre_array_size
400 gsl_sf_legendre_H3d_0_e
401 gsl_sf_legendre_H3d_0
402 gsl_sf_legendre_H3d_1_e
403 gsl_sf_legendre_H3d_1
404 gsl_sf_legendre_H3d_e
405 gsl_sf_legendre_H3d
406 gsl_sf_legendre_H3d_array
408 @EXPORT_gamma = qw/
409 gsl_sf_lngamma_e
410 gsl_sf_lngamma
411 gsl_sf_lngamma_sgn_e
412 gsl_sf_gamma_e
413 gsl_sf_gamma
414 gsl_sf_gammastar_e
415 gsl_sf_gammastar
416 gsl_sf_gammainv_e
417 gsl_sf_gammainv
418 gsl_sf_lngamma_complex_e
419 gsl_sf_gamma_inc_Q_e
420 gsl_sf_gamma_inc_Q
421 gsl_sf_gamma_inc_P_e
422 gsl_sf_gamma_inc_P
423 gsl_sf_gamma_inc_e
424 gsl_sf_gamma_inc
426 @EXPORT_factorial = qw/
427 gsl_sf_fact_e
428 gsl_sf_fact
429 gsl_sf_doublefact_e
430 gsl_sf_doublefact
431 gsl_sf_lnfact_e
432 gsl_sf_lnfact
433 gsl_sf_lndoublefact_e
434 gsl_sf_lndoublefact
436 @EXPORT_hypergeometric = qw/
437 gsl_sf_hyperg_0F1_e
438 gsl_sf_hyperg_0F1
439 gsl_sf_hyperg_1F1_int_e
440 gsl_sf_hyperg_1F1_int
441 gsl_sf_hyperg_1F1_e
442 gsl_sf_hyperg_1F1
443 gsl_sf_hyperg_U_int_e
444 gsl_sf_hyperg_U_int
445 gsl_sf_hyperg_U_int_e10_e
446 gsl_sf_hyperg_U_e
447 gsl_sf_hyperg_U
448 gsl_sf_hyperg_U_e10_e
449 gsl_sf_hyperg_2F1_e
450 gsl_sf_hyperg_2F1
451 gsl_sf_hyperg_2F1_conj_e
452 gsl_sf_hyperg_2F1_conj
453 gsl_sf_hyperg_2F1_renorm_e
454 gsl_sf_hyperg_2F1_renorm
455 gsl_sf_hyperg_2F1_conj_renorm_e
456 gsl_sf_hyperg_2F1_conj_renorm
457 gsl_sf_hyperg_2F0_e
458 gsl_sf_hyperg_2F0
460 @EXPORT_laguerre = qw/
461 gsl_sf_laguerre_1_e
462 gsl_sf_laguerre_2_e
463 gsl_sf_laguerre_3_e
464 gsl_sf_laguerre_1
465 gsl_sf_laguerre_2
466 gsl_sf_laguerre_3
467 gsl_sf_laguerre_n_e
468 gsl_sf_laguerre_n
470 push @EXPORT_misc, qw/
471 gsl_sf_taylorcoeff_e
472 gsl_sf_taylorcoeff
473 gsl_sf_lnchoose_e
474 gsl_sf_lnchoose
475 gsl_sf_choose_e
476 gsl_sf_choose
477 gsl_sf_lnpoch_e
478 gsl_sf_lnpoch
479 gsl_sf_lnpoch_sgn_e
480 gsl_sf_poch_e
481 gsl_sf_poch
482 gsl_sf_pochrel_e
483 gsl_sf_pochrel
484 gsl_sf_lnbeta_e
485 gsl_sf_lnbeta
486 gsl_sf_lnbeta_sgn_e
487 gsl_sf_beta_e
488 gsl_sf_beta
489 gsl_sf_beta_inc_e
490 gsl_sf_beta_inc
491 gsl_sf_gegenpoly_1_e
492 gsl_sf_gegenpoly_2_e
493 gsl_sf_gegenpoly_3_e
494 gsl_sf_gegenpoly_1
495 gsl_sf_gegenpoly_2
496 gsl_sf_gegenpoly_3
497 gsl_sf_gegenpoly_n_e
498 gsl_sf_gegenpoly_n
499 gsl_sf_gegenpoly_array
500 gsl_sf_lambert_W0_e
501 gsl_sf_lambert_W0
502 gsl_sf_lambert_Wm1_e
503 gsl_sf_lambert_Wm1
504 gsl_sf_conicalP_half_e
505 gsl_sf_conicalP_half
506 gsl_sf_conicalP_mhalf_e
507 gsl_sf_conicalP_mhalf
508 gsl_sf_conicalP_0_e
509 gsl_sf_conicalP_0
510 gsl_sf_conicalP_1_e
511 gsl_sf_conicalP_1
512 gsl_sf_conicalP_sph_reg_e
513 gsl_sf_conicalP_sph_reg
514 gsl_sf_conicalP_cyl_reg_e
515 gsl_sf_conicalP_cyl_reg
516 gsl_sf_log_e
517 gsl_sf_log
518 gsl_sf_log_abs_e
519 gsl_sf_log_abs
520 gsl_sf_complex_log_e
521 gsl_sf_log_1plusx_e
522 gsl_sf_log_1plusx
523 gsl_sf_log_1plusx_mx_e
524 gsl_sf_log_1plusx_mx
525 gsl_sf_pow_int_e
526 gsl_sf_pow_int
527 gsl_sf_psi_int_e
528 gsl_sf_psi_int
529 gsl_sf_psi_e
530 gsl_sf_psi
531 gsl_sf_psi_1piy_e
532 gsl_sf_psi_1piy
533 gsl_sf_complex_psi_e
534 gsl_sf_psi_1_int_e
535 gsl_sf_psi_1_int
536 gsl_sf_psi_1_e
537 gsl_sf_psi_1
538 gsl_sf_psi_n_e
539 gsl_sf_psi_n
540 gsl_sf_result_smash_e
541 gsl_sf_synchrotron_1_e
542 gsl_sf_synchrotron_1
543 gsl_sf_synchrotron_2_e
544 gsl_sf_synchrotron_2
546 @EXPORT_mathieu = qw/
547 gsl_sf_mathieu_a_array
548 gsl_sf_mathieu_b_array
549 gsl_sf_mathieu_a
550 gsl_sf_mathieu_b
551 gsl_sf_mathieu_a_coeff
552 gsl_sf_mathieu_b_coeff
553 gsl_sf_mathieu_alloc
554 gsl_sf_mathieu_free
555 gsl_sf_mathieu_ce
556 gsl_sf_mathieu_se
557 gsl_sf_mathieu_ce_array
558 gsl_sf_mathieu_se_array
559 gsl_sf_mathieu_Mc
560 gsl_sf_mathieu_Ms
561 gsl_sf_mathieu_Mc_array
562 gsl_sf_mathieu_Ms_array
564 @EXPORT_transport = qw/
565 gsl_sf_transport_2_e
566 gsl_sf_transport_2
567 gsl_sf_transport_3_e
568 gsl_sf_transport_3
569 gsl_sf_transport_4_e
570 gsl_sf_transport_4
571 gsl_sf_transport_5_e
572 gsl_sf_transport_5
574 @EXPORT_trig = qw/
575 gsl_sf_sin_e
576 gsl_sf_sin
577 gsl_sf_sin_pi_x_e
578 gsl_sf_cos_e
579 gsl_sf_cos_pi_x_e
580 gsl_sf_cos
581 gsl_sf_hypot_e
582 gsl_sf_hypot
583 gsl_sf_complex_sin_e
584 gsl_sf_complex_cos_e
585 gsl_sf_complex_logsin_e
586 gsl_sf_sinc_e
587 gsl_sf_sinc
588 gsl_sf_lnsinh_e
589 gsl_sf_lnsinh
590 gsl_sf_lncosh_e
591 gsl_sf_lncosh
592 gsl_sf_polar_to_rect
593 gsl_sf_rect_to_polar
594 gsl_sf_sin_err_e
595 gsl_sf_cos_err_e
596 gsl_sf_angle_restrict_symm_e
597 gsl_sf_angle_restrict_symm
598 gsl_sf_angle_restrict_pos_e
599 gsl_sf_angle_restrict_pos
600 gsl_sf_angle_restrict_symm_err_e
601 gsl_sf_angle_restrict_pos_err_e
602 gsl_sf_atanint_e
603 gsl_sf_atanint
605 @EXPORT_zeta = qw/
606 gsl_sf_zeta_int_e
607 gsl_sf_zeta_int
608 gsl_sf_zeta_e
609 gsl_sf_zeta
610 gsl_sf_zetam1_e
611 gsl_sf_zetam1
612 gsl_sf_zetam1_int_e
613 gsl_sf_zetam1_int
614 gsl_sf_hzeta_e
615 gsl_sf_hzeta
617 @EXPORT_eta = qw/
618 gsl_sf_eta_int_e
619 gsl_sf_eta_int
620 gsl_sf_eta_e
621 gsl_sf_eta
623 @EXPORT_vars = qw/
624 GSL_SF_GAMMA_XMAX
625 GSL_SF_FACT_NMAX
626 GSL_SF_DOUBLEFACT_NMAX
627 GSL_SF_MATHIEU_COEFF
630 @EXPORT_OK = (
631 @EXPORT_airy, @EXPORT_bessel, @EXPORT_clausen, @EXPORT_hydrogenic,
632 @EXPORT_coulumb, @EXPORT_coupling, @EXPORT_dawson, @EXPORT_debye,
633 @EXPORT_dilog, @EXPORT_misc, @EXPORT_elliptic, @EXPORT_error, @EXPORT_legendre,
634 @EXPORT_gamma, @EXPORT_transport, @EXPORT_trig, @EXPORT_zeta, @EXPORT_eta,
635 @EXPORT_vars
638 %EXPORT_TAGS = (
639 all => [ @EXPORT_OK ],
640 airy => [ @EXPORT_airy ],
641 bessel => [ @EXPORT_bessel ],
642 clausen => [ @EXPORT_clausen ],
643 coulumb => [ @EXPORT_coulumb ],
644 coupling => [ @EXPORT_coupling ],
645 dawson => [ @EXPORT_dawson ],
646 debye => [ @EXPORT_debye ],
647 dilog => [ @EXPORT_dilog ],
648 eta => [ @EXPORT_eta ],
649 elliptic => [ @EXPORT_elliptic ],
650 error => [ @EXPORT_error ],
651 factorial => [ @EXPORT_factorial ],
652 gamma => [ @EXPORT_gamma ],
653 hydrogenic => [ @EXPORT_hydrogenic ],
654 hypergeometric => [ @EXPORT_hypergeometric ],
655 laguerre => [ @EXPORT_laguerre ],
656 legendre => [ @EXPORT_legendre ],
657 mathieu => [ @EXPORT_mathieu ],
658 misc => [ @EXPORT_misc ],
659 transport => [ @EXPORT_transport ],
660 trig => [ @EXPORT_trig ],
661 vars => [ @EXPORT_vars ],
662 zeta => [ @EXPORT_zeta ],
665 __END__
667 =head1 NAME
669 Math::GSL::SF - Special Functions
671 =head1 SYNOPSIS
673 use Math::GSL::SF qw /:all/;
675 =head1 DESCRIPTION
677 This module contains a data structure named gsl_sf_result. To create a new one use
679 $r = Math::GSL::SF::gsl_sf_result_struct->new;
681 You can then access the elements of the structure in this way :
683 my $val = $r->{val};
685 my $error = $r->{err};
687 Here is a list of all included functions:
689 =over
691 =item C<gsl_sf_airy_Ai_e($x, $mode)>
693 =item C<gsl_sf_airy_Ai($x, $mode, $result)>
695 - These routines compute the Airy function Ai($x) with an accuracy specified by $mode. $mode should be $GSL_PREC_DOUBLE, $GSL_PREC_SINGLE or $GSL_PREC_APPROX. $result is a gsl_sf_result structure.
697 =back
699 =over
701 =item C<gsl_sf_airy_Bi_e($x, $mode, $result)>
703 =item C<gsl_sf_airy_Bi($x, $mode)>
705 - These routines compute the Airy function Bi($x) with an accuracy specified by $mode. $mode should be $GSL_PREC_DOUBLE, $GSL_PREC_SINGLE or $GSL_PREC_APPROX. $result is a gsl_sf_result structure.
707 =back
709 =over
711 =item C<gsl_sf_airy_Ai_scaled_e($x, $mode, $result)>
713 =item C<gsl_sf_airy_Ai_scaled($x, $mode)>
715 - These routines compute a scaled version of the Airy function S_A($x) Ai($x). For $x>0 the scaling factor S_A($x) is \exp(+(2/3) $x**(3/2)), and is 1 for $x<0. $result is a gsl_sf_result structure.
717 =back
719 =over
721 =item C<gsl_sf_airy_Bi_scaled_e($x, $mode, $result)>
723 =item C<gsl_sf_airy_Bi_scaled($x, $mode)>
725 - These routines compute a scaled version of the Airy function S_B($x) Bi($x). For $x>0 the scaling factor S_B($x) is exp(-(2/3) $x**(3/2)), and is 1 for $x<0. $result is a gsl_sf_result structure.
727 =back
729 =over
731 =item C<gsl_sf_airy_Ai_deriv_e($x, $mode, $result)>
733 =item C<gsl_sf_airy_Ai_deriv($x, $mode)>
735 - These routines compute the Airy function derivative Ai'($x) with an accuracy specified by $mode. $result is a gsl_sf_result structure.
737 =back
739 =over
741 =item C<gsl_sf_airy_Bi_deriv_e($x, $mode, $result)>
743 =item C<gsl_sf_airy_Bi_deriv($x, $mode)>
745 -These routines compute the Airy function derivative Bi'($x) with an accuracy specified by $mode. $result is a gsl_sf_result structure.
747 =back
749 =over
751 =item C<gsl_sf_airy_Ai_deriv_scaled_e($x, $mode, $result)>
753 =item C<gsl_sf_airy_Ai_deriv_scaled($x, $mode)>
755 -These routines compute the scaled Airy function derivative S_A(x) Ai'(x). For x>0 the scaling factor S_A(x) is \exp(+(2/3) x^(3/2)), and is 1 for x<0. $result is a gsl_sf_result structure.
757 =back
759 =over
761 =item C<gsl_sf_airy_Bi_deriv_scaled_e($x, $mode, $result)>
763 =item C<gsl_sf_airy_Bi_deriv_scaled($x, $mode)>
765 -These routines compute the scaled Airy function derivative S_B(x) Bi'(x). For x>0 the scaling factor S_B(x) is exp(-(2/3) x^(3/2)), and is 1 for x<0. $result is a gsl_sf_result structure.
767 =back
769 =over
771 =item C<gsl_sf_airy_zero_Ai_e($s, $result)>
773 =item C<gsl_sf_airy_zero_Ai($s)>
775 -These routines compute the location of the s-th zero of the Airy function Ai($x). $result is a gsl_sf_result structure.
777 =back
779 =over
781 =item C<gsl_sf_airy_zero_Bi_e($s, $result)>
783 =item C<gsl_sf_airy_zero_Bi($s)>
785 -These routines compute the location of the s-th zero of the Airy function Bi($x). $result is a gsl_sf_result structure.
787 =back
789 =over
791 =item C<gsl_sf_airy_zero_Ai_deriv_e($s, $result)>
793 =item C<gsl_sf_airy_zero_Ai_deriv($s)>
795 -These routines compute the location of the s-th zero of the Airy function derivative Ai'(x). $result is a gsl_sf_result structure.
797 =back
799 =over
801 =item C<gsl_sf_airy_zero_Bi_deriv_e($s, $result)>
803 =item C<gsl_sf_airy_zero_Bi_deriv($s)>
805 - These routines compute the location of the s-th zero of the Airy function derivative Bi'(x). $result is a gsl_sf_result structure.
807 =back
809 =over
811 =item C<gsl_sf_bessel_J0_e($x, $result)>
813 =item C<gsl_sf_bessel_J0($x)>
815 -These routines compute the regular cylindrical Bessel function of zeroth order, J_0($x). $result is a gsl_sf_result structure.
817 =back
819 =over
821 =item C<gsl_sf_bessel_J1_e($x, $result)>
823 =item C<gsl_sf_bessel_J1($x)>
825 - These routines compute the regular cylindrical Bessel function of first order, J_1($x). $result is a gsl_sf_result structure.
827 =back
829 =over
831 =item C<gsl_sf_bessel_Jn_e($n, $x, $result)>
833 =item C<gsl_sf_bessel_Jn($n, $x)>
835 -These routines compute the regular cylindrical Bessel function of order n, J_n($x).
837 =back
839 =over
841 =item C<gsl_sf_bessel_Jn_array($nmin, $nmax, $x, $result_array)> - This routine computes the values of the regular cylindrical Bessel functions J_n($x) for n from $nmin to $nmax inclusive, storing the results in the array $result_array. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
843 =back
845 =over
847 =item C<gsl_sf_bessel_Y0_e($x, $result)>
849 =item C<gsl_sf_bessel_Y0($x)>
851 - These routines compute the irregular spherical Bessel function of zeroth order, y_0(x) = -\cos(x)/x.
853 =back
855 =over
857 =item C<gsl_sf_bessel_Y1_e($x, $result)>
859 =item C<gsl_sf_bessel_Y1($x)>
861 -These routines compute the irregular spherical Bessel function of first order, y_1(x) = -(\cos(x)/x + \sin(x))/x.
863 =back
865 =over
867 =item C<gsl_sf_bessel_Yn_e>($n, $x, $result)
869 =item C<gsl_sf_bessel_Yn($n, $x)>
871 -These routines compute the irregular cylindrical Bessel function of order $n, Y_n(x), for x>0.
873 =back
875 =over
877 =item C<gsl_sf_bessel_Yn_array>
881 =back
883 =over
885 =item C<gsl_sf_bessel_I0_e($x, $result)>
887 =item C<gsl_sf_bessel_I0($x)>
889 -These routines compute the regular modified cylindrical Bessel function of zeroth order, I_0(x).
891 =back
893 =over
895 =item C<gsl_sf_bessel_I1_e($x, $result)>
897 =item C<gsl_sf_bessel_I1($x)>
899 -These routines compute the regular modified cylindrical Bessel function of first order, I_1(x).
901 =back
903 =over
905 =item C<gsl_sf_bessel_In_e($n, $x, $result)>
907 =item C<gsl_sf_bessel_In($n, $x)>
909 -These routines compute the regular modified cylindrical Bessel function of order $n, I_n(x).
911 =back
913 =over
915 =item C<gsl_sf_bessel_In_array>
919 =back
921 =over
923 =item C<gsl_sf_bessel_I0_scaled_e($x, $result)>
925 =item C<gsl_sf_bessel_I0_scaled($x)>
927 -These routines compute the scaled regular modified cylindrical Bessel function of zeroth order \exp(-|x|) I_0(x).
929 =back
931 =over
933 =item C<gsl_sf_bessel_I1_scaled_e($x, $result)>
935 =item C<gsl_sf_bessel_I1_scaled($x)>
937 -These routines compute the scaled regular modified cylindrical Bessel function of first order \exp(-|x|) I_1(x).
939 =back
941 =over
943 =item C<gsl_sf_bessel_In_scaled_e($n, $x, $result)>
945 =item C<gsl_sf_bessel_In_scaled($n, $x)>
947 -These routines compute the scaled regular modified cylindrical Bessel function of order $n, \exp(-|x|) I_n(x)
949 =back
951 =over
953 =item C<gsl_sf_bessel_In_scaled_array>
957 =back
959 =over
961 =item C<gsl_sf_bessel_K0_e($x, $result)>
963 =item C<gsl_sf_bessel_K0($x)>
965 -These routines compute the irregular modified cylindrical Bessel function of zeroth order, K_0(x), for x > 0.
967 =back
969 =over
971 =item C<gsl_sf_bessel_K1_e($x, $result)>
973 =item C<gsl_sf_bessel_K1($x)>
975 -These routines compute the irregular modified cylindrical Bessel function of first order, K_1(x), for x > 0.
977 =back
979 =over
981 =item C<gsl_sf_bessel_Kn_e($n, $x, $result)>
983 =item C<gsl_sf_bessel_Kn($n, $x)>
985 -These routines compute the irregular modified cylindrical Bessel function of order $n, K_n(x), for x > 0.
987 =back
989 =over
991 =item C<gsl_sf_bessel_Kn_array>
995 =back
997 =over
999 =item C<gsl_sf_bessel_K0_scaled_e($x, $result)>
1001 =item C<gsl_sf_bessel_K0_scaled($x)>
1003 -These routines compute the scaled irregular modified cylindrical Bessel function of zeroth order \exp(x) K_0(x) for x>0.
1005 =back
1007 =over
1009 =item C<gsl_sf_bessel_K1_scaled_e($x, $result)>
1011 =item C<gsl_sf_bessel_K1_scaled($x)>
1015 =back
1017 =over
1019 =item C<gsl_sf_bessel_Kn_scaled_e($n, $x, $result)>
1021 =item C<gsl_sf_bessel_Kn_scaled($n, $x)>
1025 =back
1027 =over
1029 =item C<gsl_sf_bessel_Kn_scaled_array >
1033 =back
1035 =over
1037 =item C<gsl_sf_bessel_j0_e($x, $result)>
1039 =item C<gsl_sf_bessel_j0($x)>
1043 =back
1045 =over
1047 =item C<gsl_sf_bessel_j1_e($x, $result)>
1049 =item C<gsl_sf_bessel_j1($x)>
1053 =back
1055 =over
1057 =item C<gsl_sf_bessel_j2_e($x, $result)>
1059 =item C<gsl_sf_bessel_j2($x)>
1063 =back
1065 =over
1067 =item C<gsl_sf_bessel_jl_e($l, $x, $result)>
1069 =item C<gsl_sf_bessel_jl($l, $x)>
1073 =back
1075 =over
1077 =item C<gsl_sf_bessel_jl_array>
1081 =back
1083 =over
1085 =item C<gsl_sf_bessel_jl_steed_array>
1089 =back
1091 =over
1093 =item C<gsl_sf_bessel_y0_e($x, $result)>
1095 =item C<gsl_sf_bessel_y0($x)>
1099 =back
1101 =over
1103 =item C<gsl_sf_bessel_y1_e($x, $result)>
1105 =item C<gsl_sf_bessel_y1($x)>
1109 =back
1111 =over
1113 =item C<gsl_sf_bessel_y2_e($x, $result)>
1115 =item C<gsl_sf_bessel_y2($x)>
1119 =back
1121 =over
1123 =item C<gsl_sf_bessel_yl_e($l, $x, $result)>
1125 =item C<gsl_sf_bessel_yl($l, $x)>
1129 =back
1131 =over
1133 =item C<gsl_sf_bessel_yl_array>
1137 =back
1139 =over
1141 =item C<gsl_sf_bessel_i0_scaled_e($x, $result)>
1143 =item C<gsl_sf_bessel_i0_scaled($x)>
1147 =back
1149 =over
1151 =item C<gsl_sf_bessel_i1_scaled_e($x, $result)>
1153 =item C<gsl_sf_bessel_i1_scaled($x)>
1157 =back
1159 =over
1161 =item C<gsl_sf_bessel_i2_scaled_e($x, $result)>
1163 =item C<gsl_sf_bessel_i2_scaled($x)>
1167 =back
1169 =over
1171 =item C<gsl_sf_bessel_il_scaled_e($l, $x, $result)>
1173 =item C<gsl_sf_bessel_il_scaled($x)>
1177 =back
1179 =over
1181 =item C<gsl_sf_bessel_il_scaled_array>
1185 =back
1187 =over
1189 =item C<gsl_sf_bessel_k0_scaled_e($x, $result)>
1191 =item C<gsl_sf_bessel_k0_scale($x)>
1195 =back
1197 =over
1199 =item C<gsl_sf_bessel_k1_scaled_e($x, $result)>
1201 =item C<gsl_sf_bessel_k1_scaled($x)>
1205 =back
1207 =over
1209 =item C<gsl_sf_bessel_k2_scaled_e($x, $result) >
1211 =item C<gsl_sf_bessel_k2_scaled($x)>
1215 =back
1217 =over
1219 =item C<gsl_sf_bessel_kl_scaled_e($l, $x, $result)>
1221 =item C<gsl_sf_bessel_kl_scaled($l, $x)>
1225 =back
1227 =over
1229 =item C<gsl_sf_bessel_kl_scaled_array>
1233 =back
1235 =over
1237 =item C<gsl_sf_bessel_Jnu_e($nu, $x, $result)>
1239 =item C<gsl_sf_bessel_Jnu($nu, $x)>
1243 =back
1245 =over
1247 =item C<gsl_sf_bessel_sequence_Jnu_e >
1251 =back
1253 =over
1255 =item C<gsl_sf_bessel_Ynu_e($nu, $x, $result)>
1257 =item C<gsl_sf_bessel_Ynu($nu, $x)>
1261 =back
1263 =over
1265 =item C<gsl_sf_bessel_Inu_scaled_e($nu, $x, $result)>
1267 =item C<gsl_sf_bessel_Inu_scaled($nu, $x)>
1271 =back
1273 =over
1275 =item C<gsl_sf_bessel_Inu_e($nu, $x, $result)>
1277 =item C<gsl_sf_bessel_Inu($nu, $x)>
1281 =back
1283 =over
1285 =item C<gsl_sf_bessel_Knu_scaled_e($nu, $x, $result)>
1287 =item C<gsl_sf_bessel_Knu_scaled($nu, $x)>
1291 =back
1293 =over
1295 =item C<gsl_sf_bessel_Knu_e($nu, $x, $result)>
1297 =item C<gsl_sf_bessel_Knu($nu, $x)>
1301 =back
1303 =over
1305 =item C<gsl_sf_bessel_lnKnu_e($nu, $x, $result)>
1307 =item C<gsl_sf_bessel_lnKnu($nu, $x)>
1311 =back
1313 =over
1315 =item C<gsl_sf_bessel_zero_J0_e($s, $result)>
1317 =item C<gsl_sf_bessel_zero_J0($s)>
1321 =back
1323 =over
1325 =item C<gsl_sf_bessel_zero_J1_e($s, $result)>
1327 =item C<gsl_sf_bessel_zero_J1($s)>
1331 =back
1333 =over
1335 =item C<gsl_sf_bessel_zero_Jnu_e($nu, $s, $result)>
1337 =item C<gsl_sf_bessel_zero_Jnu($nu, $s)>
1341 =back
1343 =over
1345 =item C<gsl_sf_clausen_e($x, $result)>
1347 =item C<gsl_sf_clausen($x)>
1351 =back
1353 =over
1355 =item C<gsl_sf_hydrogenicR_1_e($Z, $r, $result)>
1357 =item C<gsl_sf_hydrogenicR_1($Z, $r)>
1361 =back
1363 =over
1365 =item C<gsl_sf_hydrogenicR_e($n, $l, $Z, $r, $result)>
1367 =item C<gsl_sf_hydrogenicR($n, $l, $Z, $r)>
1371 =back
1373 =over
1375 =item C<gsl_sf_coulomb_wave_FG_e($eta, $x, $L_F, $k, $F, gsl_sf_result * Fp, gsl_sf_result * G, $Gp)> - This function computes the Coulomb wave functions F_L(\eta,x), G_{L-k}(\eta,x) and their derivatives F'_L(\eta,x), G'_{L-k}(\eta,x) with respect to $x. The parameters are restricted to L, L-k > -1/2, x > 0 and integer $k. Note that L itself is not restricted to being an integer. The results are stored in the parameters $F, $G for the function values and $Fp, $Gp for the derivative values. $F, $G, $Fp, $Gp are all gsl_result structs. If an overflow occurs, $GSL_EOVRFLW is returned and scaling exponents are returned as second and third values.
1377 =item C<gsl_sf_coulomb_wave_F_array > -
1379 =item C<gsl_sf_coulomb_wave_FG_array> -
1381 =item C<gsl_sf_coulomb_wave_FGp_array> -
1383 =item C<gsl_sf_coulomb_wave_sphF_array> -
1385 =item C<gsl_sf_coulomb_CL_e($L, $eta, $result)> - This function computes the Coulomb wave function normalization constant C_L($eta) for $L > -1.
1387 =item C<gsl_sf_coulomb_CL_arrayi> -
1389 =back
1391 =over
1393 =item C<gsl_sf_coupling_3j_e($two_ja, $two_jb, $two_jc, $two_ma, $two_mb, $two_mc, $result)>
1395 =item C<gsl_sf_coupling_3j($two_ja, $two_jb, $two_jc, $two_ma, $two_mb, $two_mc)>
1397 - These routines compute the Wigner 3-j coefficient,
1398 (ja jb jc
1399 ma mb mc)
1400 where the arguments are given in half-integer units, ja = $two_ja/2, ma = $two_ma/2, etc.
1402 =back
1404 =over
1406 =item C<gsl_sf_coupling_6j_e($two_ja, $two_jb, $two_jc, $two_jd, $two_je, $two_jf, $result)>
1408 =item C<gsl_sf_coupling_6j($two_ja, $two_jb, $two_jc, $two_jd, $two_je, $two_jf)>
1410 - These routines compute the Wigner 6-j coefficient,
1411 {ja jb jc
1412 jd je jf}
1413 where the arguments are given in half-integer units, ja = $two_ja/2, ma = $two_ma/2, etc.
1415 =back
1417 =over
1419 =item C<gsl_sf_coupling_RacahW_e>
1421 =item C<gsl_sf_coupling_RacahW>
1425 =back
1427 =over
1429 =item C<gsl_sf_coupling_9j_e($two_ja, $two_jb, $two_jc, $two_jd, $two_je, $two_jf, $two_jg, $two_jh, $two_ji, $result)>
1431 =item C<gsl_sf_coupling_9j($two_ja, $two_jb, $two_jc, $two_jd, $two_je, $two_jf, $two_jg, $two_jh, $two_ji)>
1433 -These routines compute the Wigner 9-j coefficient,
1435 {ja jb jc
1436 jd je jf
1437 jg jh ji}
1438 where the arguments are given in half-integer units, ja = two_ja/2, ma = two_ma/2, etc.
1440 =back
1442 =over
1444 =item C<gsl_sf_dawson_e($x, $result)>
1446 =item C<gsl_sf_dawson($x)>
1448 -These routines compute the value of Dawson's integral for $x.
1450 =back
1452 =over
1454 =item C<gsl_sf_debye_1_e($x, $result)>
1456 =item C<gsl_sf_debye_1($x)>
1458 -These routines compute the first-order Debye function D_1(x) = (1/x) \int_0^x dt (t/(e^t - 1)).
1460 =back
1462 =over
1464 =item C<gsl_sf_debye_2_e($x, $result)>
1466 =item C<gsl_sf_debye_2($x)>
1468 -These routines compute the second-order Debye function D_2(x) = (2/x^2) \int_0^x dt (t^2/(e^t - 1)).
1470 =back
1472 =over
1474 =item C<gsl_sf_debye_3_e($x, $result)>
1476 =item C<gsl_sf_debye_3($x)>
1478 -These routines compute the third-order Debye function D_3(x) = (3/x^3) \int_0^x dt (t^3/(e^t - 1)).
1480 =back
1482 =over
1484 =item C<gsl_sf_debye_4_e($x, $result)>
1486 =item C<gsl_sf_debye_4($x)>
1488 -These routines compute the fourth-order Debye function D_4(x) = (4/x^4) \int_0^x dt (t^4/(e^t - 1)).
1490 =back
1492 =over
1494 =item C<gsl_sf_debye_5_e($x, $result)>
1496 =item C<gsl_sf_debye_5($x)>
1498 -These routines compute the fifth-order Debye function D_5(x) = (5/x^5) \int_0^x dt (t^5/(e^t - 1)).
1500 =back
1502 =over
1504 =item C<gsl_sf_debye_6_e($x, $result)>
1506 =item C<gsl_sf_debye_6($x)>
1508 -These routines compute the sixth-order Debye function D_6(x) = (6/x^6) \int_0^x dt (t^6/(e^t - 1)).
1510 =back
1512 =over
1514 =item C<gsl_sf_dilog_e ($x, $result)>
1516 =item C<gsl_sf_dilog($x)>
1518 - These routines compute the dilogarithm for a real argument. In Lewin's notation this is Li_2(x), the real part of the dilogarithm of a real x. It is defined by the integral representation Li_2(x) = - \Re \int_0^x ds \log(1-s) / s. Note that \Im(Li_2(x)) = 0 for x <= 1, and -\pi\log(x) for x > 1. Note that Abramowitz & Stegun refer to the Spence integral S(x)=Li_2(1-x) as the dilogarithm rather than Li_2(x).
1520 =back
1522 =over
1524 =item C<gsl_sf_complex_dilog_xy_e> -
1526 =item C<gsl_sf_complex_dilog_e($r, $theta, $result_re, $result_im)> - This function computes the full complex-valued dilogarithm for the complex argument z = r \exp(i \theta). The real and imaginary parts of the result are returned in the $result_re and $result_im gsl_result structs.
1528 =item C<gsl_sf_complex_spence_xy_e> -
1530 =back
1532 =over
1534 =item C<gsl_sf_multiply>
1536 =item C<gsl_sf_multiply_e($x, $y, $result)> - This function multiplies $x and $y storing the product and its associated error in $result.
1538 =item C<gsl_sf_multiply_err_e($x, $dx, $y, $dy, $result)> - This function multiplies $x and $y with associated absolute errors $dx and $dy. The product xy +/- xy \sqrt((dx/x)^2 +(dy/y)^2) is stored in $result.
1542 =back
1544 =over
1547 =item C<gsl_sf_ellint_Kcomp_e($k, $mode, $result)>
1549 =item C<gsl_sf_ellint_Kcomp($k, $mode)>
1551 -These routines compute the complete elliptic integral K($k) to the accuracy specified by the mode variable mode. Note that Abramowitz & Stegun define this function in terms of the parameter m = k^2.
1553 =back
1555 =over
1557 =item C<gsl_sf_ellint_Ecomp_e>
1559 =item C<gsl_sf_ellint_Ecomp>
1563 =back
1565 =over
1567 =item C<gsl_sf_ellint_Pcomp_e >
1569 =item C<gsl_sf_ellint_Pcomp>
1573 =back
1575 =over
1577 =item C<gsl_sf_ellint_Dcomp_e>
1579 =item C<gsl_sf_ellint_Dcomp >
1583 =back
1585 =over
1587 =item C<gsl_sf_ellint_F_e>
1589 =item C<gsl_sf_ellint_F>
1593 =back
1595 =over
1597 =item C<gsl_sf_ellint_E_e>
1599 =item C<gsl_sf_ellint_E>
1603 =back
1605 =over
1607 =item C<gsl_sf_ellint_P_e>
1609 =item C<gsl_sf_ellint_P>
1613 =back
1615 =over
1617 =item C<gsl_sf_ellint_D_e>
1619 =item C<gsl_sf_ellint_D>
1623 =back
1625 =over
1627 =item C<gsl_sf_ellint_RC_e >
1629 =item C<gsl_sf_ellint_RC>
1633 =back
1635 =over
1637 =item C<gsl_sf_ellint_RD_e>
1639 =item C<gsl_sf_ellint_RD >
1643 =back
1645 =over
1647 =item C<gsl_sf_ellint_RF_e>
1649 =item C<gsl_sf_ellint_RF>
1653 =back
1655 =over
1657 =item C<gsl_sf_ellint_RJ_e >
1659 =item C<gsl_sf_ellint_RJ>
1663 =back
1665 =over
1667 =item C<gsl_sf_elljac_e($u, $m)> - This function computes the Jacobian elliptic functions sn(u|m), cn(u|m), dn(u|m) by descending Landen transformations. The function returns 0 if the operation succeded, 1 otherwise and then returns the result of sn, cn and dn in this order.
1669 =item C<gsl_sf_erfc_e >
1671 =item C<gsl_sf_erfc>
1675 =back
1677 =over
1679 =item C<gsl_sf_log_erfc_e>
1681 =item C<gsl_sf_log_erfc >
1685 =back
1687 =over
1689 =item C<gsl_sf_erf_e>
1691 =item C<gsl_sf_erf>
1695 =back
1697 =over
1699 =item C<gsl_sf_erf_Z_e >
1701 =item C<gsl_sf_erf_Z>
1705 =back
1707 =over
1709 =item C<gsl_sf_erf_Q_e>
1711 =item C<gsl_sf_erf_Q >
1715 =back
1717 =over
1719 =item C<gsl_sf_hazard_e>
1721 =item C<gsl_sf_hazard>
1725 =back
1727 =over
1729 =item C<gsl_sf_exp_e >
1731 =item C<gsl_sf_exp>
1735 =back
1737 =over
1739 =item C<gsl_sf_exp_e10_e> -
1741 =item C<gsl_sf_exp_mult_e >
1743 =item C<gsl_sf_exp_mult>
1747 =back
1749 =over
1751 =item C<gsl_sf_exp_mult_e10_e> -
1753 =item C<gsl_sf_expm1_e >
1755 =item C<gsl_sf_expm1>
1759 =back
1761 =over
1763 =item C<gsl_sf_exprel_e>
1765 =item C<gsl_sf_exprel >
1769 =back
1771 =over
1773 =item C<gsl_sf_exprel_2_e>
1775 =item C<gsl_sf_exprel_2>
1779 =back
1781 =over
1783 =item C<gsl_sf_exprel_n_e >
1785 =item C<gsl_sf_exprel_n>
1789 =back
1791 =over
1793 =item C<gsl_sf_exp_err_e> -
1795 =item C<gsl_sf_exp_err_e10_e > -
1797 =item C<gsl_sf_exp_mult_err_e> -
1799 =item C<gsl_sf_exp_mult_err_e10_e> -
1801 =item C<gsl_sf_expint_E1_e >
1803 =item C<gsl_sf_expint_E1>
1807 =back
1809 =over
1811 =item C<gsl_sf_expint_E2_e>
1813 =item C<gsl_sf_expint_E2 >
1817 =back
1819 =over
1821 =item C<gsl_sf_expint_En_e>
1823 =item C<gsl_sf_expint_En>
1827 =back
1829 =over
1831 =item C<gsl_sf_expint_E1_scaled_e >
1833 =item C<gsl_sf_expint_E1_scaled>
1837 =back
1839 =over
1841 =item C<gsl_sf_expint_E2_scaled_e>
1843 =item C<gsl_sf_expint_E2_scaled >
1847 =back
1849 =over
1851 =item C<gsl_sf_expint_En_scaled_e>
1853 =item C<gsl_sf_expint_En_scaled>
1857 =back
1859 =over
1861 =item C<gsl_sf_expint_Ei_e >
1863 =item C<gsl_sf_expint_Ei>
1867 =back
1869 =over
1871 =item C<gsl_sf_expint_Ei_scaled_e>
1873 =item C<gsl_sf_expint_Ei_scaled >
1877 =back
1879 =over
1881 =item C<gsl_sf_Shi_e>
1883 =item C<gsl_sf_Shi>
1887 =back
1889 =over
1891 =item C<gsl_sf_Chi_e >
1893 =item C<gsl_sf_Chi>
1897 =back
1899 =over
1901 =item C<gsl_sf_expint_3_e>
1903 =item C<gsl_sf_expint_3 >
1907 =back
1909 =over
1911 =item C<gsl_sf_Si_e>
1913 =item C<gsl_sf_Si>
1917 =back
1919 =over
1921 =item C<gsl_sf_Ci_e >
1923 =item C<gsl_sf_Ci>
1927 =back
1929 =over
1931 =item C<gsl_sf_fermi_dirac_m1_e>
1933 =item C<gsl_sf_fermi_dirac_m1 >
1937 =back
1939 =over
1941 =item C<gsl_sf_fermi_dirac_0_e>
1943 =item C<gsl_sf_fermi_dirac_0>
1947 =back
1949 =over
1951 =item C<gsl_sf_fermi_dirac_1_e >
1953 =item C<gsl_sf_fermi_dirac_1>
1957 =back
1959 =over
1961 =item C<gsl_sf_fermi_dirac_2_e>
1963 =item C<gsl_sf_fermi_dirac_2 >
1967 =back
1969 =over
1971 =item C<gsl_sf_fermi_dirac_int_e>
1973 =item C<gsl_sf_fermi_dirac_int>
1977 =back
1979 =over
1981 =item C<gsl_sf_fermi_dirac_mhalf_e >
1983 =item C<gsl_sf_fermi_dirac_mhalf>
1987 =back
1989 =over
1991 =item C<gsl_sf_fermi_dirac_half_e>
1993 =item C<gsl_sf_fermi_dirac_half >
1997 =back
1999 =over
2001 =item C<gsl_sf_fermi_dirac_3half_e>
2003 =item C<gsl_sf_fermi_dirac_3half>
2007 =back
2009 =over
2011 =item C<gsl_sf_fermi_dirac_inc_0_e >
2013 =item C<gsl_sf_fermi_dirac_inc_0>
2017 =back
2019 =over
2021 =item C<gsl_sf_legendre_Pl_e>
2023 =item C<gsl_sf_legendre_Pl >
2027 =back
2029 =over
2031 =item C<gsl_sf_legendre_Pl_array>
2033 =item C<gsl_sf_legendre_Pl_deriv_array>
2037 =back
2039 =over
2041 =item C<gsl_sf_legendre_P1_e >
2043 =item C<gsl_sf_legendre_P2_e>
2045 =item C<gsl_sf_legendre_P3_e>
2047 =item C<gsl_sf_legendre_P1 >
2049 =item C<gsl_sf_legendre_P2>
2051 =item C<gsl_sf_legendre_P3>
2055 =back
2057 =over
2059 =item C<gsl_sf_legendre_Q0_e >
2061 =item C<gsl_sf_legendre_Q0>
2065 =back
2067 =over
2069 =item C<gsl_sf_legendre_Q1_e>
2071 =item C<gsl_sf_legendre_Q1 >
2075 =back
2077 =over
2079 =item C<gsl_sf_legendre_Ql_e>
2081 =item C<gsl_sf_legendre_Ql>
2085 =back
2087 =over
2089 =item C<gsl_sf_legendre_Plm_e >
2091 =item C<gsl_sf_legendre_Plm>
2095 =back
2097 =over
2099 =item C<gsl_sf_legendre_Plm_array>
2101 =item C<gsl_sf_legendre_Plm_deriv_array >
2105 =back
2107 =over
2109 =item C<gsl_sf_legendre_sphPlm_e>
2111 =item C<gsl_sf_legendre_sphPlm>
2115 =back
2117 =over
2119 =item C<gsl_sf_legendre_sphPlm_array >
2121 =item C<gsl_sf_legendre_sphPlm_deriv_array>
2125 =back
2127 =over
2129 =item C<gsl_sf_legendre_array_size> -
2131 =item C<gsl_sf_lngamma_e >
2133 =item C<gsl_sf_lngamma>
2137 =back
2139 =over
2141 =item C<gsl_sf_lngamma_sgn_e>
2143 =item C<gsl_sf_gamma_e >
2145 =item C<gsl_sf_gamma>
2147 =item C<gsl_sf_gammastar_e>
2149 =item C<gsl_sf_gammastar >
2151 =item C<gsl_sf_gammainv_e>
2153 =item C<gsl_sf_gammainv>
2155 =item C<gsl_sf_lngamma_complex_e >
2157 =item C<gsl_sf_gamma_inc_Q_e>
2159 =item C<gsl_sf_gamma_inc_Q>
2161 =item C<gsl_sf_gamma_inc_P_e >
2163 =item C<gsl_sf_gamma_inc_P>
2165 =item C<gsl_sf_gamma_inc_e>
2167 =item C<gsl_sf_gamma_inc >
2169 =item C<gsl_sf_taylorcoeff_e>
2171 =item C<gsl_sf_taylorcoeff>
2173 =item C<gsl_sf_fact_e >
2175 =item C<gsl_sf_fact>
2177 =item C<gsl_sf_doublefact_e>
2179 =item C<gsl_sf_doublefact >
2181 =item C<gsl_sf_lnfact_e>
2183 =item C<gsl_sf_lnfact>
2185 =item C<gsl_sf_lndoublefact_e >
2187 =item C<gsl_sf_lndoublefact>
2189 =item C<gsl_sf_lnchoose_e>
2191 =item C<gsl_sf_lnchoose >
2193 =item C<gsl_sf_choose_e>
2195 =item C<gsl_sf_choose>
2197 =item C<gsl_sf_lnpoch_e >
2199 =item C<gsl_sf_lnpoch>
2201 =item C<gsl_sf_lnpoch_sgn_e>
2203 =item C<gsl_sf_poch_e >
2205 =item C<gsl_sf_poch>
2207 =item C<gsl_sf_pochrel_e>
2209 =item C<gsl_sf_pochrel >
2211 =item C<gsl_sf_lnbeta_e>
2213 =item C<gsl_sf_lnbeta>
2215 =item C<gsl_sf_lnbeta_sgn_e >
2217 =item C<gsl_sf_beta_e>
2219 =item C<gsl_sf_beta>
2221 =item C<gsl_sf_beta_inc_e >
2223 =item C<gsl_sf_beta_inc>
2225 =item C<gsl_sf_gegenpoly_1_e>
2227 =item C<gsl_sf_gegenpoly_2_e >
2229 =item C<gsl_sf_gegenpoly_3_e>
2231 =item C<gsl_sf_gegenpoly_1>
2233 =item C<gsl_sf_gegenpoly_2 >
2235 =item C<gsl_sf_gegenpoly_3>
2237 =item C<gsl_sf_gegenpoly_n_e>
2239 =item C<gsl_sf_gegenpoly_n >
2241 =item C<gsl_sf_gegenpoly_array>
2243 =item C<gsl_sf_hyperg_0F1_e>
2245 =item C<gsl_sf_hyperg_0F1 >
2247 =item C<gsl_sf_hyperg_1F1_int_e>
2249 =item C<gsl_sf_hyperg_1F1_int>
2251 =item C<gsl_sf_hyperg_1F1_e >
2253 =item C<gsl_sf_hyperg_1F1>
2255 =item C<gsl_sf_hyperg_U_int_e>
2257 =item C<gsl_sf_hyperg_U_int >
2259 =item C<gsl_sf_hyperg_U_int_e10_e>
2261 =item C<gsl_sf_hyperg_U_e>
2263 =item C<gsl_sf_hyperg_U >
2265 =item C<gsl_sf_hyperg_U_e10_e>
2267 =item C<gsl_sf_hyperg_2F1_e>
2269 =item C<gsl_sf_hyperg_2F1 >
2271 =item C<gsl_sf_hyperg_2F1_conj_e>
2273 =item C<gsl_sf_hyperg_2F1_conj>
2275 =item C<gsl_sf_hyperg_2F1_renorm_e >
2277 =item C<gsl_sf_hyperg_2F1_renorm>
2279 =item C<gsl_sf_hyperg_2F1_conj_renorm_e>
2281 =item C<gsl_sf_hyperg_2F1_conj_renorm >
2283 =item C<gsl_sf_hyperg_2F0_e>
2285 =item C<gsl_sf_hyperg_2F0>
2287 =item C<gsl_sf_laguerre_1_e >
2289 =item C<gsl_sf_laguerre_2_e>
2291 =item C<gsl_sf_laguerre_3_e>
2293 =item C<gsl_sf_laguerre_1 >
2295 =item C<gsl_sf_laguerre_2>
2297 =item C<gsl_sf_laguerre_3>
2299 =item C<gsl_sf_laguerre_n_e >
2301 =item C<gsl_sf_laguerre_n>
2303 =item C<gsl_sf_lambert_W0_e>
2305 =item C<gsl_sf_lambert_W0 >
2307 =item C<gsl_sf_lambert_Wm1_e>
2309 =item C<gsl_sf_lambert_Wm1>
2311 =item C<gsl_sf_conicalP_half_e >
2313 =item C<gsl_sf_conicalP_half>
2315 =item C<gsl_sf_conicalP_mhalf_e>
2317 =item C<gsl_sf_conicalP_mhalf >
2319 =item C<gsl_sf_conicalP_0_e>
2321 =item C<gsl_sf_conicalP_0>
2323 =item C<gsl_sf_conicalP_1_e >
2325 =item C<gsl_sf_conicalP_1>
2327 =item C<gsl_sf_conicalP_sph_reg_e>
2329 =item C<gsl_sf_conicalP_sph_reg >
2331 =item C<gsl_sf_conicalP_cyl_reg_e>
2333 =item C<gsl_sf_conicalP_cyl_reg>
2335 =item C<gsl_sf_legendre_H3d_0_e >
2337 =item C<gsl_sf_legendre_H3d_0>
2339 =item C<gsl_sf_legendre_H3d_1_e>
2341 =item C<gsl_sf_legendre_H3d_1 >
2343 =item C<gsl_sf_legendre_H3d_e>
2345 =item C<gsl_sf_legendre_H3d>
2347 =item C<gsl_sf_legendre_H3d_array >
2349 =item C<gsl_sf_log_e>
2351 =item C<gsl_sf_log>
2353 =item C<gsl_sf_log_abs_e >
2355 =item C<gsl_sf_log_abs>
2357 =item C<gsl_sf_complex_log_e>
2359 =item C<gsl_sf_log_1plusx_e >
2361 =item C<gsl_sf_log_1plusx>
2363 =item C<gsl_sf_log_1plusx_mx_e>
2365 =item C<gsl_sf_log_1plusx_mx >
2367 =item C<gsl_sf_mathieu_a_array>
2369 =item C<gsl_sf_mathieu_b_array>
2371 =item C<gsl_sf_mathieu_a >
2373 =item C<gsl_sf_mathieu_b>
2375 =item C<gsl_sf_mathieu_a_coeff>
2377 =item C<gsl_sf_mathieu_b_coeff >
2379 =item C<gsl_sf_mathieu_alloc>
2381 =item C<gsl_sf_mathieu_free>
2383 =item C<gsl_sf_mathieu_ce >
2385 =item C<gsl_sf_mathieu_se>
2387 =item C<gsl_sf_mathieu_ce_array>
2389 =item C<gsl_sf_mathieu_se_array >
2391 =item C<gsl_sf_mathieu_Mc>
2393 =item C<gsl_sf_mathieu_Ms>
2395 =item C<gsl_sf_mathieu_Mc_array >
2397 =item C<gsl_sf_mathieu_Ms_array>
2399 =item C<gsl_sf_pow_int_e>
2401 =item C<gsl_sf_pow_int >
2403 =item C<gsl_sf_psi_int_e>
2405 =item C<gsl_sf_psi_int>
2407 =item C<gsl_sf_psi_e >
2409 =item C<gsl_sf_psi>
2411 =item C<gsl_sf_psi_1piy_e>
2413 =item C<gsl_sf_psi_1piy >
2415 =item C<gsl_sf_complex_psi_e gsl_sf_psi_1_int_e>
2417 =item C<gsl_sf_psi_1_int >
2419 =item C<gsl_sf_psi_1_e >
2421 =item C<gsl_sf_psi_1>
2423 =item C<gsl_sf_psi_n_e >
2425 =item C<gsl_sf_psi_n>
2427 =item C<gsl_sf_result_smash_e>
2429 =item C<gsl_sf_synchrotron_1_e >
2431 =item C<gsl_sf_synchrotron_1>
2433 =item C<gsl_sf_synchrotron_2_e>
2435 =item C<gsl_sf_synchrotron_2 >
2437 =item C<gsl_sf_transport_2_e>
2439 =item C<gsl_sf_transport_2>
2441 =item C<gsl_sf_transport_3_e >
2443 =item C<gsl_sf_transport_3>
2445 =item C<gsl_sf_transport_4_e>
2447 =item C<gsl_sf_transport_4 >
2449 =item C<gsl_sf_transport_5_e>
2451 =item C<gsl_sf_transport_5>
2453 =item C<gsl_sf_sin_e >
2455 =item C<gsl_sf_sin>
2457 =item C<gsl_sf_cos_e>
2459 =item C<gsl_sf_cos >
2461 =item C<gsl_sf_hypot_e>
2463 =item C<gsl_sf_hypot>
2465 =item C<gsl_sf_complex_sin_e >
2467 =item C<gsl_sf_complex_cos_e>
2469 =item C<gsl_sf_complex_logsin_e>
2471 =item C<gsl_sf_sinc_e >
2473 =item C<gsl_sf_sinc>
2475 =item C<gsl_sf_lnsinh_e>
2477 =item C<gsl_sf_lnsinh >
2479 =item C<gsl_sf_lncosh_e>
2481 =item C<gsl_sf_lncosh>
2483 =item C<gsl_sf_polar_to_rect >
2485 =item C<gsl_sf_rect_to_polar>
2487 =item C<gsl_sf_sin_err_e>
2489 =item C<gsl_sf_cos_err_e >
2491 =item C<gsl_sf_angle_restrict_symm_e>
2493 =item C<gsl_sf_angle_restrict_symm>
2495 =item C<gsl_sf_angle_restrict_pos_e >
2497 =item C<gsl_sf_angle_restrict_pos>
2499 =item C<gsl_sf_angle_restrict_symm_err_e>
2501 =item C<gsl_sf_angle_restrict_pos_err_e >
2503 =item C<gsl_sf_atanint_e>
2505 =item C<gsl_sf_atanint>
2507 =item C<gsl_sf_zeta_int_e >
2509 =item C<gsl_sf_zeta_int>
2511 =item C<gsl_sf_zeta_e gsl_sf_zeta >
2513 =item C<gsl_sf_zetam1_e>
2515 =item C<gsl_sf_zetam1>
2517 =item C<gsl_sf_zetam1_int_e >
2519 =item C<gsl_sf_zetam1_int>
2521 =item C<gsl_sf_hzeta_e>
2523 =item C<gsl_sf_hzeta >
2525 =item C<gsl_sf_eta_int_e>
2527 =item C<gsl_sf_eta_int>
2529 =item C<gsl_sf_eta_e>
2531 =item C<gsl_sf_eta >
2533 =back
2535 This module also contains the following constants used as mode in various of those functions :
2537 =over
2539 =item * GSL_PREC_DOUBLE - Double-precision, a relative accuracy of approximately 2 * 10^-16.
2541 =item * GSL_PREC_SINGLE - Single-precision, a relative accuracy of approximately 10^-7.
2543 =item * GSL_PREC_APPROX - Approximate values, a relative accuracy of approximately 5 * 10^-4.
2545 =back
2547 You can import the functions that you want to use by giving a space separated
2548 list to Math::GSL::SF when you use the package. You can also write
2549 use Math::GSL::SF qw/:all/
2550 to use all avaible functions of the module. Note that
2551 the tag names begin with a colon. Other tags are also available, here is a
2552 complete list of all tags for this module :
2554 =over
2556 =item C<airy>
2558 =item C<bessel>
2560 =item C<clausen>
2562 =item C<hydrogenic>
2564 =item C<coulumb>
2566 =item C<coupling>
2568 =item C<dawson>
2570 =item C<debye>
2572 =item C<dilog>
2574 =item C<factorial>
2576 =item C<misc>
2578 =item C<elliptic>
2580 =item C<error>
2582 =item C<hypergeometric>
2584 =item C<laguerre>
2586 =item C<legendre>
2588 =item C<gamma>
2590 =item C<transport>
2592 =item C<trig>
2594 =item C<zeta>
2596 =item C<eta>
2598 =item C<vars>
2600 =back
2602 For more informations on the functions, we refer you to the GSL offcial
2603 documentation: L<http://www.gnu.org/software/gsl/manual/html_node/>
2605 Tip : search on google: site:http://www.gnu.org/software/gsl/manual/html_node/name_of_the_function_you_want
2607 =head1 EXAMPLES
2609 This example computes the dilogarithm of 1/10 :
2611 use Math::GSL::SF qw/dilog/;
2612 my $x = gsl_sf_dilog(0.1);
2613 print "gsl_sf_dilog(0.1) = $x\n";
2615 An example using Math::GSL::SF and gnuplot is in the B<examples/sf> folder of the source code.
2617 =head1 AUTHORS
2619 Jonathan Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>
2621 =head1 COPYRIGHT AND LICENSE
2623 Copyright (C) 2008 Jonathan Leto and Thierry Moisan
2625 This program is free software; you can redistribute it and/or modify it
2626 under the same terms as Perl itself.
2628 =cut