Compute Legendre polynomials Pn(x), Pn'(x) and the integral of Pn(t) from 0 to x
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer | :: | n | ||||
| real(kind=wp) | :: | x | ||||
| real(kind=wp), | dimension(0:n) | :: | Pn | |||
| real(kind=wp), | dimension(0:n) | :: | Pd | |||
| real(kind=wp), | dimension(0:n) | :: | Pl |