1 subroutine curfit(iopt,m,x,y,w,xb,xe,k,s,nest,n,t,c,fp,
212 integer iopt,m,k,nest,n,lwrk,ier
214 real*8 x(m),y(m),w(m),t(nest),c(nest),wrk(lwrk)
218 integer i,ia,ib,ifp,ig,iq,iz,j,k1,k2,lwest,maxit,nmin
226 if(k.le.0 .or. k.gt.5) go to 50
229 if(iopt.lt.(-1) .or. iopt.gt.1) go to 50
231 if(m.lt.k1 .or. nest.lt.nmin) go to 50
232 lwest = m*k1+nest*(7+3*k)
233 if(lwrk.lt.lwest) go to 50
234 if(xb.gt.x(1) .or. xe.lt.x(m) .or. w(1).le.0.) go to 50
236 if(x(i-1).ge.x(i) .or. w(i).le.0.) go to 50
238 if(iopt.ge.0) go to 30
239 if(n.lt.nmin .or. n.gt.nest) go to 50
246 call
fpchec(x,m,t,n,k,ier)
248 30
if(s.lt.0.) go to 50
249 if(s.eq.0. .and. nest.lt.(m+k1)) go to 50
258 call
fpcurf(iopt,x,y,w,m,xb,xe,k,s,nest,tol,maxit,k1,k2,n,t,c,fp,
259 * wrk(ifp),wrk(iz),wrk(ia),wrk(ib),wrk(ig),wrk(iq),iwrk,ier)
subroutine fpcurf(iopt, x, y, w, m, xb, xe, k, s, nest, tol, maxit, k1, k2, n, t, c, fp, fpint, z, a, b, g, q, nrdata, ier)
subroutine fpchec(x, m, t, n, k, ier)
subroutine curfit(iopt, m, x, y, w, xb, xe, k, s, nest, n, t, c, fp, wrk, lwrk, iwrk, ier)