tmp/tmpp9limvtf/{from.md → to.md}
RENAMED
|
@@ -1,31 +0,0 @@
|
|
| 1 |
-
#### Spherical associated Legendre functions <a id="sf.cmath.sph_legendre">[[sf.cmath.sph_legendre]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
double sph_legendre(unsigned l, unsigned m, double theta);
|
| 5 |
-
float sph_legendref(unsigned l, unsigned m, float theta);
|
| 6 |
-
long double sph_legendrel(unsigned l, unsigned m, long double theta);
|
| 7 |
-
```
|
| 8 |
-
|
| 9 |
-
*Effects:* These functions compute the spherical associated Legendre
|
| 10 |
-
functions of their respective arguments `l`, `m`, and `theta` (`theta`
|
| 11 |
-
measured in radians).
|
| 12 |
-
|
| 13 |
-
*Returns:* $$%
|
| 14 |
-
\mathsf{Y}_\ell^m(\theta, 0)
|
| 15 |
-
\;$$ where $$%
|
| 16 |
-
\mathsf{Y}_\ell^m(\theta, \phi) =
|
| 17 |
-
(-1)^m \left[ \frac{(2 \ell + 1)}
|
| 18 |
-
{4 \pi}
|
| 19 |
-
\frac{(\ell - m)!}
|
| 20 |
-
{(\ell + m)!}
|
| 21 |
-
\right]^{1/2}
|
| 22 |
-
\mathsf{P}_\ell^m
|
| 23 |
-
( \cos\theta ) e ^ {i m \phi},
|
| 24 |
-
\quad \mbox{for $|m| \le \ell$}$$ and l is `l`, m is `m`, and θ
|
| 25 |
-
is `theta`.
|
| 26 |
-
|
| 27 |
-
*Remarks:* The effect of calling each of these functions is
|
| 28 |
-
*implementation-defined* if `l >= 128`.
|
| 29 |
-
|
| 30 |
-
See also [[sf.cmath.assoc_legendre]].
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|