Coefficient alpha from the recursive formulation of Legendre polynomials, for the Legendre mode 'mode'.
Ln(x)=α⋅x⋅Ln−1(x)+β⋅Ln−2(x)
For Legendre polynomials we have:
α=2n−1n
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | mode |
The Legendre mode to compute α for. |