50 integer cc_dim1, cc_dim2, cc_offset, ch_dim1, ch_dim2, ch_dim3, ch_offset,
51 i__1, i__2, i__3, i__4;
57 integer i__, k, m1, m2, ic, m1d, m2s;
68 cc_offset = 1 + cc_dim1 * (1 + (cc_dim2 << 2));
73 ch_offset = 1 + ch_dim1 * (1 + ch_dim2 * (1 + ch_dim3));
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 + ch_dim3) * ch_dim2 + 1) * ch_dim1] = cc[m1 + ((k *
90 3 + 1) * cc_dim2 + 1) * cc_dim1] + cc[m1 + (*ido + (k * 3
91 + 2) * cc_dim2) * cc_dim1] * 2.;
92 ch[m2 + ((k + (ch_dim3 << 1)) * ch_dim2 + 1) * ch_dim1] = cc[m1 +
93 ((k * 3 + 1) * cc_dim2 + 1) * cc_dim1] + taur * 2. * cc[
94 m1 + (*ido + (k * 3 + 2) * cc_dim2) * cc_dim1] - taui *
95 2. * cc[m1 + ((k * 3 + 3) * cc_dim2 + 1) * cc_dim1];
96 ch[m2 + ((k + ch_dim3 * 3) * ch_dim2 + 1) * ch_dim1] = cc[m1 + ((
97 k * 3 + 1) * cc_dim2 + 1) * cc_dim1] + taur * 2. * cc[m1
98 + (*ido + (k * 3 + 2) * cc_dim2) * cc_dim1] + taui * 2. *
99 cc[m1 + ((k * 3 + 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 + ch_dim3) * ch_dim2) * ch_dim1] = cc[
119 m1 + (i__ - 1 + (k * 3 + 1) * cc_dim2) * cc_dim1] + (
120 cc[m1 + (i__ - 1 + (k * 3 + 3) * cc_dim2) * cc_dim1]
121 + cc[m1 + (ic - 1 + (k * 3 + 2) * cc_dim2) * cc_dim1])
123 ch[m2 + (i__ + (k + ch_dim3) * ch_dim2) * ch_dim1] = cc[m1 + (
124 i__ + (k * 3 + 1) * cc_dim2) * cc_dim1] + (cc[m1 + (
125 i__ + (k * 3 + 3) * cc_dim2) * cc_dim1] - cc[m1 + (ic
126 + (k * 3 + 2) * cc_dim2) * cc_dim1]);
127 ch[m2 + (i__ - 1 + (k + (ch_dim3 << 1)) * ch_dim2) * ch_dim1]
128 = wa1[i__ - 2] * (cc[m1 + (i__ - 1 + (k * 3 + 1) *
129 cc_dim2) * cc_dim1] + taur * (cc[m1 + (i__ - 1 + (k *
130 3 + 3) * cc_dim2) * cc_dim1] + cc[m1 + (ic - 1 + (k *
131 3 + 2) * cc_dim2) * cc_dim1]) - taui * (cc[m1 + (i__
132 + (k * 3 + 3) * cc_dim2) * cc_dim1] + cc[m1 + (ic + (
133 k * 3 + 2) * cc_dim2) * cc_dim1])) - wa1[i__ - 1] * (
134 cc[m1 + (i__ + (k * 3 + 1) * cc_dim2) * cc_dim1] +
135 taur * (cc[m1 + (i__ + (k * 3 + 3) * cc_dim2) *
136 cc_dim1] - cc[m1 + (ic + (k * 3 + 2) * cc_dim2) *
137 cc_dim1]) + taui * (cc[m1 + (i__ - 1 + (k * 3 + 3) *
138 cc_dim2) * cc_dim1] - cc[m1 + (ic - 1 + (k * 3 + 2) *
139 cc_dim2) * cc_dim1]));
140 ch[m2 + (i__ + (k + (ch_dim3 << 1)) * ch_dim2) * ch_dim1] =
141 wa1[i__ - 2] * (cc[m1 + (i__ + (k * 3 + 1) * cc_dim2)
142 * cc_dim1] + taur * (cc[m1 + (i__ + (k * 3 + 3) *
143 cc_dim2) * cc_dim1] - cc[m1 + (ic + (k * 3 + 2) *
144 cc_dim2) * cc_dim1]) + taui * (cc[m1 + (i__ - 1 + (k *
145 3 + 3) * cc_dim2) * cc_dim1] - cc[m1 + (ic - 1 + (k *
146 3 + 2) * cc_dim2) * cc_dim1])) + wa1[i__ - 1] * (cc[
147 m1 + (i__ - 1 + (k * 3 + 1) * cc_dim2) * cc_dim1] +
148 taur * (cc[m1 + (i__ - 1 + (k * 3 + 3) * cc_dim2) *
149 cc_dim1] + cc[m1 + (ic - 1 + (k * 3 + 2) * cc_dim2) *
150 cc_dim1]) - taui * (cc[m1 + (i__ + (k * 3 + 3) *
151 cc_dim2) * cc_dim1] + cc[m1 + (ic + (k * 3 + 2) *
152 cc_dim2) * cc_dim1]));
153 ch[m2 + (i__ - 1 + (k + ch_dim3 * 3) * ch_dim2) * ch_dim1] =
154 wa2[i__ - 2] * (cc[m1 + (i__ - 1 + (k * 3 + 1) *
155 cc_dim2) * cc_dim1] + taur * (cc[m1 + (i__ - 1 + (k *
156 3 + 3) * cc_dim2) * cc_dim1] + cc[m1 + (ic - 1 + (k *
157 3 + 2) * cc_dim2) * cc_dim1]) + taui * (cc[m1 + (i__
158 + (k * 3 + 3) * cc_dim2) * cc_dim1] + cc[m1 + (ic + (
159 k * 3 + 2) * cc_dim2) * cc_dim1])) - wa2[i__ - 1] * (
160 cc[m1 + (i__ + (k * 3 + 1) * cc_dim2) * cc_dim1] +
161 taur * (cc[m1 + (i__ + (k * 3 + 3) * cc_dim2) *
162 cc_dim1] - cc[m1 + (ic + (k * 3 + 2) * cc_dim2) *
163 cc_dim1]) - taui * (cc[m1 + (i__ - 1 + (k * 3 + 3) *
164 cc_dim2) * cc_dim1] - cc[m1 + (ic - 1 + (k * 3 + 2) *
165 cc_dim2) * cc_dim1]));
166 ch[m2 + (i__ + (k + ch_dim3 * 3) * ch_dim2) * ch_dim1] = wa2[
167 i__ - 2] * (cc[m1 + (i__ + (k * 3 + 1) * cc_dim2) *
168 cc_dim1] + taur * (cc[m1 + (i__ + (k * 3 + 3) *
169 cc_dim2) * cc_dim1] - cc[m1 + (ic + (k * 3 + 2) *
170 cc_dim2) * cc_dim1]) - taui * (cc[m1 + (i__ - 1 + (k *
171 3 + 3) * cc_dim2) * cc_dim1] - cc[m1 + (ic - 1 + (k *
172 3 + 2) * cc_dim2) * cc_dim1])) + wa2[i__ - 1] * (cc[
173 m1 + (i__ - 1 + (k * 3 + 1) * cc_dim2) * cc_dim1] +
174 taur * (cc[m1 + (i__ - 1 + (k * 3 + 3) * cc_dim2) *
175 cc_dim1] + cc[m1 + (ic - 1 + (k * 3 + 2) * cc_dim2) *
176 cc_dim1]) + taui * (cc[m1 + (i__ + (k * 3 + 3) *
177 cc_dim2) * cc_dim1] + cc[m1 + (ic + (k * 3 + 2) *
178 cc_dim2) * cc_dim1]));