33 real(4):: xa(xstep, nt)
36 real(4):: ya(ystep, nt)
46 real(4):: logx(10), logy(10)
53 k = min(max(loc - (m-1)/2,1), nt+1-m)
56 if( kbitest(logxy, 1))
then 57 if( xa(1, i) .gt. 0.)
then 58 logx(i-k+1) = log(xa(1,i))
70 if( kbitest(logxy, 2))
then 71 if( ya(1, i) .gt. 0.)
then 72 logy(i-k+1) = log(ya(1,i))
83 call kpolintps(logx, 1, logy, 1, m, xx, yy, error)
84 if( kbitest(logxy, 2) )
then 102 real(4):: xa(xstep, nt)
105 real(4):: ya(ystep, nt)
118 call kwhereis(x, nt, xa, xstep, loc)
119 k = min(max(loc - (m-1)/2,1), nt+1-m)
122 if(ya(1,i) .gt. 0.)
then 123 logy(i-k+1) = log(ya(1,i))
131 call kpolintps(xa(1, k), xstep, logy, 1, m, x, yy, error)
134 subroutine kpolintpsfe(xa, xstep, ya, ystep, nt, m, x, y, error)
144 real(4):: xa(xstep, nt)
147 real(4):: ya(ystep, nt)
157 call kwhereis(x, nt, xa, xstep, loc)
158 k = min(max(loc - (m-1)/2,1), nt+1-m)
159 call kpolintps(xa(1, k), xstep, ya(1, k), ystep, m, x, y, error)
163 subroutine kpolintps(xa, xstep, ya, ystep, n, x, y, error)
173 integer n, xstep, ystep
174 real(4):: xa(xstep, n), ya(ystep, n), x, y, error
178 real(4):: c(maxm), d(maxm), diff, difft
181 real(4):: h0, hp, w, den
184 write(*, *)
' kpolintpS: use lesser number of points' 188 diff = abs(x - xa(1, 1))
190 difft= abs(x - xa(1, i))
191 if(difft .le. diff)
then 211 write(0,*)
' error in kpolintpS' 213 write(0,
'(10G12.4)' )
' xa=', (xa(j,1), j=1, n)
214 write(0,
'(10G12.4)' )
' ya=', (ya(j,1), j=1, n)
218 if(2*ns .le. n-m)
then 228 subroutine kpolintpseqs(x0, dx, ya, ystep, n, x, y, error)
240 real(4):: x0, ya(ystep, n), x, y, error, dx
244 real(4):: c(maxm), d(maxm), diff, difft
247 real(4):: h0, hp, w, den
250 xa(p, q) = (q-1)*dx + x0
254 *
' kpolintpSeqs: use lesser number of points' 258 diff = abs(x - xa(1, 1))
260 difft= abs(x - xa(1, i))
261 if(difft .le. diff)
then 277 write(0,*)
' error in kpolintpSeqs' 284 if(2*ns .le. n-m)
then integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine kpolintpseqs(x0, dx, ya, ystep, n, x, y, error)
subroutine kpolintpslogfe(xa, xstep, ya, ystep, nt, m, x, y, error)
subroutine kpolintps(xa, xstep, ya, ystep, n, x, y, error)
subroutine kwhereis(x, in, a, step, loc)
subroutine kpolintpslogxyfe(xa, xstep, ya, ystep, nt, m, logxy, x, y, error)
subroutine kpolintpsfe(xa, xstep, ya, ystep, nt, m, x, y, error)