9 integer,
intent(in) :: n,p
10 complex(8),
intent(inout) :: dw(n,n),ex(n,n),fy(n)
11 real(8),
intent(out) :: w(n)
16 integer,
allocatable :: idx(:)
17 real(8),
allocatable :: r(:)
18 complex(8),
allocatable :: w2(:),h(:,:)
19 complex(8),
allocatable :: x(:),a(:,:)
21 real(8),
external :: dznrm2
24 allocate(w2(n2),h(n2,n2))
36 allocate(idx(n2),r(n2))
38 t1=dznrm2(n,h(1,j),1)**2
39 t2=dznrm2(n,h(n+1,j),1)**2
47 t1=(1.d0-(1.d0-t1)**p)/sqrt(t1)
50 ex(1:n,i)=t1*h(n+1:n2,j)
52 deallocate(idx,r,w2,h)
55 a(:,:)=dw(:,:)-ex(:,:)
57 call zgemv(
'T',n,n,(1.d0,0.d0),a,n,x,1,(0.d0,0.d0),fy,1)
59 if (w(i) > 1.d-6)
then subroutine eveqnwxy(n, p, dw, ex, fy, w)
pure subroutine sortidx(n, x, idx)
subroutine eveqnzg(n, ld, a, w)