50 integer ch_dim1, ch_dim2, ch_offset, cc_dim1, cc_dim2, cc_dim3, cc_offset,
51 i__1, i__2, i__3, i__4;
57 integer i__, k, m1, m2, ic, m1d, m2s;
69 cc_offset = 1 + cc_dim1 * (1 + cc_dim2 * (1 + cc_dim3));
73 ch_offset = 1 + ch_dim1 * (1 + (ch_dim2 << 2));
77 m1d = (*m - 1) * *im1 + 1;
79 arg = atan(1.) * 8. / 3.;
83 for (k = 1; k <= i__1; ++k) {
87 for (m1 = 1; i__3 < 0 ? m1 >= i__2 : m1 <= i__2; m1 += i__3) {
89 ch[m2 + ((k * 3 + 1) * ch_dim2 + 1) * ch_dim1] = cc[m1 + ((k +
90 cc_dim3) * cc_dim2 + 1) * cc_dim1] + (cc[m1 + ((k + (
91 cc_dim3 << 1)) * cc_dim2 + 1) * cc_dim1] + cc[m1 + ((k +
92 cc_dim3 * 3) * cc_dim2 + 1) * cc_dim1]);
93 ch[m2 + ((k * 3 + 3) * ch_dim2 + 1) * ch_dim1] = taui * (cc[m1 + (
94 (k + cc_dim3 * 3) * cc_dim2 + 1) * cc_dim1] - cc[m1 + ((k
95 + (cc_dim3 << 1)) * cc_dim2 + 1) * cc_dim1]);
96 ch[m2 + (*ido + (k * 3 + 2) * ch_dim2) * ch_dim1] = cc[m1 + ((k +
97 cc_dim3) * cc_dim2 + 1) * cc_dim1] + taur * (cc[m1 + ((k
98 + (cc_dim3 << 1)) * cc_dim2 + 1) * cc_dim1] + cc[m1 + ((k
99 + cc_dim3 * 3) * cc_dim2 + 1) * cc_dim1]);
109 for (k = 1; k <= i__1; ++k) {
111 for (i__ = 3; i__ <= i__3; i__ += 2) {
116 for (m1 = 1; i__4 < 0 ? m1 >= i__2 : m1 <= i__2; m1 += i__4) {
118 ch[m2 + (i__ - 1 + (k * 3 + 1) * ch_dim2) * ch_dim1] = cc[m1
119 + (i__ - 1 + (k + cc_dim3) * cc_dim2) * cc_dim1] + (
120 wa1[i__ - 2] * cc[m1 + (i__ - 1 + (k + (cc_dim3 << 1))
121 * cc_dim2) * cc_dim1] + wa1[i__ - 1] * cc[m1 + (i__
122 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1] + (wa2[
123 i__ - 2] * cc[m1 + (i__ - 1 + (k + cc_dim3 * 3) *
124 cc_dim2) * cc_dim1] + wa2[i__ - 1] * cc[m1 + (i__ + (
125 k + cc_dim3 * 3) * cc_dim2) * cc_dim1]));
126 ch[m2 + (i__ + (k * 3 + 1) * ch_dim2) * ch_dim1] = cc[m1 + (
127 i__ + (k + cc_dim3) * cc_dim2) * cc_dim1] + (wa1[i__
128 - 2] * cc[m1 + (i__ + (k + (cc_dim3 << 1)) * cc_dim2)
129 * cc_dim1] - wa1[i__ - 1] * cc[m1 + (i__ - 1 + (k + (
130 cc_dim3 << 1)) * cc_dim2) * cc_dim1] + (wa2[i__ - 2] *
131 cc[m1 + (i__ + (k + cc_dim3 * 3) * cc_dim2) *
132 cc_dim1] - wa2[i__ - 1] * cc[m1 + (i__ - 1 + (k +
133 cc_dim3 * 3) * cc_dim2) * cc_dim1]));
134 ch[m2 + (i__ - 1 + (k * 3 + 3) * ch_dim2) * ch_dim1] = cc[m1
135 + (i__ - 1 + (k + cc_dim3) * cc_dim2) * cc_dim1] +
136 taur * (wa1[i__ - 2] * cc[m1 + (i__ - 1 + (k + (
137 cc_dim3 << 1)) * cc_dim2) * cc_dim1] + wa1[i__ - 1] *
138 cc[m1 + (i__ + (k + (cc_dim3 << 1)) * cc_dim2) *
139 cc_dim1] + (wa2[i__ - 2] * cc[m1 + (i__ - 1 + (k +
140 cc_dim3 * 3) * cc_dim2) * cc_dim1] + wa2[i__ - 1] *
141 cc[m1 + (i__ + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1]
142 )) + taui * (wa1[i__ - 2] * cc[m1 + (i__ + (k + (
143 cc_dim3 << 1)) * cc_dim2) * cc_dim1] - wa1[i__ - 1] *
144 cc[m1 + (i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2) *
145 cc_dim1] - (wa2[i__ - 2] * cc[m1 + (i__ + (k +
146 cc_dim3 * 3) * cc_dim2) * cc_dim1] - wa2[i__ - 1] *
147 cc[m1 + (i__ - 1 + (k + cc_dim3 * 3) * cc_dim2) *
149 ch[m2 + (ic - 1 + (k * 3 + 2) * ch_dim2) * ch_dim1] = cc[m1 +
150 (i__ - 1 + (k + cc_dim3) * cc_dim2) * cc_dim1] + taur
151 * (wa1[i__ - 2] * cc[m1 + (i__ - 1 + (k + (cc_dim3 <<
152 1)) * cc_dim2) * cc_dim1] + wa1[i__ - 1] * cc[m1 + (
153 i__ + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1] + (
154 wa2[i__ - 2] * cc[m1 + (i__ - 1 + (k + cc_dim3 * 3) *
155 cc_dim2) * cc_dim1] + wa2[i__ - 1] * cc[m1 + (i__ + (
156 k + cc_dim3 * 3) * cc_dim2) * cc_dim1])) - taui * (
157 wa1[i__ - 2] * cc[m1 + (i__ + (k + (cc_dim3 << 1)) *
158 cc_dim2) * cc_dim1] - wa1[i__ - 1] * cc[m1 + (i__ - 1
159 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1] - (wa2[
160 i__ - 2] * cc[m1 + (i__ + (k + cc_dim3 * 3) * cc_dim2)
161 * cc_dim1] - wa2[i__ - 1] * cc[m1 + (i__ - 1 + (k +
162 cc_dim3 * 3) * cc_dim2) * cc_dim1]));
163 ch[m2 + (i__ + (k * 3 + 3) * ch_dim2) * ch_dim1] = cc[m1 + (
164 i__ + (k + cc_dim3) * cc_dim2) * cc_dim1] + taur * (
165 wa1[i__ - 2] * cc[m1 + (i__ + (k + (cc_dim3 << 1)) *
166 cc_dim2) * cc_dim1] - wa1[i__ - 1] * cc[m1 + (i__ - 1
167 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1] + (wa2[
168 i__ - 2] * cc[m1 + (i__ + (k + cc_dim3 * 3) * cc_dim2)
169 * cc_dim1] - wa2[i__ - 1] * cc[m1 + (i__ - 1 + (k +
170 cc_dim3 * 3) * cc_dim2) * cc_dim1])) + taui * (wa2[
171 i__ - 2] * cc[m1 + (i__ - 1 + (k + cc_dim3 * 3) *
172 cc_dim2) * cc_dim1] + wa2[i__ - 1] * cc[m1 + (i__ + (
173 k + cc_dim3 * 3) * cc_dim2) * cc_dim1] - (wa1[i__ - 2]
174 * cc[m1 + (i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2)
175 * cc_dim1] + wa1[i__ - 1] * cc[m1 + (i__ + (k + (
176 cc_dim3 << 1)) * cc_dim2) * cc_dim1]));
177 ch[m2 + (ic + (k * 3 + 2) * ch_dim2) * ch_dim1] = taui * (wa2[
178 i__ - 2] * cc[m1 + (i__ - 1 + (k + cc_dim3 * 3) *
179 cc_dim2) * cc_dim1] + wa2[i__ - 1] * cc[m1 + (i__ + (
180 k + cc_dim3 * 3) * cc_dim2) * cc_dim1] - (wa1[i__ - 2]
181 * cc[m1 + (i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2)
182 * cc_dim1] + wa1[i__ - 1] * cc[m1 + (i__ + (k + (
183 cc_dim3 << 1)) * cc_dim2) * cc_dim1])) - (cc[m1 + (
184 i__ + (k + cc_dim3) * cc_dim2) * cc_dim1] + taur * (
185 wa1[i__ - 2] * cc[m1 + (i__ + (k + (cc_dim3 << 1)) *
186 cc_dim2) * cc_dim1] - wa1[i__ - 1] * cc[m1 + (i__ - 1
187 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1] + (wa2[
188 i__ - 2] * cc[m1 + (i__ + (k + cc_dim3 * 3) * cc_dim2)
189 * cc_dim1] - wa2[i__ - 1] * cc[m1 + (i__ - 1 + (k +
190 cc_dim3 * 3) * cc_dim2) * cc_dim1])));