1GAMMA(3)              User Contributed Perl Documentation             GAMMA(3)
2
3
4

NAME

6       PDL::GSLSF::GAMMA - PDL interface to GSL Special Functions
7

DESCRIPTION

9       This is an interface to the Special Function package present in the GNU
10       Scientific Library.
11

SYNOPSIS

Functions

FUNCTIONS

15       gsl_sf_lngamma
16
17         Signature: (double x(); double [o]y(); double [o]s(); double [o]e())
18
19       Log[Gamma(x)], x not a negative integer Uses real Lanczos method.
20       Determines the sign of Gamma[x] as well as Log[⎪Gamma[x]⎪] for x < 0.
21       So Gamma[x] = sgn * Exp[result_lg].
22
23       gsl_sf_gamma
24
25         Signature: (double x(); double [o]y(); double [o]e())
26
27       Gamma(x), x not a negative integer
28
29       gsl_sf_gammastar
30
31         Signature: (double x(); double [o]y(); double [o]e())
32
33       Regulated Gamma Function, x > 0 Gamma^*(x) = Gamma(x)/(Sqrt[2Pi]
34       x^(x-1/2) exp(-x)) = (1 + 1/(12x) + ...),  x->Inf
35
36       gsl_sf_gammainv
37
38         Signature: (double x(); double [o]y(); double [o]e())
39
40       1/Gamma(x)
41
42       gsl_sf_lngamma_complex
43
44         Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
45
46       Log[Gamma(z)] for z complex, z not a negative integer. Calculates: lnr
47       = log⎪Gamma(z)⎪, arg = arg(Gamma(z))  in (-Pi, Pi]
48
49       gsl_sf_taylorcoeff
50
51         Signature: (double x(); double [o]y(); double [o]e(); int n)
52
53       x^n / n!
54
55       gsl_sf_fact
56
57         Signature: (x(); double [o]y(); double [o]e())
58
59       n!
60
61       gsl_sf_doublefact
62
63         Signature: (x(); double [o]y(); double [o]e())
64
65       n!! = n(n-2)(n-4)
66
67       gsl_sf_lnfact
68
69         Signature: (x(); double [o]y(); double [o]e())
70
71       ln n!
72
73       gsl_sf_lndoublefact
74
75         Signature: (x(); double [o]y(); double [o]e())
76
77       ln n!!
78
79       gsl_sf_lnchoose
80
81         Signature: (n(); m(); double [o]y(); double [o]e())
82
83       log(n choose m)
84
85       gsl_sf_choose
86
87         Signature: (n(); m(); double [o]y(); double [o]e())
88
89       n choose m
90
91       gsl_sf_lnpoch
92
93         Signature: (double x(); double [o]y(); double [o]s(); double [o]e(); double a)
94
95       Logarithm of Pochammer (Apell) symbol, with sign information. result =
96       log( ⎪(a)_x⎪ ), sgn    = sgn( (a)_x ) where (a)_x := Gamma[a +
97       x]/Gamma[a]
98
99       gsl_sf_poch
100
101         Signature: (double x(); double [o]y(); double [o]e(); double a)
102
103       Pochammer (Apell) symbol (a)_x := Gamma[a + x]/Gamma[x]
104
105       gsl_sf_pochrel
106
107         Signature: (double x(); double [o]y(); double [o]e(); double a)
108
109       Relative Pochammer (Apell) symbol ((a,x) - 1)/x where (a,x) = (a)_x :=
110       Gamma[a + x]/Gamma[a]
111
112       gsl_sf_gamma_inc_Q
113
114         Signature: (double x(); double [o]y(); double [o]e(); double a)
115
116       Normalized Incomplete Gamma Function Q(a,x) = 1/Gamma(a) Integral[
117       t^(a-1) e^(-t), {t,x,Infinity} ]
118
119       gsl_sf_gamma_inc_P
120
121         Signature: (double x(); double [o]y(); double [o]e(); double a)
122
123       Complementary Normalized Incomplete Gamma Function P(a,x) = 1/Gamma(a)
124       Integral[ t^(a-1) e^(-t), {t,0,x} ]
125
126       gsl_sf_lnbeta
127
128         Signature: (double a(); double b(); double [o]y(); double [o]e())
129
130       Logarithm of Beta Function Log[B(a,b)]
131
132       gsl_sf_beta
133
134         Signature: (double a(); double b();double [o]y(); double [o]e())
135
136       Beta Function B(a,b)
137

AUTHOR

139       This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.tri‐
140       este.it> All rights reserved. There is no warranty. You are allowed to
141       redistribute this software / documentation under certain conditions.
142       For details, see the file COPYING in the PDL distribution. If this file
143       is separated from the PDL distribution, the copyright notice should be
144       included in the file.
145
146       The GSL SF modules were written by G. Jungman.
147
148
149
150perl v5.8.8                       2006-12-02                          GAMMA(3)
Impressum