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         Signature: (double x(); double [o]y(); double [o]s(); double [o]e())
17
18       Log[Gamma(x)], x not a negative integer Uses real Lanczos method.
19       Determines the sign of Gamma[x] as well as Log[|Gamma[x]|] for x < 0.
20       So Gamma[x] = sgn * Exp[result_lg].
21
22       gsl_sf_lngamma does not process bad values.  It will set the bad-value
23       flag of all output piddles if the flag is set for any of the input
24       piddles.
25
26   gsl_sf_gamma
27         Signature: (double x(); double [o]y(); double [o]e())
28
29       Gamma(x), x not a negative integer
30
31       gsl_sf_gamma does not process bad values.  It will set the bad-value
32       flag of all output piddles if the flag is set for any of the input
33       piddles.
34
35   gsl_sf_gammastar
36         Signature: (double x(); double [o]y(); double [o]e())
37
38       Regulated Gamma Function, x > 0 Gamma^*(x) = Gamma(x)/(Sqrt[2Pi]
39       x^(x-1/2) exp(-x)) = (1 + 1/(12x) + ...),  x->Inf
40
41       gsl_sf_gammastar does not process bad values.  It will set the bad-
42       value flag of all output piddles if the flag is set for any of the
43       input piddles.
44
45   gsl_sf_gammainv
46         Signature: (double x(); double [o]y(); double [o]e())
47
48       1/Gamma(x)
49
50       gsl_sf_gammainv does not process bad values.  It will set the bad-value
51       flag of all output piddles if the flag is set for any of the input
52       piddles.
53
54   gsl_sf_lngamma_complex
55         Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
56
57       Log[Gamma(z)] for z complex, z not a negative integer. Calculates: lnr
58       = log|Gamma(z)|, arg = arg(Gamma(z))  in (-Pi, Pi]
59
60       gsl_sf_lngamma_complex does not process bad values.  It will set the
61       bad-value flag of all output piddles if the flag is set for any of the
62       input piddles.
63
64   gsl_sf_taylorcoeff
65         Signature: (double x(); double [o]y(); double [o]e(); int n)
66
67       x^n / n!
68
69       gsl_sf_taylorcoeff does not process bad values.  It will set the bad-
70       value flag of all output piddles if the flag is set for any of the
71       input piddles.
72
73   gsl_sf_fact
74         Signature: (x(); double [o]y(); double [o]e())
75
76       n!
77
78       gsl_sf_fact does not process bad values.  It will set the bad-value
79       flag of all output piddles if the flag is set for any of the input
80       piddles.
81
82   gsl_sf_doublefact
83         Signature: (x(); double [o]y(); double [o]e())
84
85       n!! = n(n-2)(n-4)
86
87       gsl_sf_doublefact does not process bad values.  It will set the bad-
88       value flag of all output piddles if the flag is set for any of the
89       input piddles.
90
91   gsl_sf_lnfact
92         Signature: (x(); double [o]y(); double [o]e())
93
94       ln n!
95
96       gsl_sf_lnfact does not process bad values.  It will set the bad-value
97       flag of all output piddles if the flag is set for any of the input
98       piddles.
99
100   gsl_sf_lndoublefact
101         Signature: (x(); double [o]y(); double [o]e())
102
103       ln n!!
104
105       gsl_sf_lndoublefact does not process bad values.  It will set the bad-
106       value flag of all output piddles if the flag is set for any of the
107       input piddles.
108
109   gsl_sf_lnchoose
110         Signature: (n(); m(); double [o]y(); double [o]e())
111
112       log(n choose m)
113
114       gsl_sf_lnchoose does not process bad values.  It will set the bad-value
115       flag of all output piddles if the flag is set for any of the input
116       piddles.
117
118   gsl_sf_choose
119         Signature: (n(); m(); double [o]y(); double [o]e())
120
121       n choose m
122
123       gsl_sf_choose does not process bad values.  It will set the bad-value
124       flag of all output piddles if the flag is set for any of the input
125       piddles.
126
127   gsl_sf_lnpoch
128         Signature: (double x(); double [o]y(); double [o]s(); double [o]e(); double a)
129
130       Logarithm of Pochammer (Apell) symbol, with sign information. result =
131       log( |(a)_x| ), sgn    = sgn( (a)_x ) where (a)_x := Gamma[a +
132       x]/Gamma[a]
133
134       gsl_sf_lnpoch does not process bad values.  It will set the bad-value
135       flag of all output piddles if the flag is set for any of the input
136       piddles.
137
138   gsl_sf_poch
139         Signature: (double x(); double [o]y(); double [o]e(); double a)
140
141       Pochammer (Apell) symbol (a)_x := Gamma[a + x]/Gamma[x]
142
143       gsl_sf_poch does not process bad values.  It will set the bad-value
144       flag of all output piddles if the flag is set for any of the input
145       piddles.
146
147   gsl_sf_pochrel
148         Signature: (double x(); double [o]y(); double [o]e(); double a)
149
150       Relative Pochammer (Apell) symbol ((a,x) - 1)/x where (a,x) = (a)_x :=
151       Gamma[a + x]/Gamma[a]
152
153       gsl_sf_pochrel does not process bad values.  It will set the bad-value
154       flag of all output piddles if the flag is set for any of the input
155       piddles.
156
157   gsl_sf_gamma_inc_Q
158         Signature: (double x(); double [o]y(); double [o]e(); double a)
159
160       Normalized Incomplete Gamma Function Q(a,x) = 1/Gamma(a) Integral[
161       t^(a-1) e^(-t), {t,x,Infinity} ]
162
163       gsl_sf_gamma_inc_Q does not process bad values.  It will set the bad-
164       value flag of all output piddles if the flag is set for any of the
165       input piddles.
166
167   gsl_sf_gamma_inc_P
168         Signature: (double x(); double [o]y(); double [o]e(); double a)
169
170       Complementary Normalized Incomplete Gamma Function P(a,x) = 1/Gamma(a)
171       Integral[ t^(a-1) e^(-t), {t,0,x} ]
172
173       gsl_sf_gamma_inc_P does not process bad values.  It will set the bad-
174       value flag of all output piddles if the flag is set for any of the
175       input piddles.
176
177   gsl_sf_lnbeta
178         Signature: (double a(); double b(); double [o]y(); double [o]e())
179
180       Logarithm of Beta Function Log[B(a,b)]
181
182       gsl_sf_lnbeta does not process bad values.  It will set the bad-value
183       flag of all output piddles if the flag is set for any of the input
184       piddles.
185
186   gsl_sf_beta
187         Signature: (double a(); double b();double [o]y(); double [o]e())
188
189       Beta Function B(a,b)
190
191       gsl_sf_beta does not process bad values.  It will set the bad-value
192       flag of all output piddles if the flag is set for any of the input
193       piddles.
194

AUTHOR

196       This file copyright (C) 1999 Christian Pellegrin
197       <chri@infis.univ.trieste.it> All rights reserved. There is no warranty.
198       You are allowed to redistribute this software / documentation under
199       certain conditions. For details, see the file COPYING in the PDL
200       distribution. If this file is separated from the PDL distribution, the
201       copyright notice should be included in the file.
202
203       The GSL SF modules were written by G. Jungman.
204
205
206
207perl v5.12.3                      2011-03-31                          GAMMA(3)
Impressum