55 integer x_dim1, x_offset, xh_dim1, xh_offset, i__1, i__2, i__3;
63 integer kc, lj, np1, ns2, ier1, modn, lnxh, lnwk, lnsv;
72 xh_offset = 1 + xh_dim1;
75 x_offset = 1 + x_dim1;
82 lj = (*lot - 1) * *jump + 1;
83 if ((i__1 = *
n - 2) < 0) {
85 }
else if (i__1 == 0) {
91 srt3s2 = sqrt(3.) / 2.;
94 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
95 xhold = srt3s2 * (x[m + x_dim1] + x[m + (x_dim1 << 1)]);
96 x[m + (x_dim1 << 1)] = srt3s2 * (x[m + x_dim1] - x[m + (x_dim1 << 1)])
98 x[m + x_dim1] = xhold;
106 for (k = 1; k <= i__2; ++k) {
111 for (m = 1; i__3 < 0 ? m >= i__1 : m <= i__1; m += i__3) {
113 t1 = x[m + k * x_dim1] - x[m + kc * x_dim1];
114 t2 = wsave[k] * (x[m + k * x_dim1] + x[m + kc * x_dim1]);
115 xh[m1 + (k + 1) * xh_dim1] = t1 + t2;
116 xh[m1 + (kc + 1) * xh_dim1] = t2 - t1;
128 for (m = 1; i__3 < 0 ? m >= i__2 : m <= i__2; m += i__3) {
130 xh[m1 + (ns2 + 2) * xh_dim1] = x[m + (ns2 + 1) * x_dim1] * 4.;
135 for (m = 1; m <= i__3; ++m) {
136 xh[m + xh_dim1] = 0.;
139 lnxh = *lot - 1 + *lot * (np1 - 1) + 1;
143 rfftmf_(lot, &c__1, &np1, lot, &xh[xh_offset], &lnxh, &wsave[ns2 + 1], &
144 lnsv, work, &lnwk, &ier1);
155 for (m = 1; m <= i__3; ++m) {
156 xh[m + np1 * xh_dim1] += xh[m + np1 * xh_dim1];
164 for (m = 1; i__2 < 0 ? m >= i__3 : m <= i__3; m += i__2) {
166 x[m + x_dim1] = fnp1s4 * xh[m1 + xh_dim1];
167 dsum[m1] = x[m + x_dim1];
171 for (i__ = 3; i__ <= i__2; i__ += 2) {
175 for (m = 1; i__1 < 0 ? m >= i__3 : m <= i__3; m += i__1) {
177 x[m + (i__ - 1) * x_dim1] = fnp1s4 * xh[m1 + i__ * xh_dim1];
178 dsum[m1] += fnp1s4 * xh[m1 + (i__ - 1) * xh_dim1];
179 x[m + i__ * x_dim1] = dsum[m1];
190 for (m = 1; i__1 < 0 ? m >= i__2 : m <= i__2; m += i__1) {
192 x[m + *
n * x_dim1] = fnp1s4 * xh[m1 + (*
n + 1) * xh_dim1];