54 integer x_dim1, x_offset, i__1, i__2, i__3;
68 integer ier1, modn, lenx, lnwk, lnsv;
77 x_offset = 1 + x_dim1;
87 lj = (*lot - 1) * *jump + 1;
88 if ((i__1 = *
n - 2) < 0) {
90 }
else if (i__1 == 0) {
98 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
99 x1h = x[m + x_dim1] + x[m + (x_dim1 << 1)];
100 x[m + (x_dim1 << 1)] = x[m + x_dim1] - x[m + (x_dim1 << 1)];
111 for (m = 1; i__1 < 0 ? m >= i__2 : m <= i__2; m += i__1) {
112 x1p3 = x[m + x_dim1] + x[m + x_dim1 * 3];
113 x2 = x[m + (x_dim1 << 1)];
114 x[m + (x_dim1 << 1)] = x[m + x_dim1] - x[m + x_dim1 * 3];
115 x[m + x_dim1] = x1p3 + x2;
116 x[m + x_dim1 * 3] = x1p3 - x2;
123 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
124 x[m + x_dim1] += x[m + x_dim1];
125 x[m + *
n * x_dim1] += x[m + *
n * x_dim1];
131 for (m = 1; i__1 < 0 ? m >= i__2 : m <= i__2; m += i__1) {
133 dsum[m1] = x[m + x_dim1] - x[m + *
n * x_dim1];
134 x[m + x_dim1] += x[m + *
n * x_dim1];
138 for (k = 2; k <= i__1; ++k) {
142 for (m = 1; i__3 < 0 ? m >= i__2 : m <= i__2; m += i__3) {
145 t1 = x[m + k * x_dim1] + x[m + kc * x_dim1];
146 t2 = x[m + k * x_dim1] - x[m + kc * x_dim1];
147 dsum[m1] += wsave[kc] * t2;
149 x[m + k * x_dim1] = t1 - t2;
150 x[m + kc * x_dim1] = t1 + t2;
161 for (m = 1; i__3 < 0 ? m >= i__1 : m <= i__1; m += i__3) {
162 x[m + (ns2 + 1) * x_dim1] += x[m + (ns2 + 1) * x_dim1];
166 lenx = (*lot - 1) * *jump + *inc * (nm1 - 1) + 1;
170 rfftmf_(lot, jump, &nm1, inc, &x[x_offset], &lenx, &wsave[*
n + 1], &lnsv,
182 for (m = 1; i__1 < 0 ? m >= i__3 : m <= i__3; m += i__1) {
185 x[m + x_dim1] = fnm1s2 * x[m + x_dim1];
193 for (m = 1; i__3 < 0 ? m >= i__1 : m <= i__1; m += i__3) {
194 x[m + nm1 * x_dim1] += x[m + nm1 * x_dim1];
200 for (i__ = 3; i__ <= i__3; i__ += 2) {
204 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
206 xi = fnm1s4 * x[m + i__ * x_dim1];
207 x[m + i__ * x_dim1] = fnm1s4 * x[m + (i__ - 1) * x_dim1];
208 x[m + (i__ - 1) * x_dim1] = dsum[m1];
220 for (m = 1; i__2 < 0 ? m >= i__3 : m <= i__3; m += i__2) {
222 x[m + *
n * x_dim1] = dsum[m1];