LEGENDRE.pm (PDL-2.080) | : | LEGENDRE.pm (PDL-2.081) | ||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
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 "LEGENDRE.pm" | #line 39 "LEGENDRE.pm" | |||
=head1 FUNCTIONS | =head1 FUNCTIONS | |||
=cut | =cut | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_Pl | =head2 gsl_sf_legendre_Pl | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); int l) | Signature: (double x(); double [o]y(); double [o]e(); int l) | |||
=for ref | =for ref | |||
P_l(x) | P_l(x) | |||
=for bad | =for bad | |||
gsl_sf_legendre_Pl does not process bad values. | gsl_sf_legendre_Pl 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 "LEGENDRE.pm" | #line 74 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_Pl = \&PDL::gsl_sf_legendre_Pl; | *gsl_sf_legendre_Pl = \&PDL::gsl_sf_legendre_Pl; | |||
#line 81 "LEGENDRE.pm" | #line 81 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_Pl_array | =head2 gsl_sf_legendre_Pl_array | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(num); int l=>num) | Signature: (double x(); double [o]y(num); int l=>num) | |||
=for ref | =for ref | |||
P_l(x) from 0 to n-1. | P_l(x) from 0 to n-1. | |||
=for bad | =for bad | |||
gsl_sf_legendre_Pl_array does not process bad values. | gsl_sf_legendre_Pl_array 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 "LEGENDRE.pm" | #line 106 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_Pl_array = \&PDL::gsl_sf_legendre_Pl_array; | *gsl_sf_legendre_Pl_array = \&PDL::gsl_sf_legendre_Pl_array; | |||
#line 113 "LEGENDRE.pm" | #line 113 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_Ql | =head2 gsl_sf_legendre_Ql | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); int l) | Signature: (double x(); double [o]y(); double [o]e(); int l) | |||
=for ref | =for ref | |||
Q_l(x) | Q_l(x) | |||
=for bad | =for bad | |||
gsl_sf_legendre_Ql does not process bad values. | gsl_sf_legendre_Ql 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 "LEGENDRE.pm" | #line 138 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_Ql = \&PDL::gsl_sf_legendre_Ql; | *gsl_sf_legendre_Ql = \&PDL::gsl_sf_legendre_Ql; | |||
#line 145 "LEGENDRE.pm" | #line 145 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_Plm | =head2 gsl_sf_legendre_Plm | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); int l; int m) | Signature: (double x(); double [o]y(); double [o]e(); int l; int m) | |||
=for ref | =for ref | |||
P_lm(x) | P_lm(x) | |||
=for bad | =for bad | |||
gsl_sf_legendre_Plm does not process bad values. | gsl_sf_legendre_Plm 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 "LEGENDRE.pm" | #line 170 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_Plm = \&PDL::gsl_sf_legendre_Plm; | *gsl_sf_legendre_Plm = \&PDL::gsl_sf_legendre_Plm; | |||
#line 177 "LEGENDRE.pm" | #line 177 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_array | =head2 gsl_sf_legendre_array | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(n); double [t]work(wn); char norm; int lm ax; int csphase) | Signature: (double x(); double [o]y(n); double [t]work(wn); char norm; int lm ax; int csphase) | |||
=for ref | =for ref | |||
Calculate all normalized associated Legendre polynomials. | Calculate all normalized associated Legendre polynomials. | |||
skipping to change at line 182 | skipping to change at line 182 | |||
See L</gsl_sf_legendre_array_index> to get the value of C<l> and C<m> in the ret urned vector. | See L</gsl_sf_legendre_array_index> to get the value of C<l> and C<m> in the ret urned vector. | |||
=for bad | =for bad | |||
gsl_sf_legendre_array processes bad values. | gsl_sf_legendre_array processes 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 228 "LEGENDRE.pm" | #line 228 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_array = \&PDL::gsl_sf_legendre_array; | *gsl_sf_legendre_array = \&PDL::gsl_sf_legendre_array; | |||
#line 235 "LEGENDRE.pm" | #line 235 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_array_index | =head2 gsl_sf_legendre_array_index | |||
=for sig | =for sig | |||
Signature: (int [o]l(n); int [o]m(n); int lmax) | Signature: (int [o]l(n); int [o]m(n); int lmax) | |||
=for ref | =for ref | |||
Calculate the relation between gsl_sf_legendre_arrays index and l and m values. | Calculate the relation between gsl_sf_legendre_arrays index and l and m values. | |||
skipping to change at line 212 | skipping to change at line 212 | |||
Note that this function is called differently than the corresponding GSL functio n, to make it more useful for PDL: here you just input the maximum l (lmax) that was used in C<gsl_sf_legendre_array> and it calculates all l and m values. | Note that this function is called differently than the corresponding GSL functio n, to make it more useful for PDL: here you just input the maximum l (lmax) that was used in C<gsl_sf_legendre_array> and it calculates all l and m values. | |||
=for bad | =for bad | |||
gsl_sf_legendre_array_index does not process bad values. | gsl_sf_legendre_array_index 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 265 "LEGENDRE.pm" | #line 265 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_array_index = \&PDL::gsl_sf_legendre_array_index; | *gsl_sf_legendre_array_index = \&PDL::gsl_sf_legendre_array_index; | |||
#line 272 "LEGENDRE.pm" | #line 272 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_sphPlm | =head2 gsl_sf_legendre_sphPlm | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); int l; int m) | Signature: (double x(); double [o]y(); double [o]e(); int l; int m) | |||
=for ref | =for ref | |||
P_lm(x), normalized properly for use in spherical harmonics | P_lm(x), normalized properly for use in spherical harmonics | |||
=for bad | =for bad | |||
gsl_sf_legendre_sphPlm does not process bad values. | gsl_sf_legendre_sphPlm 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 297 "LEGENDRE.pm" | #line 297 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_sphPlm = \&PDL::gsl_sf_legendre_sphPlm; | *gsl_sf_legendre_sphPlm = \&PDL::gsl_sf_legendre_sphPlm; | |||
#line 304 "LEGENDRE.pm" | #line 304 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_conicalP_half | =head2 gsl_sf_conicalP_half | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); double lambda) | Signature: (double x(); double [o]y(); double [o]e(); double lambda) | |||
=for ref | =for ref | |||
Irregular Spherical Conical Function P^{1/2}_{-1/2 + I lambda}(x) | Irregular Spherical Conical Function P^{1/2}_{-1/2 + I lambda}(x) | |||
=for bad | =for bad | |||
gsl_sf_conicalP_half does not process bad values. | gsl_sf_conicalP_half 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 329 "LEGENDRE.pm" | #line 329 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_conicalP_half = \&PDL::gsl_sf_conicalP_half; | *gsl_sf_conicalP_half = \&PDL::gsl_sf_conicalP_half; | |||
#line 336 "LEGENDRE.pm" | #line 336 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_conicalP_mhalf | =head2 gsl_sf_conicalP_mhalf | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); double lambda) | Signature: (double x(); double [o]y(); double [o]e(); double lambda) | |||
=for ref | =for ref | |||
Regular Spherical Conical Function P^{-1/2}_{-1/2 + I lambda}(x) | Regular Spherical Conical Function P^{-1/2}_{-1/2 + I lambda}(x) | |||
=for bad | =for bad | |||
gsl_sf_conicalP_mhalf does not process bad values. | gsl_sf_conicalP_mhalf 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 361 "LEGENDRE.pm" | #line 361 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_conicalP_mhalf = \&PDL::gsl_sf_conicalP_mhalf; | *gsl_sf_conicalP_mhalf = \&PDL::gsl_sf_conicalP_mhalf; | |||
#line 368 "LEGENDRE.pm" | #line 368 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_conicalP_0 | =head2 gsl_sf_conicalP_0 | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); double lambda) | Signature: (double x(); double [o]y(); double [o]e(); double lambda) | |||
=for ref | =for ref | |||
Conical Function P^{0}_{-1/2 + I lambda}(x) | Conical Function P^{0}_{-1/2 + I lambda}(x) | |||
=for bad | =for bad | |||
gsl_sf_conicalP_0 does not process bad values. | gsl_sf_conicalP_0 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 393 "LEGENDRE.pm" | #line 393 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_conicalP_0 = \&PDL::gsl_sf_conicalP_0; | *gsl_sf_conicalP_0 = \&PDL::gsl_sf_conicalP_0; | |||
#line 400 "LEGENDRE.pm" | #line 400 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_conicalP_1 | =head2 gsl_sf_conicalP_1 | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); double lambda) | Signature: (double x(); double [o]y(); double [o]e(); double lambda) | |||
=for ref | =for ref | |||
Conical Function P^{1}_{-1/2 + I lambda}(x) | Conical Function P^{1}_{-1/2 + I lambda}(x) | |||
=for bad | =for bad | |||
gsl_sf_conicalP_1 does not process bad values. | gsl_sf_conicalP_1 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 425 "LEGENDRE.pm" | #line 425 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_conicalP_1 = \&PDL::gsl_sf_conicalP_1; | *gsl_sf_conicalP_1 = \&PDL::gsl_sf_conicalP_1; | |||
#line 432 "LEGENDRE.pm" | #line 432 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_conicalP_sph_reg | =head2 gsl_sf_conicalP_sph_reg | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); int l; double lambda) | Signature: (double x(); double [o]y(); double [o]e(); int l; double lambda) | |||
=for ref | =for ref | |||
Regular Spherical Conical Function P^{-1/2-l}_{-1/2 + I lambda}(x) | Regular Spherical Conical Function P^{-1/2-l}_{-1/2 + I lambda}(x) | |||
=for bad | =for bad | |||
gsl_sf_conicalP_sph_reg does not process bad values. | gsl_sf_conicalP_sph_reg 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 457 "LEGENDRE.pm" | #line 457 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_conicalP_sph_reg = \&PDL::gsl_sf_conicalP_sph_reg; | *gsl_sf_conicalP_sph_reg = \&PDL::gsl_sf_conicalP_sph_reg; | |||
#line 464 "LEGENDRE.pm" | #line 464 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_conicalP_cyl_reg_e | =head2 gsl_sf_conicalP_cyl_reg_e | |||
=for sig | =for sig | |||
Signature: (double x(); double [o]y(); double [o]e(); int m; double lambda) | Signature: (double x(); double [o]y(); double [o]e(); int m; double lambda) | |||
=for ref | =for ref | |||
Regular Cylindrical Conical Function P^{-m}_{-1/2 + I lambda}(x) | Regular Cylindrical Conical Function P^{-m}_{-1/2 + I lambda}(x) | |||
=for bad | =for bad | |||
gsl_sf_conicalP_cyl_reg_e does not process bad values. | gsl_sf_conicalP_cyl_reg_e 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 489 "LEGENDRE.pm" | #line 489 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_conicalP_cyl_reg_e = \&PDL::gsl_sf_conicalP_cyl_reg_e; | *gsl_sf_conicalP_cyl_reg_e = \&PDL::gsl_sf_conicalP_cyl_reg_e; | |||
#line 496 "LEGENDRE.pm" | #line 496 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_H3d | =head2 gsl_sf_legendre_H3d | |||
=for sig | =for sig | |||
Signature: (double [o]y(); double [o]e(); int l; double lambda; double eta) | Signature: (double [o]y(); double [o]e(); int l; double lambda; double eta) | |||
=for ref | =for ref | |||
lth radial eigenfunction of the Laplacian on the 3-dimensional hyperbolic space. | lth radial eigenfunction of the Laplacian on the 3-dimensional hyperbolic space. | |||
=for bad | =for bad | |||
gsl_sf_legendre_H3d does not process bad values. | gsl_sf_legendre_H3d 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 521 "LEGENDRE.pm" | #line 521 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_H3d = \&PDL::gsl_sf_legendre_H3d; | *gsl_sf_legendre_H3d = \&PDL::gsl_sf_legendre_H3d; | |||
#line 528 "LEGENDRE.pm" | #line 528 "LEGENDRE.pm" | |||
#line 948 "../../../../blib/lib/PDL/PP.pm" | #line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 gsl_sf_legendre_H3d_array | =head2 gsl_sf_legendre_H3d_array | |||
=for sig | =for sig | |||
Signature: (double [o]y(num); int l=>num; double lambda; double eta) | Signature: (double [o]y(num); int l=>num; double lambda; double eta) | |||
=for ref | =for ref | |||
Array of H3d(ell), for l from 0 to n-1. | Array of H3d(ell), for l from 0 to n-1. | |||
=for bad | =for bad | |||
gsl_sf_legendre_H3d_array does not process bad values. | gsl_sf_legendre_H3d_array 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 553 "LEGENDRE.pm" | #line 553 "LEGENDRE.pm" | |||
#line 950 "../../../../blib/lib/PDL/PP.pm" | #line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*gsl_sf_legendre_H3d_array = \&PDL::gsl_sf_legendre_H3d_array; | *gsl_sf_legendre_H3d_array = \&PDL::gsl_sf_legendre_H3d_array; | |||
#line 560 "LEGENDRE.pm" | #line 560 "LEGENDRE.pm" | |||
#line 302 "gsl_sf_legendre.pd" | #line 302 "gsl_sf_legendre.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 | |||
End of changes. 30 change blocks. | ||||
30 lines changed or deleted | 30 lines changed or added |