7 subroutine dgtsl ( n, c, d, e, b, info )
56 integer ( kind = 4 ) n
58 real ( kind = 8 ) b(n)
60 real ( kind = 8 ) c(n)
62 real ( kind = 8 ) d(n)
64 real ( kind = 8 ) e(n)
66 integer ( kind = 4 ) info
67 integer ( kind = 4 ) k
83 if ( abs( c(k) ) <= abs( c(k+1) ) )
then 107 if ( c(k) == 0.0d+00 )
then 113 c(k+1) = d(k+1) + t * d(k)
114 d(k+1) = e(k+1) + t * e(k)
116 b(k+1) = b(k+1) + t * b(k)
122 if ( c(n) == 0.0d+00 )
then 133 b(n-1) = ( b(n-1) - d(n-1) * b(n) ) / c(n-1)
136 b(k) = ( b(k) - d(k) * b(k+1) - e(k) * b(k+2) ) / c(k)
subroutine dgtsl(n, c, d, e, b, info)