zpassf2.f

Go to the documentation of this file.
00001       subroutine zpassf2 (ido,l1,cc,ch,wa1)
00002       implicit double precision (a-h,o-z)
00003       dimension       cc(ido,2,l1)           ,ch(ido,l1,2)           ,
00004      1                wa1(1)
00005       if (ido .gt. 2) go to 102
00006       do 101 k=1,l1
00007          ch(1,k,1) = cc(1,1,k)+cc(1,2,k)
00008          ch(1,k,2) = cc(1,1,k)-cc(1,2,k)
00009          ch(2,k,1) = cc(2,1,k)+cc(2,2,k)
00010          ch(2,k,2) = cc(2,1,k)-cc(2,2,k)
00011   101 continue
00012       return
00013   102 do 104 k=1,l1
00014          do 103 i=2,ido,2
00015             ch(i-1,k,1) = cc(i-1,1,k)+cc(i-1,2,k)
00016             tr2 = cc(i-1,1,k)-cc(i-1,2,k)
00017             ch(i,k,1) = cc(i,1,k)+cc(i,2,k)
00018             ti2 = cc(i,1,k)-cc(i,2,k)
00019             ch(i,k,2) = wa1(i-1)*ti2-wa1(i)*tr2
00020             ch(i-1,k,2) = wa1(i-1)*tr2+wa1(i)*ti2
00021   103    continue
00022   104 continue
00023       return
00024       end
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines