387 REAL CH(*) ,C(*) ,WA(*) ,IFAC(*)
397 IF (ip .NE. 4)
GO TO 103
400 IF (na .NE. 0)
GO TO 101
401 CALL radb4 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3))
403 101
CALL radb4 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3))
406 103
IF (ip .NE. 2)
GO TO 106
407 IF (na .NE. 0)
GO TO 104
408 CALL radb2 (ido,l1,c,ch,wa(iw))
410 104
CALL radb2 (ido,l1,ch,c,wa(iw))
413 106
IF (ip .NE. 3)
GO TO 109
415 IF (na .NE. 0)
GO TO 107
416 CALL radb3 (ido,l1,c,ch,wa(iw),wa(ix2))
418 107
CALL radb3 (ido,l1,ch,c,wa(iw),wa(ix2))
421 109
IF (ip .NE. 5)
GO TO 112
425 IF (na .NE. 0)
GO TO 110
426 CALL radb5 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3),wa(ix4))
428 110
CALL radb5 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3),wa(ix4))
431 112
IF (na .NE. 0)
GO TO 113
432 CALL radbg (ido,ip,l1,idl1,c,c,c,ch,ch,wa(iw))
434 113
CALL radbg (ido,ip,l1,idl1,ch,ch,ch,c,c,wa(iw))
435 114
IF (ido .EQ. 1) na = 1-na
439 IF (na .EQ. 0)
RETURN
461 REAL CH(*) ,C(*) ,WA(*) ,IFAC(*)
474 IF (ip .NE. 4)
GO TO 102
477 IF (na .NE. 0)
GO TO 101
478 CALL radf4 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3))
480 101
CALL radf4 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3))
482 102
IF (ip .NE. 2)
GO TO 104
483 IF (na .NE. 0)
GO TO 103
484 CALL radf2 (ido,l1,c,ch,wa(iw))
486 103
CALL radf2 (ido,l1,ch,c,wa(iw))
488 104
IF (ip .NE. 3)
GO TO 106
490 IF (na .NE. 0)
GO TO 105
491 CALL radf3 (ido,l1,c,ch,wa(iw),wa(ix2))
493 105
CALL radf3 (ido,l1,ch,c,wa(iw),wa(ix2))
495 106
IF (ip .NE. 5)
GO TO 108
499 IF (na .NE. 0)
GO TO 107
500 CALL radf5 (ido,l1,c,ch,wa(iw),wa(ix2),wa(ix3),wa(ix4))
502 107
CALL radf5 (ido,l1,ch,c,wa(iw),wa(ix2),wa(ix3),wa(ix4))
504 108
IF (ido .EQ. 1) na = 1-na
505 IF (na .NE. 0)
GO TO 109
506 CALL radfg (ido,ip,l1,idl1,c,c,c,ch,ch,wa(iw))
509 109
CALL radfg (ido,ip,l1,idl1,ch,ch,ch,c,c,wa(iw))
513 IF (na .EQ. 1)
RETURN
614 dimension cc(ido,2,l1) ,ch(ido,l1,2) ,
617 ch(1,k,1) = cc(1,1,k)+cc(ido,2,k)
618 ch(1,k,2) = cc(1,1,k)-cc(ido,2,k)
622 ELSEIF (ido.EQ.2)
THEN
632 ch(i-1,k,1) = cc(i-1,1,k)+cc(ic-1,2,k)
633 tr2 = cc(i-1,1,k)-cc(ic-1,2,k)
634 ch(i,k,1) = cc(i,1,k)-cc(ic,2,k)
635 ti2 = cc(i,1,k)+cc(ic,2,k)
636 ch(i-1,k,2) = wa1(i-2)*tr2-wa1(i-1)*ti2
637 ch(i,k,2) = wa1(i-2)*ti2+wa1(i-1)*tr2
640 IF (mod(ido,2) .EQ. 1)
RETURN
642 ch(ido,k,1) = cc(ido,1,k)+cc(ido,1,k)
643 ch(ido,k,2) = -(cc(1,2,k)+cc(1,2,k))
662 SUBROUTINE radb3 (IDO,L1,CC,CH,WA1,WA2)
663 dimension cc(ido,3,l1) ,ch(ido,l1,3) ,
665 DATA taur,taui /-.5,.866025403784439/
667 tr2 = cc(ido,2,k)+cc(ido,2,k)
668 cr2 = cc(1,1,k)+taur*tr2
669 ch(1,k,1) = cc(1,1,k)+tr2
670 ci3 = taui*(cc(1,3,k)+cc(1,3,k))
674 IF (ido .EQ. 1)
RETURN
680 tr2 = cc(i-1,3,k)+cc(ic-1,2,k)
681 cr2 = cc(i-1,1,k)+taur*tr2
682 ch(i-1,k,1) = cc(i-1,1,k)+tr2
683 ti2 = cc(i,3,k)-cc(ic,2,k)
684 ci2 = cc(i,1,k)+taur*ti2
685 ch(i,k,1) = cc(i,1,k)+ti2
686 cr3 = taui*(cc(i-1,3,k)-cc(ic-1,2,k))
687 ci3 = taui*(cc(i,3,k)+cc(ic,2,k))
692 ch(i-1,k,2) = wa1(i-2)*dr2-wa1(i-1)*di2
693 ch(i,k,2) = wa1(i-2)*di2+wa1(i-1)*dr2
694 ch(i-1,k,3) = wa2(i-2)*dr3-wa2(i-1)*di3
695 ch(i,k,3) = wa2(i-2)*di3+wa2(i-1)*dr3
717 SUBROUTINE radb4 (IDO,L1,CC,CH,WA1,WA2,WA3)
718 dimension cc(ido,4,l1) ,ch(ido,l1,4) ,
719 1 wa1(*) ,wa2(*) ,wa3(*)
720 DATA sqrt2 /1.414213562373095/
722 tr1 = cc(1,1,k)-cc(ido,4,k)
723 tr2 = cc(1,1,k)+cc(ido,4,k)
724 tr3 = cc(ido,2,k)+cc(ido,2,k)
725 tr4 = cc(1,3,k)+cc(1,3,k)
733 ELSEIF (ido.EQ.2)
THEN
743 ti1 = cc(i,1,k)+cc(ic,4,k)
744 ti2 = cc(i,1,k)-cc(ic,4,k)
745 ti3 = cc(i,3,k)-cc(ic,2,k)
746 tr4 = cc(i,3,k)+cc(ic,2,k)
747 tr1 = cc(i-1,1,k)-cc(ic-1,4,k)
748 tr2 = cc(i-1,1,k)+cc(ic-1,4,k)
749 ti4 = cc(i-1,3,k)-cc(ic-1,2,k)
750 tr3 = cc(i-1,3,k)+cc(ic-1,2,k)
751 ch(i-1,k,1) = tr2+tr3
759 ch(i-1,k,2) = wa1(i-2)*cr2-wa1(i-1)*ci2
760 ch(i,k,2) = wa1(i-2)*ci2+wa1(i-1)*cr2
761 ch(i-1,k,3) = wa2(i-2)*cr3-wa2(i-1)*ci3
762 ch(i,k,3) = wa2(i-2)*ci3+wa2(i-1)*cr3
763 ch(i-1,k,4) = wa3(i-2)*cr4-wa3(i-1)*ci4
764 ch(i,k,4) = wa3(i-2)*ci4+wa3(i-1)*cr4
767 IF (mod(ido,2) .EQ. 1)
RETURN
770 ti1 = cc(1,2,k)+cc(1,4,k)
771 ti2 = cc(1,4,k)-cc(1,2,k)
772 tr1 = cc(ido,1,k)-cc(ido,3,k)
773 tr2 = cc(ido,1,k)+cc(ido,3,k)
774 ch(ido,k,1) = tr2+tr2
775 ch(ido,k,2) = sqrt2*(tr1-ti1)
776 ch(ido,k,3) = ti2+ti2
777 ch(ido,k,4) = -sqrt2*(tr1+ti1)
801 SUBROUTINE radb5 (IDO,L1,CC,CH,WA1,WA2,WA3,WA4)
802 dimension cc(ido,5,l1) ,ch(ido,l1,5) ,
803 1 wa1(*) ,wa2(*) ,wa3(*) ,wa4(*)
804 DATA tr11,ti11,tr12,ti12 /.309016994374947,.951056516295154,
805 1-.809016994374947,.587785252292473/
807 ti5 = cc(1,3,k)+cc(1,3,k)
808 ti4 = cc(1,5,k)+cc(1,5,k)
809 tr2 = cc(ido,2,k)+cc(ido,2,k)
810 tr3 = cc(ido,4,k)+cc(ido,4,k)
811 ch(1,k,1) = cc(1,1,k)+tr2+tr3
812 cr2 = cc(1,1,k)+tr11*tr2+tr12*tr3
813 cr3 = cc(1,1,k)+tr12*tr2+tr11*tr3
814 ci5 = ti11*ti5+ti12*ti4
815 ci4 = ti12*ti5-ti11*ti4
821 IF (ido .EQ. 1)
RETURN
826 ti5 = cc(i,3,k)+cc(ic,2,k)
827 ti2 = cc(i,3,k)-cc(ic,2,k)
828 ti4 = cc(i,5,k)+cc(ic,4,k)
829 ti3 = cc(i,5,k)-cc(ic,4,k)
830 tr5 = cc(i-1,3,k)-cc(ic-1,2,k)
831 tr2 = cc(i-1,3,k)+cc(ic-1,2,k)
832 tr4 = cc(i-1,5,k)-cc(ic-1,4,k)
833 tr3 = cc(i-1,5,k)+cc(ic-1,4,k)
834 ch(i-1,k,1) = cc(i-1,1,k)+tr2+tr3
835 ch(i,k,1) = cc(i,1,k)+ti2+ti3
836 cr2 = cc(i-1,1,k)+tr11*tr2+tr12*tr3
837 ci2 = cc(i,1,k)+tr11*ti2+tr12*ti3
838 cr3 = cc(i-1,1,k)+tr12*tr2+tr11*tr3
839 ci3 = cc(i,1,k)+tr12*ti2+tr11*ti3
840 cr5 = ti11*tr5+ti12*tr4
841 ci5 = ti11*ti5+ti12*ti4
842 cr4 = ti12*tr5-ti11*tr4
843 ci4 = ti12*ti5-ti11*ti4
852 ch(i-1,k,2) = wa1(i-2)*dr2-wa1(i-1)*di2
853 ch(i,k,2) = wa1(i-2)*di2+wa1(i-1)*dr2
854 ch(i-1,k,3) = wa2(i-2)*dr3-wa2(i-1)*di3
855 ch(i,k,3) = wa2(i-2)*di3+wa2(i-1)*dr3
856 ch(i-1,k,4) = wa3(i-2)*dr4-wa3(i-1)*di4
857 ch(i,k,4) = wa3(i-2)*di4+wa3(i-1)*dr4
858 ch(i-1,k,5) = wa4(i-2)*dr5-wa4(i-1)*di5
859 ch(i,k,5) = wa4(i-2)*di5+wa4(i-1)*dr5
887 SUBROUTINE radbg (IDO,IP,L1,IDL1,CC,C1,C2,CH,CH2,WA)
888 dimension ch(ido,l1,ip) ,cc(ido,ip,l1) ,
889 1 c1(ido,l1,ip) ,c2(idl1,ip),
890 2 ch2(idl1,ip) ,wa(*)
891 DATA tpi/6.28318530717959/
899 IF (ido .LT. l1)
GO TO 103
902 ch(i,k,1) = cc(i,1,k)
908 ch(i,k,1) = cc(i,1,k)
916 ch(1,k,j) = cc(ido,j2-2,k)+cc(ido,j2-2,k)
917 ch(1,k,jc) = cc(1,j2-1,k)+cc(1,j2-1,k)
920 IF (ido .EQ. 1)
GO TO 116
921 IF (nbd .LT. l1)
GO TO 112
928 ch(i-1,k,j) = cc(i-1,2*j-1,k)+cc(ic-1,2*j-2,k)
929 ch(i-1,k,jc) = cc(i-1,2*j-1,k)-cc(ic-1,2*j-2,k)
930 ch(i,k,j) = cc(i,2*j-1,k)-cc(ic,2*j-2,k)
931 ch(i,k,jc) = cc(i,2*j-1,k)+cc(ic,2*j-2,k)
941 ch(i-1,k,j) = cc(i-1,2*j-1,k)+cc(ic-1,2*j-2,k)
942 ch(i-1,k,jc) = cc(i-1,2*j-1,k)-cc(ic-1,2*j-2,k)
943 ch(i,k,j) = cc(i,2*j-1,k)-cc(ic,2*j-2,k)
944 ch(i,k,jc) = cc(i,2*j-1,k)+cc(ic,2*j-2,k)
953 ar1h = dcp*ar1-dsp*ai1
954 ai1 = dcp*ai1+dsp*ar1
957 c2(ik,l) = ch2(ik,1)+ar1*ch2(ik,2)
958 c2(ik,lc) = ai1*ch2(ik,ip)
967 ar2h = dc2*ar2-ds2*ai2
968 ai2 = dc2*ai2+ds2*ar2
971 c2(ik,l) = c2(ik,l)+ar2*ch2(ik,j)
972 c2(ik,lc) = c2(ik,lc)+ai2*ch2(ik,jc)
979 ch2(ik,1) = ch2(ik,1)+ch2(ik,j)
986 ch(1,k,j) = c1(1,k,j)-c1(1,k,jc)
987 ch(1,k,jc) = c1(1,k,j)+c1(1,k,jc)
990 IF (ido .EQ. 1)
GO TO 132
991 IF (nbd .LT. l1)
GO TO 128
997 ch(i-1,k,j) = c1(i-1,k,j)-c1(i,k,jc)
998 ch(i-1,k,jc) = c1(i-1,k,j)+c1(i,k,jc)
999 ch(i,k,j) = c1(i,k,j)+c1(i-1,k,jc)
1000 ch(i,k,jc) = c1(i,k,j)-c1(i-1,k,jc)
1009 ch(i-1,k,j) = c1(i-1,k,j)-c1(i,k,jc)
1010 ch(i-1,k,jc) = c1(i-1,k,j)+c1(i,k,jc)
1011 ch(i,k,j) = c1(i,k,j)+c1(i-1,k,jc)
1012 ch(i,k,jc) = c1(i,k,j)-c1(i-1,k,jc)
1017 IF (ido .EQ. 1)
RETURN
1019 c2(ik,1) = ch2(ik,1)
1023 c1(1,k,j) = ch(1,k,j)
1026 IF (nbd .GT. l1)
GO TO 139
1034 c1(i-1,k,j) = wa(idij-1)*ch(i-1,k,j)-wa(idij)*ch(i,k,j)
1035 c1(i,k,j) = wa(idij-1)*ch(i,k,j)+wa(idij)*ch(i-1,k,j)
1048 c1(i-1,k,j) = wa(idij-1)*ch(i-1,k,j)-wa(idij)*ch(i,k,j)
1049 c1(i,k,j) = wa(idij-1)*ch(i,k,j)+wa(idij)*ch(i-1,k,j)
1074 dimension ch(ido,2,l1) ,cc(ido,l1,2) ,
1077 ch(1,1,k) = cc(1,k,1)+cc(1,k,2)
1078 ch(ido,2,k) = cc(1,k,1)-cc(1,k,2)
1082 ELSEIF (ido.EQ.2)
THEN
1091 tr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
1092 ti2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
1093 ch(i,1,k) = cc(i,k,1)+ti2
1094 ch(ic,2,k) = ti2-cc(i,k,1)
1095 ch(i-1,1,k) = cc(i-1,k,1)+tr2
1096 ch(ic-1,2,k) = cc(i-1,k,1)-tr2
1099 IF (mod(ido,2) .EQ. 1)
RETURN
1101 ch(1,2,k) = -cc(ido,k,2)
1102 ch(ido,1,k) = cc(ido,k,1)
1130 dimension ch(ido,3,l1) ,cc(ido,l1,3) ,
1132 DATA taur,taui /-.5,.866025403784439/
1134 cr2 = cc(1,k,2)+cc(1,k,3)
1135 ch(1,1,k) = cc(1,k,1)+cr2
1136 ch(1,3,k) = taui*(cc(1,k,3)-cc(1,k,2))
1137 ch(ido,2,k) = cc(1,k,1)+taur*cr2
1139 IF (ido .EQ. 1)
RETURN
1144 dr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
1145 di2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
1146 dr3 = wa2(i-2)*cc(i-1,k,3)+wa2(i-1)*cc(i,k,3)
1147 di3 = wa2(i-2)*cc(i,k,3)-wa2(i-1)*cc(i-1,k,3)
1150 ch(i-1,1,k) = cc(i-1,k,1)+cr2
1151 ch(i,1,k) = cc(i,k,1)+ci2
1152 tr2 = cc(i-1,k,1)+taur*cr2
1153 ti2 = cc(i,k,1)+taur*ci2
1154 tr3 = taui*(di2-di3)
1155 ti3 = taui*(dr3-dr2)
1156 ch(i-1,3,k) = tr2+tr3
1157 ch(ic-1,2,k) = tr2-tr3
1159 ch(ic,2,k) = ti3-ti2
1185 SUBROUTINE radf4 (IDO,L1,CC,CH,WA1,WA2,WA3)
1186 dimension cc(ido,l1,4) ,ch(ido,4,l1) ,
1187 1 wa1(*) ,wa2(*) ,wa3(*)
1188 DATA hsqt2 /.7071067811865475/
1190 tr1 = cc(1,k,2)+cc(1,k,4)
1191 tr2 = cc(1,k,1)+cc(1,k,3)
1193 ch(ido,4,k) = tr2-tr1
1194 ch(ido,2,k) = cc(1,k,1)-cc(1,k,3)
1195 ch(1,3,k) = cc(1,k,4)-cc(1,k,2)
1199 ELSEIF (ido.EQ.2)
THEN
1209 cr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
1210 ci2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
1211 cr3 = wa2(i-2)*cc(i-1,k,3)+wa2(i-1)*cc(i,k,3)
1212 ci3 = wa2(i-2)*cc(i,k,3)-wa2(i-1)*cc(i-1,k,3)
1213 cr4 = wa3(i-2)*cc(i-1,k,4)+wa3(i-1)*cc(i,k,4)
1214 ci4 = wa3(i-2)*cc(i,k,4)-wa3(i-1)*cc(i-1,k,4)
1221 tr2 = cc(i-1,k,1)+cr3
1222 tr3 = cc(i-1,k,1)-cr3
1223 ch(i-1,1,k) = tr1+tr2
1224 ch(ic-1,4,k) = tr2-tr1
1226 ch(ic,4,k) = ti1-ti2
1227 ch(i-1,3,k) = ti4+tr3
1228 ch(ic-1,2,k) = tr3-ti4
1230 ch(ic,2,k) = tr4-ti3
1233 IF (mod(ido,2) .EQ. 1)
RETURN
1236 ti1 = -hsqt2*(cc(ido,k,2)+cc(ido,k,4))
1237 tr1 = hsqt2*(cc(ido,k,2)-cc(ido,k,4))
1238 ch(ido,1,k) = tr1+cc(ido,k,1)
1239 ch(ido,3,k) = cc(ido,k,1)-tr1
1240 ch(1,2,k) = ti1-cc(ido,k,3)
1241 ch(1,4,k) = ti1+cc(ido,k,3)
1267 SUBROUTINE radf5 (IDO,L1,CC,CH,WA1,WA2,WA3,WA4)
1268 dimension cc(ido,l1,5) ,ch(ido,5,l1) ,
1269 1 wa1(*) ,wa2(*) ,wa3(*) ,wa4(*)
1270 DATA tr11,ti11,tr12,ti12 /.309016994374947,.951056516295154,
1271 1-.809016994374947,.587785252292473/
1273 cr2 = cc(1,k,5)+cc(1,k,2)
1274 ci5 = cc(1,k,5)-cc(1,k,2)
1275 cr3 = cc(1,k,4)+cc(1,k,3)
1276 ci4 = cc(1,k,4)-cc(1,k,3)
1277 ch(1,1,k) = cc(1,k,1)+cr2+cr3
1278 ch(ido,2,k) = cc(1,k,1)+tr11*cr2+tr12*cr3
1279 ch(1,3,k) = ti11*ci5+ti12*ci4
1280 ch(ido,4,k) = cc(1,k,1)+tr12*cr2+tr11*cr3
1281 ch(1,5,k) = ti12*ci5-ti11*ci4
1283 IF (ido .EQ. 1)
RETURN
1288 dr2 = wa1(i-2)*cc(i-1,k,2)+wa1(i-1)*cc(i,k,2)
1289 di2 = wa1(i-2)*cc(i,k,2)-wa1(i-1)*cc(i-1,k,2)
1290 dr3 = wa2(i-2)*cc(i-1,k,3)+wa2(i-1)*cc(i,k,3)
1291 di3 = wa2(i-2)*cc(i,k,3)-wa2(i-1)*cc(i-1,k,3)
1292 dr4 = wa3(i-2)*cc(i-1,k,4)+wa3(i-1)*cc(i,k,4)
1293 di4 = wa3(i-2)*cc(i,k,4)-wa3(i-1)*cc(i-1,k,4)
1294 dr5 = wa4(i-2)*cc(i-1,k,5)+wa4(i-1)*cc(i,k,5)
1295 di5 = wa4(i-2)*cc(i,k,5)-wa4(i-1)*cc(i-1,k,5)
1304 ch(i-1,1,k) = cc(i-1,k,1)+cr2+cr3
1305 ch(i,1,k) = cc(i,k,1)+ci2+ci3
1306 tr2 = cc(i-1,k,1)+tr11*cr2+tr12*cr3
1307 ti2 = cc(i,k,1)+tr11*ci2+tr12*ci3
1308 tr3 = cc(i-1,k,1)+tr12*cr2+tr11*cr3
1309 ti3 = cc(i,k,1)+tr12*ci2+tr11*ci3
1310 tr5 = ti11*cr5+ti12*cr4
1311 ti5 = ti11*ci5+ti12*ci4
1312 tr4 = ti12*cr5-ti11*cr4
1313 ti4 = ti12*ci5-ti11*ci4
1314 ch(i-1,3,k) = tr2+tr5
1315 ch(ic-1,2,k) = tr2-tr5
1317 ch(ic,2,k) = ti5-ti2
1318 ch(i-1,5,k) = tr3+tr4
1319 ch(ic-1,4,k) = tr3-tr4
1321 ch(ic,4,k) = ti4-ti3
1350 SUBROUTINE radfg (IDO,IP,L1,IDL1,CC,C1,C2,CH,CH2,WA)
1351 dimension ch(ido,l1,ip) ,cc(ido,ip,l1) ,
1352 1 c1(ido,l1,ip) ,c2(idl1,ip),
1353 2 ch2(idl1,ip) ,wa(*)
1354 DATA tpi/6.28318530717959/
1362 IF (ido .EQ. 1)
GO TO 119
1364 ch2(ik,1) = c2(ik,1)
1368 ch(1,k,j) = c1(1,k,j)
1371 IF (nbd .GT. l1)
GO TO 107
1379 ch(i-1,k,j) = wa(idij-1)*c1(i-1,k,j)+wa(idij)*c1(i,k,j)
1380 ch(i,k,j) = wa(idij-1)*c1(i,k,j)-wa(idij)*c1(i-1,k,j)
1392 ch(i-1,k,j) = wa(idij-1)*c1(i-1,k,j)+wa(idij)*c1(i,k,j)
1393 ch(i,k,j) = wa(idij-1)*c1(i,k,j)-wa(idij)*c1(i-1,k,j)
1397 111
IF (nbd .LT. l1)
GO TO 115
1402 c1(i-1,k,j) = ch(i-1,k,j)+ch(i-1,k,jc)
1403 c1(i-1,k,jc) = ch(i,k,j)-ch(i,k,jc)
1404 c1(i,k,j) = ch(i,k,j)+ch(i,k,jc)
1405 c1(i,k,jc) = ch(i-1,k,jc)-ch(i-1,k,j)
1414 c1(i-1,k,j) = ch(i-1,k,j)+ch(i-1,k,jc)
1415 c1(i-1,k,jc) = ch(i,k,j)-ch(i,k,jc)
1416 c1(i,k,j) = ch(i,k,j)+ch(i,k,jc)
1417 c1(i,k,jc) = ch(i-1,k,jc)-ch(i-1,k,j)
1422 119
DO 120 ik=1,idl1
1423 c2(ik,1) = ch2(ik,1)
1428 c1(1,k,j) = ch(1,k,j)+ch(1,k,jc)
1429 c1(1,k,jc) = ch(1,k,jc)-ch(1,k,j)
1437 ar1h = dcp*ar1-dsp*ai1
1438 ai1 = dcp*ai1+dsp*ar1
1441 ch2(ik,l) = c2(ik,1)+ar1*c2(ik,2)
1442 ch2(ik,lc) = ai1*c2(ik,ip)
1450 ar2h = dc2*ar2-ds2*ai2
1451 ai2 = dc2*ai2+ds2*ar2
1454 ch2(ik,l) = ch2(ik,l)+ar2*c2(ik,j)
1455 ch2(ik,lc) = ch2(ik,lc)+ai2*c2(ik,jc)
1461 ch2(ik,1) = ch2(ik,1)+c2(ik,j)
1465 IF (ido .LT. l1)
GO TO 132
1468 cc(i,1,k) = ch(i,k,1)
1474 cc(i,1,k) = ch(i,k,1)
1481 cc(ido,j2-2,k) = ch(1,k,j)
1482 cc(1,j2-1,k) = ch(1,k,jc)
1485 IF (ido .EQ. 1)
RETURN
1486 IF (nbd .LT. l1)
GO TO 141
1493 cc(i-1,j2-1,k) = ch(i-1,k,j)+ch(i-1,k,jc)
1494 cc(ic-1,j2-2,k) = ch(i-1,k,j)-ch(i-1,k,jc)
1495 cc(i,j2-1,k) = ch(i,k,j)+ch(i,k,jc)
1496 cc(ic,j2-2,k) = ch(i,k,jc)-ch(i,k,j)
1507 cc(i-1,j2-1,k) = ch(i-1,k,j)+ch(i-1,k,jc)
1508 cc(ic-1,j2-2,k) = ch(i-1,k,j)-ch(i-1,k,jc)
1509 cc(i,j2-1,k) = ch(i,k,j)+ch(i,k,jc)
1510 cc(ic,j2-2,k) = ch(i,k,jc)-ch(i,k,j)