125 SUBROUTINE dlahilb(N, NRHS, A, LDA, X, LDX, B, LDB, WORK, INFO)
133 INTEGER n, nrhs, lda, ldx, ldb, info
135 DOUBLE PRECISION a(lda, n), x(ldx, nrhs), b(ldb, nrhs), work(n)
150 INTEGER nmax_exact, nmax_approx
151 parameter(nmax_exact = 6, nmax_approx = 11)
163 IF (n .LT. 0 .OR. n .GT. nmax_approx)
THEN
165 ELSE IF (nrhs .LT. 0)
THEN
167 ELSE IF (lda .LT. n)
THEN
169 ELSE IF (ldx .LT. n)
THEN
171 ELSE IF (ldb .LT. n)
THEN
174 IF (info .LT. 0)
THEN
175 CALL
xerbla(
'DLAHILB', -info)
178 IF (n .GT. nmax_exact)
THEN
200 a(i, j) = dble(m) / (i + j - 1)
207 CALL
dlaset(
'Full', n, nrhs, 0.0d+0, tmp, b, ldb)
214 work(j) = ( ( (work(j-1)/(j-1)) * (j-1 - n) ) /(j-1) )
220 x(i, j) = (work(i)*work(j)) / (i + j - 1)