54 integer x_dim1, x_offset, work_dim1, work_offset, i__1, i__2, i__3;
60 integer i__, k, m, m1, kc, lj, np2, ns2, ier1;
70 work_offset = 1 + work_dim1;
73 x_offset = 1 + x_dim1;
79 lj = (*lot - 1) * *jump + 1;
83 for (i__ = 3; i__ <= i__1; i__ += 2) {
86 for (m = 1; i__3 < 0 ? m >= i__2 : m <= i__2; m += i__3) {
87 xim1 = x[m + (i__ - 1) * x_dim1] + x[m + i__ * x_dim1];
88 x[m + i__ * x_dim1] = (x[m + (i__ - 1) * x_dim1] - x[m + i__ *
90 x[m + (i__ - 1) * x_dim1] = xim1 * .5;
97 for (m = 1; i__3 < 0 ? m >= i__1 : m <= i__1; m += i__3) {
107 for (m = 1; i__1 < 0 ? m >= i__3 : m <= i__3; m += i__1) {
108 x[m + *
n * x_dim1] *= .5;
112 lenx = (*lot - 1) * *jump + *inc * (*
n - 1) + 1;
116 rfftmb_(lot, jump,
n, inc, &x[x_offset], &lenx, &wsave[*
n + 1], &lnsv, &
117 work[work_offset], &lnwk, &ier1);
125 for (k = 2; k <= i__1; ++k) {
130 for (m = 1; i__2 < 0 ? m >= i__3 : m <= i__3; m += i__2) {
132 work[m1 + k * work_dim1] = wsave[k - 1] * x[m + kc * x_dim1] +
133 wsave[kc - 1] * x[m + k * x_dim1];
134 work[m1 + kc * work_dim1] = wsave[k - 1] * x[m + k * x_dim1] -
135 wsave[kc - 1] * x[m + kc * x_dim1];
145 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
146 x[m + (ns2 + 1) * x_dim1] = wsave[ns2] * (x[m + (ns2 + 1) * x_dim1] +
147 x[m + (ns2 + 1) * x_dim1]);
152 for (k = 2; k <= i__2; ++k) {
157 for (m = 1; i__3 < 0 ? m >= i__1 : m <= i__1; m += i__3) {
159 x[m + k * x_dim1] = work[m1 + k * work_dim1] + work[m1 + kc *
161 x[m + kc * x_dim1] = work[m1 + k * work_dim1] - work[m1 + kc *
169 for (m = 1; i__3 < 0 ? m >= i__2 : m <= i__2; m += i__3) {
170 x[m + x_dim1] += x[m + x_dim1];