1 SUBROUTINE dsubsp(NMAX, N, A, B, Z, FTEST, EPS, NDIM, FAIL, IND)
2 INTEGER nmax, n, ftest, ndim, ind(n)
4 DOUBLE PRECISION a(nmax,n), b(nmax,n), z(nmax,n),
eps
37 INTEGER l, ls, ls1, ls2, l1, ll, num,
is, l2i, l2k, i, k, ii,
55 IF (a(l1,l).EQ.0.) go to 10
59 s = (a(l,l)*b(l1,l1)+a(l1,l1)*b(l,l)-a(l1,l)*b(l,l1))/
d
60 p = (a(l,l)*a(l1,l1)-a(l,l1)*a(l1,l))/
d
65 is = ftest(ls,a(l,l),b(l,l),s,p)
67 IF (
is.EQ.1) ndim = ndim + ls
74 IF (ind(i).GT.0) go to 90
79 IF (ind(k).LT.0) go to 50
95 CALL
exchqz(nmax, n, a, b, z, l, ls1, ls2,
eps, fail)
97 ind(ifirst+1) = ind(ifirst)
100 90 l2i = l2i + ind(i)