1LEGENDRE(3) User Contributed Perl Documentation LEGENDRE(3)
2
3
4
6 PDL::GSLSF::LEGENDRE - PDL interface to GSL Special Functions
7
9 This is an interface to the Special Function package present in the GNU
10 Scientific Library.
11
14 gsl_sf_legendre_Pl
15 Signature: (double x(); double [o]y(); double [o]e(); int l)
16
17 P_l(x)
18
19 gsl_sf_legendre_Pl does not process bad values. It will set the bad-
20 value flag of all output piddles if the flag is set for any of the
21 input piddles.
22
23 gsl_sf_legendre_Pl_array
24 Signature: (double x(); double [o]y(num); int l=>num)
25
26 P_l(x) from 0 to n-1.
27
28 gsl_sf_legendre_Pl_array does not process bad values. It will set the
29 bad-value flag of all output piddles if the flag is set for any of the
30 input piddles.
31
32 gsl_sf_legendre_Ql
33 Signature: (double x(); double [o]y(); double [o]e(); int l)
34
35 Q_l(x)
36
37 gsl_sf_legendre_Ql does not process bad values. It will set the bad-
38 value flag of all output piddles if the flag is set for any of the
39 input piddles.
40
41 gsl_sf_legendre_Plm
42 Signature: (double x(); double [o]y(); double [o]e(); int l; int m)
43
44 P_lm(x)
45
46 gsl_sf_legendre_Plm does not process bad values. It will set the bad-
47 value flag of all output piddles if the flag is set for any of the
48 input piddles.
49
50 gsl_sf_legendre_array
51 Signature: (double x(); double [o]y(n); double [t]work(wn); char norm; int lmax; int csphase)
52
53 Calculate all normalized associated Legendre polynomials.
54
55 $Plm = gsl_sf_legendre_array($x,'P',4,-1);
56
57 The calculation is done for degree 0 <= l <= lmax and order 0 <= m <= l
58 on the range abs(x)<=1.
59
60 The parameter norm should be:
61
62 'P' for unnormalized associated Legendre polynomials P_l^m(x),
63 'S' for Schmidt semi-normalized associated Legendre polynomials
64 S_l^m(x),
65 'Y' for spherical harmonic associated Legendre polynomials Y_l^m(x), or
66 'N' for fully normalized associated Legendre polynomials N_l^m(x).
67
68 lmax is the maximum degree l. csphase should be (-1) to INCLUDE the
69 Condon-Shortley phase factor (-1)^m, or (+1) to EXCLUDE it.
70
71 See "gsl_sf_legendre_array_index" to get the value of "l" and "m" in
72 the returned vector.
73
74 gsl_sf_legendre_array processes bad values. It will set the bad-value
75 flag of all output piddles if the flag is set for any of the input
76 piddles.
77
78 gsl_sf_legendre_array_index
79 Signature: (int [o]l(n); int [o]m(n); int lmax)
80
81 Calculate the relation between gsl_sf_legendre_arrays index and l and m
82 values.
83
84 Note that this function is called differently than the corresponding
85 GSL function, to make it more useful for PDL: here you just input the
86 maximum l (lmax) that was used in "gsl_sf_legendre_array" and it
87 calculates all l and m values.
88
89 gsl_sf_legendre_array_index does not process bad values. It will set
90 the bad-value flag of all output piddles if the flag is set for any of
91 the input piddles.
92
93 gsl_sf_legendre_sphPlm
94 Signature: (double x(); double [o]y(); double [o]e(); int l; int m)
95
96 P_lm(x), normalized properly for use in spherical harmonics
97
98 gsl_sf_legendre_sphPlm does not process bad values. It will set the
99 bad-value flag of all output piddles if the flag is set for any of the
100 input piddles.
101
102 gsl_sf_conicalP_half
103 Signature: (double x(); double [o]y(); double [o]e(); double lambda)
104
105 Irregular Spherical Conical Function P^{1/2}_{-1/2 + I lambda}(x)
106
107 gsl_sf_conicalP_half does not process bad values. It will set the bad-
108 value flag of all output piddles if the flag is set for any of the
109 input piddles.
110
111 gsl_sf_conicalP_mhalf
112 Signature: (double x(); double [o]y(); double [o]e(); double lambda)
113
114 Regular Spherical Conical Function P^{-1/2}_{-1/2 + I lambda}(x)
115
116 gsl_sf_conicalP_mhalf does not process bad values. It will set the
117 bad-value flag of all output piddles if the flag is set for any of the
118 input piddles.
119
120 gsl_sf_conicalP_0
121 Signature: (double x(); double [o]y(); double [o]e(); double lambda)
122
123 Conical Function P^{0}_{-1/2 + I lambda}(x)
124
125 gsl_sf_conicalP_0 does not process bad values. It will set the bad-
126 value flag of all output piddles if the flag is set for any of the
127 input piddles.
128
129 gsl_sf_conicalP_1
130 Signature: (double x(); double [o]y(); double [o]e(); double lambda)
131
132 Conical Function P^{1}_{-1/2 + I lambda}(x)
133
134 gsl_sf_conicalP_1 does not process bad values. It will set the bad-
135 value flag of all output piddles if the flag is set for any of the
136 input piddles.
137
138 gsl_sf_conicalP_sph_reg
139 Signature: (double x(); double [o]y(); double [o]e(); int l; double lambda)
140
141 Regular Spherical Conical Function P^{-1/2-l}_{-1/2 + I lambda}(x)
142
143 gsl_sf_conicalP_sph_reg does not process bad values. It will set the
144 bad-value flag of all output piddles if the flag is set for any of the
145 input piddles.
146
147 gsl_sf_conicalP_cyl_reg_e
148 Signature: (double x(); double [o]y(); double [o]e(); int m; double lambda)
149
150 Regular Cylindrical Conical Function P^{-m}_{-1/2 + I lambda}(x)
151
152 gsl_sf_conicalP_cyl_reg_e does not process bad values. It will set the
153 bad-value flag of all output piddles if the flag is set for any of the
154 input piddles.
155
156 gsl_sf_legendre_H3d
157 Signature: (double [o]y(); double [o]e(); int l; double lambda; double eta)
158
159 lth radial eigenfunction of the Laplacian on the 3-dimensional
160 hyperbolic space.
161
162 gsl_sf_legendre_H3d does not process bad values. It will set the bad-
163 value flag of all output piddles if the flag is set for any of the
164 input piddles.
165
166 gsl_sf_legendre_H3d_array
167 Signature: (double [o]y(num); int l=>num; double lambda; double eta)
168
169 Array of H3d(ell), for l from 0 to n-1.
170
171 gsl_sf_legendre_H3d_array does not process bad values. It will set the
172 bad-value flag of all output piddles if the flag is set for any of the
173 input piddles.
174
176 This file copyright (C) 1999 Christian Pellegrin
177 <chri@infis.univ.trieste.it> All rights reserved. There is no warranty.
178 You are allowed to redistribute this software / documentation under
179 certain conditions. For details, see the file COPYING in the PDL
180 distribution. If this file is separated from the PDL distribution, the
181 copyright notice should be included in the file.
182
183 The GSL SF modules were written by G. Jungman.
184
185
186
187perl v5.32.1 2021-02-15 LEGENDRE(3)