77 x_offset = 1 + x_dim1;
86 if ((i__1 = *
n - 2) < 0) {
88 }
else if (i__1 == 0) {
94 x1h = x[x_dim1 + 1] + x[(x_dim1 << 1) + 1];
95 x[(x_dim1 << 1) + 1] = x[x_dim1 + 1] - x[(x_dim1 << 1) + 1];
102 x1p3 = x[x_dim1 + 1] + x[x_dim1 * 3 + 1];
103 x2 = x[(x_dim1 << 1) + 1];
104 x[(x_dim1 << 1) + 1] = x[x_dim1 + 1] - x[x_dim1 * 3 + 1];
105 x[x_dim1 + 1] = x1p3 + x2;
106 x[x_dim1 * 3 + 1] = x1p3 - x2;
109 x[x_dim1 + 1] += x[x_dim1 + 1];
110 x[*
n * x_dim1 + 1] += x[*
n * x_dim1 + 1];
111 dsum = x[x_dim1 + 1] - x[*
n * x_dim1 + 1];
112 x[x_dim1 + 1] += x[*
n * x_dim1 + 1];
114 for (k = 2; k <= i__1; ++k) {
116 t1 = x[k * x_dim1 + 1] + x[kc * x_dim1 + 1];
117 t2 = x[k * x_dim1 + 1] - x[kc * x_dim1 + 1];
118 dsum += wsave[kc] * t2;
120 x[k * x_dim1 + 1] = t1 - t2;
121 x[kc * x_dim1 + 1] = t1 + t2;
128 x[(ns2 + 1) * x_dim1 + 1] += x[(ns2 + 1) * x_dim1 + 1];
130 lenx = *inc * (nm1 - 1) + 1;
134 rfft1f_(&nm1, inc, &x[x_offset], &lenx, &wsave[*
n + 1], &lnsv, work, &
144 x[x_dim1 + 1] = fnm1s2 * x[x_dim1 + 1];
148 x[nm1 * x_dim1 + 1] += x[nm1 * x_dim1 + 1];
152 for (i__ = 3; i__ <= i__1; i__ += 2) {
153 xi = fnm1s4 * x[i__ * x_dim1 + 1];
154 x[i__ * x_dim1 + 1] = fnm1s4 * x[(i__ - 1) * x_dim1 + 1];
155 x[(i__ - 1) * x_dim1 + 1] = dsum;
162 x[*
n * x_dim1 + 1] = dsum;