lpni Subroutine

public subroutine lpni(n, x, Pn, Pd, Pl)

Compute Legendre polynomials Pn(x), Pn'(x) and the integral of Pn(t) from 0 to 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
real(kind=wp), dimension(0:n) :: Pl