************80
! LAGZO computes zeros of the Laguerre polynomial, and integration weights.
Discussion:
This procedure computes the zeros of Laguerre polynomial Ln(x) in the
interval [0,∞], and the corresponding weighting coefficients for
Gauss-Laguerre integration.
Licensing:
This routine is copyrighted by Shanjie Zhang and Jianming Jin. However,
they give permission to incorporate this routine into a user program
provided that the copyright is acknowledged.
Modified:
07 July 2012
Author:
Shanjie Zhang, Jianming Jin
Reference:
Shanjie Zhang, Jianming Jin,
Computation of Special Functions,
Wiley, 1996,
ISBN: 0-471-11963-6,
LC: QA351.C45.
Parameters:
Input, integer ( kind = 4 ) N, the order of the Laguerre polynomial.
Output, real ( kind = 8 ) X(N), the zeros of the Laguerre polynomial.
Output, real ( kind = 8 ) W(N), the weighting coefficients.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=4) | :: | n | ||||
real(kind=8) | :: | x(n) | ||||
real(kind=8) | :: | w(n) |