334 REAL CH(*) ,C(*) ,WA(*) ,IFAC(*)
344 IF (ip .NE. 4)
GO TO 103
347 IF (na .NE. 0)
GO TO 101
348 CALL radb4 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3))
350 101
CALL radb4 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3))
353 103
IF (ip .NE. 2)
GO TO 106
354 IF (na .NE. 0)
GO TO 104
355 CALL radb2 (ido,l1,c,ch,wa(iw))
357 104
CALL radb2 (ido,l1,ch,c,wa(iw))
360 106
IF (ip .NE. 3)
GO TO 109
362 IF (na .NE. 0)
GO TO 107
363 CALL radb3 (ido,l1,c,ch,wa(iw),wa(ix2))
365 107
CALL radb3 (ido,l1,ch,c,wa(iw),wa(ix2))
368 109
IF (ip .NE. 5)
GO TO 112
372 IF (na .NE. 0)
GO TO 110
373 CALL radb5 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3),wa(ix4))
375 110
CALL radb5 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3),wa(ix4))
378 112
IF (na .NE. 0)
GO TO 113
379 CALL radbg (ido,ip,l1,idl1,c,c,c,ch,ch,wa(iw))
381 113
CALL radbg (ido,ip,l1,idl1,ch,ch,ch,c,c,wa(iw))
382 114
IF (ido .EQ. 1) na = 1-na
386 IF (na .EQ. 0)
RETURN
403 REAL CH(*) ,C(*) ,WA(*) ,IFAC(*)
416 IF (ip .NE. 4)
GO TO 102
419 IF (na .NE. 0)
GO TO 101
420 CALL radf4 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3))
422 101
CALL radf4 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3))
424 102
IF (ip .NE. 2)
GO TO 104
425 IF (na .NE. 0)
GO TO 103
426 CALL radf2 (ido,l1,c,ch,wa(iw))
428 103
CALL radf2 (ido,l1,ch,c,wa(iw))
430 104
IF (ip .NE. 3)
GO TO 106
432 IF (na .NE. 0)
GO TO 105
433 CALL radf3 (ido,l1,c,ch,wa(iw),wa(ix2))
435 105
CALL radf3 (ido,l1,ch,c,wa(iw),wa(ix2))
437 106
IF (ip .NE. 5)
GO TO 108
441 IF (na .NE. 0)
GO TO 107
442 CALL radf5 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3),wa(ix4))
444 107
CALL radf5 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3),wa(ix4))
446 108
IF (ido .EQ. 1) na = 1-na
447 IF (na .NE. 0)
GO TO 109
448 CALL radfg (ido,ip,l1,idl1,c,c,c,ch,ch,wa(iw))
451 109
CALL radfg (ido,ip,l1,idl1,ch,ch,ch,c,c,wa(iw))
455 IF (na .EQ. 1)
RETURN
547 dimension cc(ido,2,l1) ,ch(ido,l1,2) ,
550 ch(1,k,1) = cc(1,1,k)+cc(ido,2,k)
551 ch(1,k,2) = cc(1,1,k)-cc(ido,2,k)
555 ELSEIF (ido.EQ.2)
THEN
565 ch(i-1,k,1) = cc(i-1,1,k)+cc(ic-1,2,k)
566 tr2 = cc(i-1,1,k)-cc(ic-1,2,k)
567 ch(i,k,1) = cc(i,1,k)-cc(ic,2,k)
568 ti2 = cc(i,1,k)+cc(ic,2,k)
569 ch(i-1,k,2) = wa1(i-2)*tr2-wa1(i-1)*ti2
570 ch(i,k,2) = wa1(i-2)*ti2+wa1(i-1)*tr2
573 IF (mod(ido,2) .EQ. 1)
RETURN
575 ch(ido,k,1) = cc(ido,1,k)+cc(ido,1,k)
576 ch(ido,k,2) = -(cc(1,2,k)+cc(1,2,k))
591 SUBROUTINE radb3 (IDO,L1,CC,CH,WA1,WA2)
592 dimension cc(ido,3,l1) ,ch(ido,l1,3) ,
594 DATA taur,taui /-.5,.866025403784439/
596 tr2 = cc(ido,2,k)+cc(ido,2,k)
597 cr2 = cc(1,1,k)+taur*tr2
598 ch(1,k,1) = cc(1,1,k)+tr2
599 ci3 = taui*(cc(1,3,k)+cc(1,3,k))
603 IF (ido .EQ. 1)
RETURN
609 tr2 = cc(i-1,3,k)+cc(ic-1,2,k)
610 cr2 = cc(i-1,1,k)+taur*tr2
611 ch(i-1,k,1) = cc(i-1,1,k)+tr2
612 ti2 = cc(i,3,k)-cc(ic,2,k)
613 ci2 = cc(i,1,k)+taur*ti2
614 ch(i,k,1) = cc(i,1,k)+ti2
615 cr3 = taui*(cc(i-1,3,k)-cc(ic-1,2,k))
616 ci3 = taui*(cc(i,3,k)+cc(ic,2,k))
621 ch(i-1,k,2) = wa1(i-2)*dr2-wa1(i-1)*di2
622 ch(i,k,2) = wa1(i-2)*di2+wa1(i-1)*dr2
623 ch(i-1,k,3) = wa2(i-2)*dr3-wa2(i-1)*di3
624 ch(i,k,3) = wa2(i-2)*di3+wa2(i-1)*dr3
641 SUBROUTINE radb4 (IDO,L1,CC,CH,WA1,WA2,WA3)
642 dimension cc(ido,4,l1) ,ch(ido,l1,4) ,
643 1 wa1(*) ,wa2(*) ,wa3(*)
644 DATA sqrt2 /1.414213562373095/
646 tr1 = cc(1,1,k)-cc(ido,4,k)
647 tr2 = cc(1,1,k)+cc(ido,4,k)
648 tr3 = cc(ido,2,k)+cc(ido,2,k)
649 tr4 = cc(1,3,k)+cc(1,3,k)
657 ELSEIF (ido.EQ.2)
THEN
667 ti1 = cc(i,1,k)+cc(ic,4,k)
668 ti2 = cc(i,1,k)-cc(ic,4,k)
669 ti3 = cc(i,3,k)-cc(ic,2,k)
670 tr4 = cc(i,3,k)+cc(ic,2,k)
671 tr1 = cc(i-1,1,k)-cc(ic-1,4,k)
672 tr2 = cc(i-1,1,k)+cc(ic-1,4,k)
673 ti4 = cc(i-1,3,k)-cc(ic-1,2,k)
674 tr3 = cc(i-1,3,k)+cc(ic-1,2,k)
675 ch(i-1,k,1) = tr2+tr3
683 ch(i-1,k,2) = wa1(i-2)*cr2-wa1(i-1)*ci2
684 ch(i,k,2) = wa1(i-2)*ci2+wa1(i-1)*cr2
685 ch(i-1,k,3) = wa2(i-2)*cr3-wa2(i-1)*ci3
686 ch(i,k,3) = wa2(i-2)*ci3+wa2(i-1)*cr3
687 ch(i-1,k,4) = wa3(i-2)*cr4-wa3(i-1)*ci4
688 ch(i,k,4) = wa3(i-2)*ci4+wa3(i-1)*cr4
691 IF (mod(ido,2) .EQ. 1)
RETURN
694 ti1 = cc(1,2,k)+cc(1,4,k)
695 ti2 = cc(1,4,k)-cc(1,2,k)
696 tr1 = cc(ido,1,k)-cc(ido,3,k)
697 tr2 = cc(ido,1,k)+cc(ido,3,k)
698 ch(ido,k,1) = tr2+tr2
699 ch(ido,k,2) = sqrt2*(tr1-ti1)
700 ch(ido,k,3) = ti2+ti2
701 ch(ido,k,4) = -sqrt2*(tr1+ti1)
718 SUBROUTINE radb5 (IDO,L1,CC,CH,WA1,WA2,WA3,WA4)
719 dimension cc(ido,5,l1) ,ch(ido,l1,5) ,
720 1 wa1(*) ,wa2(*) ,wa3(*) ,wa4(*)
721 DATA tr11,ti11,tr12,ti12 /.309016994374947,.951056516295154,
722 1-.809016994374947,.587785252292473/
724 ti5 = cc(1,3,k)+cc(1,3,k)
725 ti4 = cc(1,5,k)+cc(1,5,k)
726 tr2 = cc(ido,2,k)+cc(ido,2,k)
727 tr3 = cc(ido,4,k)+cc(ido,4,k)
728 ch(1,k,1) = cc(1,1,k)+tr2+tr3
729 cr2 = cc(1,1,k)+tr11*tr2+tr12*tr3
730 cr3 = cc(1,1,k)+tr12*tr2+tr11*tr3
731 ci5 = ti11*ti5+ti12*ti4
732 ci4 = ti12*ti5-ti11*ti4
738 IF (ido .EQ. 1)
RETURN
743 ti5 = cc(i,3,k)+cc(ic,2,k)
744 ti2 = cc(i,3,k)-cc(ic,2,k)
745 ti4 = cc(i,5,k)+cc(ic,4,k)
746 ti3 = cc(i,5,k)-cc(ic,4,k)
747 tr5 = cc(i-1,3,k)-cc(ic-1,2,k)
748 tr2 = cc(i-1,3,k)+cc(ic-1,2,k)
749 tr4 = cc(i-1,5,k)-cc(ic-1,4,k)
750 tr3 = cc(i-1,5,k)+cc(ic-1,4,k)
751 ch(i-1,k,1) = cc(i-1,1,k)+tr2+tr3
752 ch(i,k,1) = cc(i,1,k)+ti2+ti3
753 cr2 = cc(i-1,1,k)+tr11*tr2+tr12*tr3
754 ci2 = cc(i,1,k)+tr11*ti2+tr12*ti3
755 cr3 = cc(i-1,1,k)+tr12*tr2+tr11*tr3
756 ci3 = cc(i,1,k)+tr12*ti2+tr11*ti3
757 cr5 = ti11*tr5+ti12*tr4
758 ci5 = ti11*ti5+ti12*ti4
759 cr4 = ti12*tr5-ti11*tr4
760 ci4 = ti12*ti5-ti11*ti4
769 ch(i-1,k,2) = wa1(i-2)*dr2-wa1(i-1)*di2
770 ch(i,k,2) = wa1(i-2)*di2+wa1(i-1)*dr2
771 ch(i-1,k,3) = wa2(i-2)*dr3-wa2(i-1)*di3
772 ch(i,k,3) = wa2(i-2)*di3+wa2(i-1)*dr3
773 ch(i-1,k,4) = wa3(i-2)*dr4-wa3(i-1)*di4
774 ch(i,k,4) = wa3(i-2)*di4+wa3(i-1)*dr4
775 ch(i-1,k,5) = wa4(i-2)*dr5-wa4(i-1)*di5
776 ch(i,k,5) = wa4(i-2)*di5+wa4(i-1)*dr5
796 SUBROUTINE radbg (IDO,IP,L1,IDL1,CC,C1,C2,CH,CH2,WA)
797 dimension ch(ido,l1,ip) ,cc(ido,ip,l1) ,
798 1 c1(ido,l1,ip) ,c2(idl1,ip),
799 2 ch2(idl1,ip) ,wa(*)
800 DATA tpi/6.28318530717959/
808 IF (ido .LT. l1)
GO TO 103
811 ch(i,k,1) = cc(i,1,k)
817 ch(i,k,1) = cc(i,1,k)
825 ch(1,k,j) = cc(ido,j2-2,k)+cc(ido,j2-2,k)
826 ch(1,k,jc) = cc(1,j2-1,k)+cc(1,j2-1,k)
829 IF (ido .EQ. 1)
GO TO 116
830 IF (nbd .LT. l1)
GO TO 112
837 ch(i-1,k,j) = cc(i-1,2*j-1,k)+cc(ic-1,2*j-2,k)
838 ch(i-1,k,jc) = cc(i-1,2*j-1,k)-cc(ic-1,2*j-2,k)
839 ch(i,k,j) = cc(i,2*j-1,k)-cc(ic,2*j-2,k)
840 ch(i,k,jc) = cc(i,2*j-1,k)+cc(ic,2*j-2,k)
850 ch(i-1,k,j) = cc(i-1,2*j-1,k)+cc(ic-1,2*j-2,k)
851 ch(i-1,k,jc) = cc(i-1,2*j-1,k)-cc(ic-1,2*j-2,k)
852 ch(i,k,j) = cc(i,2*j-1,k)-cc(ic,2*j-2,k)
853 ch(i,k,jc) = cc(i,2*j-1,k)+cc(ic,2*j-2,k)
862 ar1h = dcp*ar1-dsp*ai1
863 ai1 = dcp*ai1+dsp*ar1
866 c2(ik,l) = ch2(ik,1)+ar1*ch2(ik,2)
867 c2(ik,lc) = ai1*ch2(ik,ip)
876 ar2h = dc2*ar2-ds2*ai2
877 ai2 = dc2*ai2+ds2*ar2
880 c2(ik,l) = c2(ik,l)+ar2*ch2(ik,j)
881 c2(ik,lc) = c2(ik,lc)+ai2*ch2(ik,jc)
888 ch2(ik,1) = ch2(ik,1)+ch2(ik,j)
895 ch(1,k,j) = c1(1,k,j)-c1(1,k,jc)
896 ch(1,k,jc) = c1(1,k,j)+c1(1,k,jc)
899 IF (ido .EQ. 1)
GO TO 132
900 IF (nbd .LT. l1)
GO TO 128
906 ch(i-1,k,j) = c1(i-1,k,j)-c1(i,k,jc)
907 ch(i-1,k,jc) = c1(i-1,k,j)+c1(i,k,jc)
908 ch(i,k,j) = c1(i,k,j)+c1(i-1,k,jc)
909 ch(i,k,jc) = c1(i,k,j)-c1(i-1,k,jc)
918 ch(i-1,k,j) = c1(i-1,k,j)-c1(i,k,jc)
919 ch(i-1,k,jc) = c1(i-1,k,j)+c1(i,k,jc)
920 ch(i,k,j) = c1(i,k,j)+c1(i-1,k,jc)
921 ch(i,k,jc) = c1(i,k,j)-c1(i-1,k,jc)
926 IF (ido .EQ. 1)
RETURN
932 c1(1,k,j) = ch(1,k,j)
935 IF (nbd .GT. l1)
GO TO 139
943 c1(i-1,k,j) = wa(idij-1)*ch(i-1,k,j)-wa(idij)*ch(i,k,j)
944 c1(i,k,j) = wa(idij-1)*ch(i,k,j)+wa(idij)*ch(i-1,k,j)
957 c1(i-1,k,j) = wa(idij-1)*ch(i-1,k,j)-wa(idij)*ch(i,k,j)
958 c1(i,k,j) = wa(idij-1)*ch(i,k,j)+wa(idij)*ch(i-1,k,j)
975 dimension ch(ido,2,l1) ,cc(ido,l1,2) ,
978 ch(1,1,k) = cc(1,k,1)+cc(1,k,2)
979 ch(ido,2,k) = cc(1,k,1)-cc(1,k,2)
983 ELSEIF (ido.EQ.2)
THEN
992 tr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
993 ti2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
994 ch(i,1,k) = cc(i,k,1)+ti2
995 ch(ic,2,k) = ti2-cc(i,k,1)
996 ch(i-1,1,k) = cc(i-1,k,1)+tr2
997 ch(ic-1,2,k) = cc(i-1,k,1)-tr2
1000 IF (mod(ido,2) .EQ. 1)
RETURN
1002 ch(1,2,k) = -cc(ido,k,2)
1003 ch(ido,1,k) = cc(ido,k,1)
1019 dimension ch(ido,3,l1) ,cc(ido,l1,3) ,
1021 DATA taur,taui /-.5,.866025403784439/
1023 cr2 = cc(1,k,2)+cc(1,k,3)
1024 ch(1,1,k) = cc(1,k,1)+cr2
1025 ch(1,3,k) = taui*(cc(1,k,3)-cc(1,k,2))
1026 ch(ido,2,k) = cc(1,k,1)+taur*cr2
1028 IF (ido .EQ. 1)
RETURN
1033 dr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
1034 di2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
1035 dr3 = wa2(i-2)*cc(i-1,k,3)+wa2(i-1)*cc(i,k,3)
1036 di3 = wa2(i-2)*cc(i,k,3)-wa2(i-1)*cc(i-1,k,3)
1039 ch(i-1,1,k) = cc(i-1,k,1)+cr2
1040 ch(i,1,k) = cc(i,k,1)+ci2
1041 tr2 = cc(i-1,k,1)+taur*cr2
1042 ti2 = cc(i,k,1)+taur*ci2
1043 tr3 = taui*(di2-di3)
1044 ti3 = taui*(dr3-dr2)
1045 ch(i-1,3,k) = tr2+tr3
1046 ch(ic-1,2,k) = tr2-tr3
1048 ch(ic,2,k) = ti3-ti2
1065 SUBROUTINE radf4 (IDO,L1,CC,CH,WA1,WA2,WA3)
1066 dimension cc(ido,l1,4) ,ch(ido,4,l1) ,
1067 1 wa1(*) ,wa2(*) ,wa3(*)
1068 DATA hsqt2 /.7071067811865475/
1070 tr1 = cc(1,k,2)+cc(1,k,4)
1071 tr2 = cc(1,k,1)+cc(1,k,3)
1073 ch(ido,4,k) = tr2-tr1
1074 ch(ido,2,k) = cc(1,k,1)-cc(1,k,3)
1075 ch(1,3,k) = cc(1,k,4)-cc(1,k,2)
1079 ELSEIF (ido.EQ.2)
THEN
1089 cr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
1090 ci2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
1091 cr3 = wa2(i-2)*cc(i-1,k,3)+wa2(i-1)*cc(i,k,3)
1092 ci3 = wa2(i-2)*cc(i,k,3)-wa2(i-1)*cc(i-1,k,3)
1093 cr4 = wa3(i-2)*cc(i-1,k,4)+wa3(i-1)*cc(i,k,4)
1094 ci4 = wa3(i-2)*cc(i,k,4)-wa3(i-1)*cc(i-1,k,4)
1101 tr2 = cc(i-1,k,1)+cr3
1102 tr3 = cc(i-1,k,1)-cr3
1103 ch(i-1,1,k) = tr1+tr2
1104 ch(ic-1,4,k) = tr2-tr1
1106 ch(ic,4,k) = ti1-ti2
1107 ch(i-1,3,k) = ti4+tr3
1108 ch(ic-1,2,k) = tr3-ti4
1110 ch(ic,2,k) = tr4-ti3
1113 IF (mod(ido,2) .EQ. 1)
RETURN
1116 ti1 = -hsqt2*(cc(ido,k,2)+cc(ido,k,4))
1117 tr1 = hsqt2*(cc(ido,k,2)-cc(ido,k,4))
1118 ch(ido,1,k) = tr1+cc(ido,k,1)
1119 ch(ido,3,k) = cc(ido,k,1)-tr1
1120 ch(1,2,k) = ti1-cc(ido,k,3)
1121 ch(1,4,k) = ti1+cc(ido,k,3)
1138 SUBROUTINE radf5 (IDO,L1,CC,CH,WA1,WA2,WA3,WA4)
1139 dimension cc(ido,l1,5) ,ch(ido,5,l1) ,
1140 1 wa1(*) ,wa2(*) ,wa3(*) ,wa4(*)
1141 DATA tr11,ti11,tr12,ti12 /.309016994374947,.951056516295154,
1142 1-.809016994374947,.587785252292473/
1144 cr2 = cc(1,k,5)+cc(1,k,2)
1145 ci5 = cc(1,k,5)-cc(1,k,2)
1146 cr3 = cc(1,k,4)+cc(1,k,3)
1147 ci4 = cc(1,k,4)-cc(1,k,3)
1148 ch(1,1,k) = cc(1,k,1)+cr2+cr3
1149 ch(ido,2,k) = cc(1,k,1)+tr11*cr2+tr12*cr3
1150 ch(1,3,k) = ti11*ci5+ti12*ci4
1151 ch(ido,4,k) = cc(1,k,1)+tr12*cr2+tr11*cr3
1152 ch(1,5,k) = ti12*ci5-ti11*ci4
1154 IF (ido .EQ. 1)
RETURN
1159 dr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
1160 di2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
1161 dr3 = wa2(i-2)*cc(i-1,k,3)+wa2(i-1)*cc(i,k,3)
1162 di3 = wa2(i-2)*cc(i,k,3)-wa2(i-1)*cc(i-1,k,3)
1163 dr4 = wa3(i-2)*cc(i-1,k,4)+wa3(i-1)*cc(i,k,4)
1164 di4 = wa3(i-2)*cc(i,k,4)-wa3(i-1)*cc(i-1,k,4)
1165 dr5 = wa4(i-2)*cc(i-1,k,5)+wa4(i-1)*cc(i,k,5)
1166 di5 = wa4(i-2)*cc(i,k,5)-wa4(i-1)*cc(i-1,k,5)
1175 ch(i-1,1,k) = cc(i-1,k,1)+cr2+cr3
1176 ch(i,1,k) = cc(i,k,1)+ci2+ci3
1177 tr2 = cc(i-1,k,1)+tr11*cr2+tr12*cr3
1178 ti2 = cc(i,k,1)+tr11*ci2+tr12*ci3
1179 tr3 = cc(i-1,k,1)+tr12*cr2+tr11*cr3
1180 ti3 = cc(i,k,1)+tr12*ci2+tr11*ci3
1181 tr5 = ti11*cr5+ti12*cr4
1182 ti5 = ti11*ci5+ti12*ci4
1183 tr4 = ti12*cr5-ti11*cr4
1184 ti4 = ti12*ci5-ti11*ci4
1185 ch(i-1,3,k) = tr2+tr5
1186 ch(ic-1,2,k) = tr2-tr5
1188 ch(ic,2,k) = ti5-ti2
1189 ch(i-1,5,k) = tr3+tr4
1190 ch(ic-1,4,k) = tr3-tr4
1192 ch(ic,4,k) = ti4-ti3
1212 SUBROUTINE radfg (IDO,IP,L1,IDL1,CC,C1,C2,CH,CH2,WA)
1213 dimension ch(ido,l1,ip) ,cc(ido,ip,l1) ,
1214 1 c1(ido,l1,ip) ,c2(idl1,ip),
1215 2 ch2(idl1,ip) ,wa(*)
1216 DATA tpi/6.28318530717959/
1224 IF (ido .EQ. 1)
GO TO 119
1226 ch2(ik,1) = c2(ik,1)
1230 ch(1,k,j) = c1(1,k,j)
1233 IF (nbd .GT. l1)
GO TO 107
1241 ch(i-1,k,j) = wa(idij-1)*c1(i-1,k,j)+wa(idij)*c1(i,k,j)
1242 ch(i,k,j) = wa(idij-1)*c1(i,k,j)-wa(idij)*c1(i-1,k,j)
1254 ch(i-1,k,j) = wa(idij-1)*c1(i-1,k,j)+wa(idij)*c1(i,k,j)
1255 ch(i,k,j) = wa(idij-1)*c1(i,k,j)-wa(idij)*c1(i-1,k,j)
1259 111
IF (nbd .LT. l1)
GO TO 115
1264 c1(i-1,k,j) = ch(i-1,k,j)+ch(i-1,k,jc)
1265 c1(i-1,k,jc) = ch(i,k,j)-ch(i,k,jc)
1266 c1(i,k,j) = ch(i,k,j)+ch(i,k,jc)
1267 c1(i,k,jc) = ch(i-1,k,jc)-ch(i-1,k,j)
1276 c1(i-1,k,j) = ch(i-1,k,j)+ch(i-1,k,jc)
1277 c1(i-1,k,jc) = ch(i,k,j)-ch(i,k,jc)
1278 c1(i,k,j) = ch(i,k,j)+ch(i,k,jc)
1279 c1(i,k,jc) = ch(i-1,k,jc)-ch(i-1,k,j)
1284 119
DO 120 ik=1,idl1
1285 c2(ik,1) = ch2(ik,1)
1290 c1(1,k,j) = ch(1,k,j)+ch(1,k,jc)
1291 c1(1,k,jc) = ch(1,k,jc)-ch(1,k,j)
1299 ar1h = dcp*ar1-dsp*ai1
1300 ai1 = dcp*ai1+dsp*ar1
1303 ch2(ik,l) = c2(ik,1)+ar1*c2(ik,2)
1304 ch2(ik,lc) = ai1*c2(ik,ip)
1312 ar2h = dc2*ar2-ds2*ai2
1313 ai2 = dc2*ai2+ds2*ar2
1316 ch2(ik,l) = ch2(ik,l)+ar2*c2(ik,j)
1317 ch2(ik,lc) = ch2(ik,lc)+ai2*c2(ik,jc)
1323 ch2(ik,1) = ch2(ik,1)+c2(ik,j)
1327 IF (ido .LT. l1)
GO TO 132
1330 cc(i,1,k) = ch(i,k,1)
1336 cc(i,1,k) = ch(i,k,1)
1343 cc(ido,j2-2,k) = ch(1,k,j)
1344 cc(1,j2-1,k) = ch(1,k,jc)
1347 IF (ido .EQ. 1)
RETURN
1348 IF (nbd .LT. l1)
GO TO 141
1355 cc(i-1,j2-1,k) = ch(i-1,k,j)+ch(i-1,k,jc)
1356 cc(ic-1,j2-2,k) = ch(i-1,k,j)-ch(i-1,k,jc)
1357 cc(i,j2-1,k) = ch(i,k,j)+ch(i,k,jc)
1358 cc(ic,j2-2,k) = ch(i,k,jc)-ch(i,k,j)
1369 cc(i-1,j2-1,k) = ch(i-1,k,j)+ch(i-1,k,jc)
1370 cc(ic-1,j2-2,k) = ch(i-1,k,j)-ch(i-1,k,jc)
1371 cc(i,j2-1,k) = ch(i,k,j)+ch(i,k,jc)
1372 cc(ic,j2-2,k) = ch(i,k,jc)-ch(i,k,j)