PSI.pm (PDL-2.074) | : | PSI.pm (PDL-2.075) | ||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
our %EXPORT_TAGS = (Func=>\@EXPORT_OK); | our %EXPORT_TAGS = (Func=>\@EXPORT_OK); | |||
use PDL::Core; | use PDL::Core; | |||
use PDL::Exporter; | use PDL::Exporter; | |||
use DynaLoader; | use DynaLoader; | |||
our @ISA = ( 'PDL::Exporter','DynaLoader' ); | our @ISA = ( 'PDL::Exporter','DynaLoader' ); | |||
push @PDL::Core::PP, __PACKAGE__; | push @PDL::Core::PP, __PACKAGE__; | |||
bootstrap PDL::GSLSF::PSI ; | bootstrap PDL::GSLSF::PSI ; | |||
#line 5 "gsl_sf_psi.pd" | #line 4 "gsl_sf_psi.pd" | |||
use strict; | use strict; | |||
use warnings; | use warnings; | |||
=head1 NAME | =head1 NAME | |||
PDL::GSLSF::PSI - PDL interface to GSL Special Functions | PDL::GSLSF::PSI - 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. | |||
Poly-Gamma Functions | Poly-Gamma Functions | |||
psi(m,x) := (d/dx)^m psi(0,x) = (d/dx)^{m+1} log(gamma(x)) | psi(m,x) := (d/dx)^m psi(0,x) = (d/dx)^{m+1} log(gamma(x)) | |||
=cut | =cut | |||
#line 42 "PSI.pm" | #line 43 "PSI.pm" | |||
=head1 FUNCTIONS | =head1 FUNCTIONS | |||
=cut | =cut | |||
#line 1059 "../../../../blib/lib/PDL/PP.pm" | #line 1058 "../../../../blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_psi | =head2 gsl_sf_psi | |||
=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 | |||
Di-Gamma Function psi(x). | Di-Gamma Function psi(x). | |||
=for bad | =for bad | |||
gsl_sf_psi does not process bad values. | gsl_sf_psi 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 76 "PSI.pm" | #line 78 "PSI.pm" | |||
#line 1060 "../../../../blib/lib/PDL/PP.pm" | ||||
#line 1061 "../../../../blib/lib/PDL/PP.pm" | ||||
*gsl_sf_psi = \&PDL::gsl_sf_psi; | *gsl_sf_psi = \&PDL::gsl_sf_psi; | |||
#line 82 "PSI.pm" | #line 85 "PSI.pm" | |||
#line 1059 "../../../../blib/lib/PDL/PP.pm" | #line 1058 "../../../../blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_psi_1piy | =head2 gsl_sf_psi_1piy | |||
=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 | |||
Di-Gamma Function Re[psi(1 + I y)] | Di-Gamma Function Re[psi(1 + I y)] | |||
=for bad | =for bad | |||
gsl_sf_psi_1piy does not process bad values. | gsl_sf_psi_1piy 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 "PSI.pm" | #line 110 "PSI.pm" | |||
#line 1060 "../../../../blib/lib/PDL/PP.pm" | ||||
#line 1061 "../../../../blib/lib/PDL/PP.pm" | ||||
*gsl_sf_psi_1piy = \&PDL::gsl_sf_psi_1piy; | *gsl_sf_psi_1piy = \&PDL::gsl_sf_psi_1piy; | |||
#line 112 "PSI.pm" | #line 117 "PSI.pm" | |||
#line 1059 "../../../../blib/lib/PDL/PP.pm" | #line 1058 "../../../../blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_psi_n | =head2 gsl_sf_psi_n | |||
=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 | |||
Poly-Gamma Function psi^(n)(x) | Poly-Gamma Function psi^(n)(x) | |||
=for bad | =for bad | |||
gsl_sf_psi_n does not process bad values. | gsl_sf_psi_n 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 136 "PSI.pm" | #line 142 "PSI.pm" | |||
#line 1060 "../../../../blib/lib/PDL/PP.pm" | ||||
#line 1061 "../../../../blib/lib/PDL/PP.pm" | ||||
*gsl_sf_psi_n = \&PDL::gsl_sf_psi_n; | *gsl_sf_psi_n = \&PDL::gsl_sf_psi_n; | |||
#line 142 "PSI.pm" | #line 149 "PSI.pm" | |||
#line 69 "gsl_sf_psi.pd" | ||||
#line 70 "gsl_sf_psi.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 161 "PSI.pm" | #line 169 "PSI.pm" | |||
# Exit with OK status | # Exit with OK status | |||
1; | 1; | |||
End of changes. 16 change blocks. | ||||
16 lines changed or deleted | 21 lines changed or added |