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 (k = 2; k <= i__1; ++k) {
88 for (m = 1; i__3 < 0 ? m >= i__2 : m <= i__2; m += i__3) {
90 work[m1 + k * work_dim1] = x[m + k * x_dim1] + x[m + kc * x_dim1];
91 work[m1 + kc * work_dim1] = x[m + k * x_dim1] - x[m + kc * x_dim1]
104 for (m = 1; i__3 < 0 ? m >= i__1 : m <= i__1; m += i__3) {
106 work[m1 + (ns2 + 1) * work_dim1] = x[m + (ns2 + 1) * x_dim1] + x[m + (
112 for (k = 2; k <= i__3; ++k) {
117 for (m = 1; i__2 < 0 ? m >= i__1 : m <= i__1; m += i__2) {
119 x[m + k * x_dim1] = wsave[k - 1] * work[m1 + kc * work_dim1] +
120 wsave[kc - 1] * work[m1 + k * work_dim1];
121 x[m + kc * x_dim1] = wsave[k - 1] * work[m1 + k * work_dim1] -
122 wsave[kc - 1] * work[m1 + kc * work_dim1];
133 for (m = 1; i__2 < 0 ? m >= i__3 : m <= i__3; m += i__2) {
135 x[m + (ns2 + 1) * x_dim1] = wsave[ns2] * work[m1 + (ns2 + 1) *
140 lenx = (*lot - 1) * *jump + *inc * (*
n - 1) + 1;
144 rfftmf_(lot, jump,
n, inc, &x[x_offset], &lenx, &wsave[*
n + 1], &lnsv, &
145 work[work_offset], &lnwk, &ier1);
153 for (i__ = 3; i__ <= i__2; i__ += 2) {
156 for (m = 1; i__1 < 0 ? m >= i__3 : m <= i__3; m += i__1) {
157 xim1 = (x[m + (i__ - 1) * x_dim1] + x[m + i__ * x_dim1]) * .5;
158 x[m + i__ * x_dim1] = (x[m + (i__ - 1) * x_dim1] - x[m + i__ *
160 x[m + (i__ - 1) * x_dim1] = xim1;