"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "GENERATED/PDL/GSLSF/GAMMA.pm" between
PDL-2.082.tar.gz and PDL-2.083.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

GAMMA.pm  (PDL-2.082):GAMMA.pm  (PDL-2.083)
skipping to change at line 31 skipping to change at line 31
=head1 NAME =head1 NAME
PDL::GSLSF::GAMMA - PDL interface to GSL Special Functions PDL::GSLSF::GAMMA - PDL interface to GSL Special Functions
=head1 DESCRIPTION =head1 DESCRIPTION
This is an interface to the Special Function package present in the GNU Scientif ic Library. This is an interface to the Special Function package present in the GNU Scientif ic Library.
=cut =cut
#line 39 "GAMMA.pm" #line 40 "GAMMA.pm"
=head1 FUNCTIONS =head1 FUNCTIONS
=cut =cut
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_lngamma =head2 gsl_sf_lngamma
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]s(); double [o]e()) Signature: (double x(); double [o]y(); double [o]s(); double [o]e())
=for ref =for ref
Log[Gamma(x)], x not a negative integer Uses real Lanczos method. Determines the sign of Gamma[x] as well as Log[|Gamma[x]|] for x < 0. So Gamma[x] = sgn * Exp[ result_lg]. Log[Gamma(x)], x not a negative integer Uses real Lanczos method. Determines the sign of Gamma[x] as well as Log[|Gamma[x]|] for x < 0. So Gamma[x] = sgn * Exp[ result_lg].
=for bad =for bad
gsl_sf_lngamma does not process bad values. gsl_sf_lngamma does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 74 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_lngamma = \&PDL::gsl_sf_lngamma; *gsl_sf_lngamma = \&PDL::gsl_sf_lngamma;
#line 81 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_gamma =head2 gsl_sf_gamma
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e()) Signature: (double x(); double [o]y(); double [o]e())
=for ref =for ref
Gamma(x), x not a negative integer Gamma(x), x not a negative integer
=for bad =for bad
gsl_sf_gamma does not process bad values. gsl_sf_gamma does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 106 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_gamma = \&PDL::gsl_sf_gamma; *gsl_sf_gamma = \&PDL::gsl_sf_gamma;
#line 113 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_gammastar =head2 gsl_sf_gammastar
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e()) Signature: (double x(); double [o]y(); double [o]e())
=for ref =for ref
Regulated Gamma Function, x > 0 Gamma^*(x) = Gamma(x)/(Sqrt[2Pi] x^(x-1/2) exp(- x)) = (1 + 1/(12x) + ...), x->Inf Regulated Gamma Function, x > 0 Gamma^*(x) = Gamma(x)/(Sqrt[2Pi] x^(x-1/2) exp(- x)) = (1 + 1/(12x) + ...), x->Inf
=for bad =for bad
gsl_sf_gammastar does not process bad values. gsl_sf_gammastar does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 138 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_gammastar = \&PDL::gsl_sf_gammastar; *gsl_sf_gammastar = \&PDL::gsl_sf_gammastar;
#line 145 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_gammainv =head2 gsl_sf_gammainv
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e()) Signature: (double x(); double [o]y(); double [o]e())
=for ref =for ref
1/Gamma(x) 1/Gamma(x)
=for bad =for bad
gsl_sf_gammainv does not process bad values. gsl_sf_gammainv does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 170 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_gammainv = \&PDL::gsl_sf_gammainv; *gsl_sf_gammainv = \&PDL::gsl_sf_gammainv;
#line 177 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_lngamma_complex =head2 gsl_sf_lngamma_complex
=for sig =for sig
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o] xe(); double [o]ye()) Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o] xe(); double [o]ye())
=for ref =for ref
Log[Gamma(z)] for z complex, z not a negative integer. Calculates: lnr = log|Gam ma(z)|, arg = arg(Gamma(z)) in (-Pi, Pi] Log[Gamma(z)] for z complex, z not a negative integer. Calculates: lnr = log|Gam ma(z)|, arg = arg(Gamma(z)) in (-Pi, Pi]
=for bad =for bad
gsl_sf_lngamma_complex does not process bad values. gsl_sf_lngamma_complex does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 202 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_lngamma_complex = \&PDL::gsl_sf_lngamma_complex; *gsl_sf_lngamma_complex = \&PDL::gsl_sf_lngamma_complex;
#line 209 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_taylorcoeff =head2 gsl_sf_taylorcoeff
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e(); int n) Signature: (double x(); double [o]y(); double [o]e(); int n)
=for ref =for ref
x^n / n! x^n / n!
=for bad =for bad
gsl_sf_taylorcoeff does not process bad values. gsl_sf_taylorcoeff does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 234 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_taylorcoeff = \&PDL::gsl_sf_taylorcoeff; *gsl_sf_taylorcoeff = \&PDL::gsl_sf_taylorcoeff;
#line 241 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_fact =head2 gsl_sf_fact
=for sig =for sig
Signature: (x(); double [o]y(); double [o]e()) Signature: (x(); double [o]y(); double [o]e())
=for ref =for ref
n! n!
=for bad =for bad
gsl_sf_fact does not process bad values. gsl_sf_fact does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 266 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_fact = \&PDL::gsl_sf_fact; *gsl_sf_fact = \&PDL::gsl_sf_fact;
#line 273 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_doublefact =head2 gsl_sf_doublefact
=for sig =for sig
Signature: (x(); double [o]y(); double [o]e()) Signature: (x(); double [o]y(); double [o]e())
=for ref =for ref
n!! = n(n-2)(n-4) n!! = n(n-2)(n-4)
=for bad =for bad
gsl_sf_doublefact does not process bad values. gsl_sf_doublefact does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 298 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_doublefact = \&PDL::gsl_sf_doublefact; *gsl_sf_doublefact = \&PDL::gsl_sf_doublefact;
#line 305 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_lnfact =head2 gsl_sf_lnfact
=for sig =for sig
Signature: (x(); double [o]y(); double [o]e()) Signature: (x(); double [o]y(); double [o]e())
=for ref =for ref
ln n! ln n!
=for bad =for bad
gsl_sf_lnfact does not process bad values. gsl_sf_lnfact does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 330 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_lnfact = \&PDL::gsl_sf_lnfact; *gsl_sf_lnfact = \&PDL::gsl_sf_lnfact;
#line 337 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_lndoublefact =head2 gsl_sf_lndoublefact
=for sig =for sig
Signature: (x(); double [o]y(); double [o]e()) Signature: (x(); double [o]y(); double [o]e())
=for ref =for ref
ln n!! ln n!!
=for bad =for bad
gsl_sf_lndoublefact does not process bad values. gsl_sf_lndoublefact does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 362 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_lndoublefact = \&PDL::gsl_sf_lndoublefact; *gsl_sf_lndoublefact = \&PDL::gsl_sf_lndoublefact;
#line 369 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_lnchoose =head2 gsl_sf_lnchoose
=for sig =for sig
Signature: (n(); m(); double [o]y(); double [o]e()) Signature: (n(); m(); double [o]y(); double [o]e())
=for ref =for ref
log(n choose m) log(n choose m)
=for bad =for bad
gsl_sf_lnchoose does not process bad values. gsl_sf_lnchoose does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 394 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_lnchoose = \&PDL::gsl_sf_lnchoose; *gsl_sf_lnchoose = \&PDL::gsl_sf_lnchoose;
#line 401 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_choose =head2 gsl_sf_choose
=for sig =for sig
Signature: (n(); m(); double [o]y(); double [o]e()) Signature: (n(); m(); double [o]y(); double [o]e())
=for ref =for ref
n choose m n choose m
=for bad =for bad
gsl_sf_choose does not process bad values. gsl_sf_choose does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 426 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_choose = \&PDL::gsl_sf_choose; *gsl_sf_choose = \&PDL::gsl_sf_choose;
#line 433 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_lnpoch =head2 gsl_sf_lnpoch
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]s(); double [o]e(); double a) Signature: (double x(); double [o]y(); double [o]s(); double [o]e(); double a)
=for ref =for ref
Logarithm of Pochammer (Apell) symbol, with sign information. result = log( |(a) _x| ), sgn = sgn( (a)_x ) where (a)_x := Gamma[a + x]/Gamma[a] Logarithm of Pochammer (Apell) symbol, with sign information. result = log( |(a) _x| ), sgn = sgn( (a)_x ) where (a)_x := Gamma[a + x]/Gamma[a]
=for bad =for bad
gsl_sf_lnpoch does not process bad values. gsl_sf_lnpoch does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 458 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_lnpoch = \&PDL::gsl_sf_lnpoch; *gsl_sf_lnpoch = \&PDL::gsl_sf_lnpoch;
#line 465 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_poch =head2 gsl_sf_poch
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e(); double a) Signature: (double x(); double [o]y(); double [o]e(); double a)
=for ref =for ref
Pochammer (Apell) symbol (a)_x := Gamma[a + x]/Gamma[x] Pochammer (Apell) symbol (a)_x := Gamma[a + x]/Gamma[x]
=for bad =for bad
gsl_sf_poch does not process bad values. gsl_sf_poch does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 490 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_poch = \&PDL::gsl_sf_poch; *gsl_sf_poch = \&PDL::gsl_sf_poch;
#line 497 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_pochrel =head2 gsl_sf_pochrel
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e(); double a) Signature: (double x(); double [o]y(); double [o]e(); double a)
=for ref =for ref
Relative Pochammer (Apell) symbol ((a,x) - 1)/x where (a,x) = (a)_x := Gamma[a + x]/Gamma[a] Relative Pochammer (Apell) symbol ((a,x) - 1)/x where (a,x) = (a)_x := Gamma[a + x]/Gamma[a]
=for bad =for bad
gsl_sf_pochrel does not process bad values. gsl_sf_pochrel does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 522 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_pochrel = \&PDL::gsl_sf_pochrel; *gsl_sf_pochrel = \&PDL::gsl_sf_pochrel;
#line 529 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_gamma_inc_Q =head2 gsl_sf_gamma_inc_Q
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e(); double a) Signature: (double x(); double [o]y(); double [o]e(); double a)
=for ref =for ref
Normalized Incomplete Gamma Function Q(a,x) = 1/Gamma(a) Integral[ t^(a-1) e^(-t ), {t,x,Infinity} ] Normalized Incomplete Gamma Function Q(a,x) = 1/Gamma(a) Integral[ t^(a-1) e^(-t ), {t,x,Infinity} ]
=for bad =for bad
gsl_sf_gamma_inc_Q does not process bad values. gsl_sf_gamma_inc_Q does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 554 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_gamma_inc_Q = \&PDL::gsl_sf_gamma_inc_Q; *gsl_sf_gamma_inc_Q = \&PDL::gsl_sf_gamma_inc_Q;
#line 561 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_gamma_inc_P =head2 gsl_sf_gamma_inc_P
=for sig =for sig
Signature: (double x(); double [o]y(); double [o]e(); double a) Signature: (double x(); double [o]y(); double [o]e(); double a)
=for ref =for ref
Complementary Normalized Incomplete Gamma Function P(a,x) = 1/Gamma(a) Integral[ t^(a-1) e^(-t), {t,0,x} ] Complementary Normalized Incomplete Gamma Function P(a,x) = 1/Gamma(a) Integral[ t^(a-1) e^(-t), {t,0,x} ]
=for bad =for bad
gsl_sf_gamma_inc_P does not process bad values. gsl_sf_gamma_inc_P does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 586 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_gamma_inc_P = \&PDL::gsl_sf_gamma_inc_P; *gsl_sf_gamma_inc_P = \&PDL::gsl_sf_gamma_inc_P;
#line 593 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_lnbeta =head2 gsl_sf_lnbeta
=for sig =for sig
Signature: (double a(); double b(); double [o]y(); double [o]e()) Signature: (double a(); double b(); double [o]y(); double [o]e())
=for ref =for ref
Logarithm of Beta Function Log[B(a,b)] Logarithm of Beta Function Log[B(a,b)]
=for bad =for bad
gsl_sf_lnbeta does not process bad values. gsl_sf_lnbeta does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 618 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_lnbeta = \&PDL::gsl_sf_lnbeta; *gsl_sf_lnbeta = \&PDL::gsl_sf_lnbeta;
#line 625 "GAMMA.pm"
#line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
=head2 gsl_sf_beta =head2 gsl_sf_beta
=for sig =for sig
Signature: (double a(); double b();double [o]y(); double [o]e()) Signature: (double a(); double b();double [o]y(); double [o]e())
=for ref =for ref
Beta Function B(a,b) Beta Function B(a,b)
=for bad =for bad
gsl_sf_beta does not process bad values. gsl_sf_beta does not process bad values.
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
=cut =cut
#line 650 "GAMMA.pm"
#line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm"
*gsl_sf_beta = \&PDL::gsl_sf_beta; *gsl_sf_beta = \&PDL::gsl_sf_beta;
#line 657 "GAMMA.pm"
#line 270 "gsl_sf_gamma.pd" #line 270 "gsl_sf_gamma.pd"
=head1 AUTHOR =head1 AUTHOR
This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it>
All rights reserved. There All rights reserved. There
is no warranty. You are allowed to redistribute this software / is no warranty. You are allowed to redistribute this software /
documentation under certain conditions. For details, see the file documentation under certain conditions. For details, see the file
COPYING in the PDL distribution. If this file is separated from the COPYING in the PDL distribution. If this file is separated from the
PDL distribution, the copyright notice should be included in the file. PDL distribution, the copyright notice should be included in the file.
The GSL SF modules were written by G. Jungman. The GSL SF modules were written by G. Jungman.
=cut =cut
#line 677 "GAMMA.pm" #line 579 "GAMMA.pm"
# Exit with OK status # Exit with OK status
1; 1;
 End of changes. 41 change blocks. 
116 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)