9subroutine rotzflm(rot,lmin,lmax,lmmax,n,ld,zflm1,zflm2)
35real(8),
intent(in) :: rot(3,3)
36integer,
intent(in) :: lmin,lmax,lmmax,n,ld
37complex(8),
intent(in) :: zflm1(ld,n)
38complex(8),
intent(out) :: zflm2(ld,n)
41real(8) det,ang(3),angi(3)
42complex(8),
parameter :: zzero=(0.d0,0.d0),zone=(1.d0,0.d0)
44complex(8) d(lmmax,lmmax)
45if ((lmin < 0).or.(lmin > lmax).or.(n < 1))
return
47det=rot(1,1)*(rot(2,2)*rot(3,3)-rot(3,2)*rot(2,3)) &
48 +rot(2,1)*(rot(3,2)*rot(1,3)-rot(1,2)*rot(3,3)) &
49 +rot(3,1)*(rot(1,2)*rot(2,3)-rot(2,2)*rot(1,3))
63call ylmrot(p,angi,lmax,lmmax,d)
69 call zgemm(
'N',
'N',nm,n,nm,zone,d(lm1,lm1),lmmax,zflm1(lm2,1),ld,zzero, &
subroutine rotzflm(rot, lmin, lmax, lmmax, n, ld, zflm1, zflm2)