colpnt Subroutine

subroutine colpnt(k, rho)

************80

! COLPNT supplies collocation points.

Discussion:

The collocation points are for the standard interval (-1,1) as the 
zeros of the Legendre polynomial of degree K, provided K <= 8.

Otherwise, uniformly spaced points are given.

Modified:

14 February 2007

Author:

Carl DeBoor

Reference:

Carl DeBoor,
A Practical Guide to Splines,
Springer, 2001,
ISBN: 0387953663,
LC: QA1.A647.v27.

Parameters:

Input, integer ( kind = 4 ) K, the number of collocation points desired.

Output, real ( kind = 8 ) RHO(K), the collocation points.

Arguments

Type IntentOptional Attributes Name
integer(kind=4) :: k
real(kind=8) :: rho(k)