31integer,
intent(in) :: l,k,p,r,ld
32complex(8),
intent(in) :: dm(ld,2,ld,2)
33real(8),
intent(out) :: wkpr(-ld:ld)
38complex(8) gamma(ld,2,ld,2)
40real(8),
external :: trzhmm
43 write(*,
'("Error(dmtotm3): l < 0 : ",I8)') l
49 write(*,
'("Error(dmtotm3): k < 0 : ",I8)') k
55 write(*,
'("Error(dmtotm3): k > 2*l : ",2I8)') k,2*l
59if ((p < 0).or.(p > 1))
then
61 write(*,
'("Error(dmtotm3): p should be 0 or 1 : ",I8)') p
67 write(*,
'("Error(dmtotm3): r < |k-p| : ",2I8)') r,abs(k-p)
73 write(*,
'("Error(dmtotm3): r > k+p : ",2I8)') r,k+p
82 call tm3todm(l,k,p,r,ld,w,gamma)
subroutine dmtotm3(l, k, p, r, ld, dm, wkpr)
subroutine tm3todm(l, k, p, r, ld, wkpr, dm)
pure real(8) function trzhmm(n, a, b)