54 integer x_dim1, x_offset, i__1, i__2, i__3;
78 x_offset = 1 + x_dim1;
88 lj = (*lot - 1) * *jump + 1;
89 if ((i__1 = *
n - 2) < 0) {
91 }
else if (i__1 == 0) {
99 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
100 x1h = x[m + x_dim1] + x[m + (x_dim1 << 1)];
101 x[m + (x_dim1 << 1)] = (x[m + x_dim1] - x[m + (x_dim1 << 1)]) * .5;
102 x[m + x_dim1] = x1h * .5;
112 for (m = 1; i__1 < 0 ? m >= i__2 : m <= i__2; m += i__1) {
113 x1p3 = x[m + x_dim1] + x[m + x_dim1 * 3];
114 tx2 = x[m + (x_dim1 << 1)] + x[m + (x_dim1 << 1)];
115 x[m + (x_dim1 << 1)] = (x[m + x_dim1] - x[m + x_dim1 * 3]) * .5;
116 x[m + x_dim1] = (x1p3 + tx2) * .25;
117 x[m + x_dim1 * 3] = (x1p3 - tx2) * .25;
125 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
127 dsum[m1] = x[m + x_dim1] - x[m + *
n * x_dim1];
128 x[m + x_dim1] += x[m + *
n * x_dim1];
132 for (k = 2; k <= i__2; ++k) {
136 for (m = 1; i__3 < 0 ? m >= i__1 : m <= i__1; m += i__3) {
139 t1 = x[m + k * x_dim1] + x[m + kc * x_dim1];
140 t2 = x[m + k * x_dim1] - x[m + kc * x_dim1];
141 dsum[m1] += wsave[kc] * t2;
143 x[m + k * x_dim1] = t1 - t2;
144 x[m + kc * x_dim1] = t1 + t2;
155 for (m = 1; i__3 < 0 ? m >= i__2 : m <= i__2; m += i__3) {
156 x[m + (ns2 + 1) * x_dim1] += x[m + (ns2 + 1) * x_dim1];
160 lenx = (*lot - 1) * *jump + *inc * (nm1 - 1) + 1;
164 rfftmf_(lot, jump, &nm1, inc, &x[x_offset], &lenx, &wsave[*
n + 1], &lnsv,
174 for (m = 1; m <= i__3; ++m) {
175 dsum[m] = snm1 * dsum[m];
183 for (m = 1; i__2 < 0 ? m >= i__3 : m <= i__3; m += i__2) {
184 x[m + nm1 * x_dim1] += x[m + nm1 * x_dim1];
189 for (i__ = 3; i__ <= i__2; i__ += 2) {
193 for (m = 1; i__1 < 0 ? m >= i__3 : m <= i__3; m += i__1) {
195 xi = x[m + i__ * x_dim1] * .5;
196 x[m + i__ * x_dim1] = x[m + (i__ - 1) * x_dim1] * .5;
197 x[m + (i__ - 1) * x_dim1] = dsum[m1];
209 for (m = 1; i__1 < 0 ? m >= i__2 : m <= i__2; m += i__1) {
211 x[m + *
n * x_dim1] = dsum[m1];
217 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
219 x[m + *
n * x_dim1] *= .5;