3
subroutine kern(n,nu0,numax,z,eps,a,b,ker,nu,ierr,rold)
5
c This routine generates the kernels in the Gauss quadrature remainder
8
c K(k)(z)=rho(k)(z)/pi(k)(z), k=0,1,2,...,n,
10
c where rho(k) are the output quantities of the routine knum, and
11
c pi(k) the (monic) orthogonal polynomials. The results are returned
12
c in the array ker as ker(k)=K(k-1)(z), k=1,2,...,n+1. All the other
13
c input and output parameters have the same meaning as in the routine
16
complex z,ker,rold,p0,p,pm1
17
dimension a(numax),b(numax),ker(*),rold(*)
19
c The arrays ker,rold are assumed to have dimension n+1.
21
call knum(n,nu0,numax,z,eps,a,b,ker,nu,ierr,rold)
27
p=(z-a(k))*p0-b(k)*pm1