2 implicit double precision (a-h,o-z)
5 if (ido .gt. 2) go to 102
7 ch(1,k,1) = cc(1,1,k)+cc(1,2,k)
8 ch(1,k,2) = cc(1,1,k)-cc(1,2,k)
9 ch(2,k,1) = cc(2,1,k)+cc(2,2,k)
10 ch(2,k,2) = cc(2,1,k)-cc(2,2,k)
15 ch(i-1,k,1) = cc(i-1,1,k)+cc(i-1,2,k)
16 tr2 = cc(i-1,1,k)-cc(i-1,2,k)
17 ch(i,k,1) = cc(i,1,k)+cc(i,2,k)
18 ti2 = cc(i,1,k)-cc(i,2,k)
19 ch(i,k,2) = wa1(i-1)*ti2+wa1(i)*tr2
20 ch(i-1,k,2) = wa1(i-1)*tr2-wa1(i)*ti2