lpn Subroutine

public subroutine lpn(n, x, Pn, Pd)

Compute Legendre polynomials Pn(x) and their derivatives Pn'(x)

Arguments

Type IntentOptional Attributes Name
integer :: n
real(kind=wp) :: x
real(kind=wp), dimension(0:n) :: Pn
real(kind=wp), dimension(0:n) :: Pd