1 C***********************************************************************
2 SUBROUTINE RADF4M (INC,LOT,IDO,L1,CC,CH,WA1,WA2,WA3)
3 DIMENSION CC(INC,IDO,L1,4) ,CH(INC,IDO,4,L1)
4 1 ,WA1(*) ,WA2(*) ,WA3(*)
5 DATA HSQT2 /.70710678118654750/
9 TR1 = CC(L,1,K,2)+CC(L,1,K,4)
10 TR2 = CC(L,1,K,1)+CC(L,1,K,3)
11 CH(L, 1,3,K) = CC(L,1,K,4)-CC(L,1,K,2)
12 CH(L, 1,1,K) = TR1+TR2
13 CH(L,IDO,2,K) = CC(L,1,K,1)-CC(L,1,K,3)
14 CH(L,IDO,4,K) = TR2-TR1
16 IF (MOD(IDO,2) .EQ. 0) THEN
20 TR1 = HSQT2*(CC(L,IDO,K,2)-CC(L,IDO,K,4))
21 TI1 = -HSQT2*(CC(L,IDO,K,2)+CC(L,IDO,K,4))
22 CH(L,IDO,1,K) = CC(L,IDO,K,1)+TR1
23 CH(L, 1,2,K) = TI1 -CC(L,IDO,K,3)
24 CH(L,IDO,3,K) = CC(L,IDO,K,1)-TR1
25 CH(L, 1,4,K) = TI1 +CC(L,IDO,K,3)
36 CR2 = WA1(I-2)*CC(L,I-1,K,2)+WA1(I-1)*CC(L,I ,K,2)
37 CI2 = WA1(I-2)*CC(L,I ,K,2)-WA1(I-1)*CC(L,I-1,K,2)
38 CR3 = WA2(I-2)*CC(L,I-1,K,3)+WA2(I-1)*CC(L,I ,K,3)
39 CI3 = WA2(I-2)*CC(L,I ,K,3)-WA2(I-1)*CC(L,I-1,K,3)
40 CR4 = WA3(I-2)*CC(L,I-1,K,4)+WA3(I-1)*CC(L,I ,K,4)
41 CI4 = WA3(I-2)*CC(L,I ,K,4)-WA3(I-1)*CC(L,I-1,K,4)
42 TR2 = CC(L,I-1,K,1)+CR3
43 TI2 = CC(L,I ,K,1)+CI3
46 TR3 = CC(L,I-1,K,1)-CR3
47 TI3 = CC(L,I ,K,1)-CI3
50 CH(L,I -1,1,K) = TR1+TR2
51 C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