1 subroutine l2appr ( t, n, k, q, diag, bcoef )
70 integer k,n, i,j,jj,kmax,left,leftmk,ll,mm,ntau,ntmax
71 parameter(kmax=20,ntmax=200)
72 double precision bcoef(n),diag(n),q(k,n),t(n+k),
73 & biatx(kmax),dw,gtau,tau,weight
74 common / i4data / ntau
75 common / r8data / tau(ntmax),gtau(ntmax),weight(ntmax)
85 10
if (left .eq. n)
go to 15
86 if (tau(ll) .lt. t(left+1))
go to 15
90 15
call bsplvb ( t, k, 1, tau(ll), left, biatx )
99 dw = biatx(mm)*weight(ll)
101 bcoef(j) = dw*gtau(ll) + bcoef(j)
104 q(i,j) = biatx(jj)*dw + q(i,j)
111 call bchfac ( q, k, n, diag )
112 call bchslv ( q, k, n, bcoef )
subroutine bsplvb(t, jhigh, index, x, left, biatx)
subroutine bchslv(w, nbands, nrow, b)
subroutine bchfac(w, nbands, nrow, diag)
subroutine l2appr(t, n, k, q, diag, bcoef)