1 SUBROUTINE jacprod(c, h, nots, nb)
8 REAL(rprec),
DIMENSION(*) :: c, h
12 REAL(rprec),
DIMENSION(nots) ::
13 1 aspline, bspline, dspline, dum1
27 aspline(2:nots-1) = h(2:nots-1)
28 bspline(2:nots-1) = h(:nots-2)
29 dspline(2:nots-1) = 2.0*(h(2:nots-1)+h(:nots-2))
32 IF (nb .eq. ideriv) jspmin(1) = 1
34 CALL tridslv(aspline,dspline,bspline,c,jspmin,jmax,0,nots,1)
35 dum1(1) = 6.0*(c(2)-c(1))/h(1)
36 dum1(2:nots) = 6.0*(c(:nots-1)-c(2:nots))/h(:nots-1)
37 c(2:nots-1) = dum1(2:nots-1) - dum1(3:nots)
41 END SUBROUTINE jacprod