legzo Subroutine

public subroutine legzo(n, x, w)

Compute the zeros of Legendre polynomial Pn(x) in the interval [-1,1], and the corresponding weighting coefficients for Gauss-Legendre integration

Arguments

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