|
|
◆ Alegendre()
| Function Alegendre |
( |
N As |
Long, |
|
|
M As |
Long, |
|
|
X As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Associated Legendre polynomial Pnm(x)
- Purpose
- Computes the associated Legendre polynomial.
Pnm(x) = (-1)^m (1 - x^2)^(m/2) dm/dxm Pn(x)
Note that the term (-1)^m may not be included depending on the definition.
- Returns
- Double
Associated Legendre polynomial Pnm(x).
- Parameters
-
| [in] | N | Argument n. (0 <= N < 128) |
| [in] | M | Argument m. (0 <= M <= N) |
| [in] | X | Argument x (|X| <= 1). |
| [out] | Info | (Optional)
= 0: Successful exit.
= -1: The argument N had an illegal value. (N < 0, N >= 128)
= -2: The argument M had an illegal value. (M < 0, M > N)
= -3: The argument X had an illegal value. (|X| > 1)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|