50 integer cc_dim1, cc_dim2, cc_offset, ch_dim1, ch_dim2, ch_dim3, ch_offset,
68 cc_offset = 1 + cc_dim1 * (1 + (cc_dim2 << 2));
73 ch_offset = 1 + ch_dim1 * (1 + ch_dim2 * (1 + ch_dim3));
77 arg = atan(1.) * 8. / 3.;
81 for (k = 1; k <= i__1; ++k) {
82 ch[((k + ch_dim3) * ch_dim2 + 1) * ch_dim1 + 1] = cc[((k * 3 + 1) *
83 cc_dim2 + 1) * cc_dim1 + 1] + cc[(*ido + (k * 3 + 2) *
84 cc_dim2) * cc_dim1 + 1] * 2.;
85 ch[((k + (ch_dim3 << 1)) * ch_dim2 + 1) * ch_dim1 + 1] = cc[((k * 3 +
86 1) * cc_dim2 + 1) * cc_dim1 + 1] + taur * 2. * cc[(*ido + (k *
87 3 + 2) * cc_dim2) * cc_dim1 + 1] - taui * 2. * cc[((k * 3 +
88 3) * cc_dim2 + 1) * cc_dim1 + 1];
89 ch[((k + ch_dim3 * 3) * ch_dim2 + 1) * ch_dim1 + 1] = cc[((k * 3 + 1)
90 * cc_dim2 + 1) * cc_dim1 + 1] + taur * 2. * cc[(*ido + (k * 3
91 + 2) * cc_dim2) * cc_dim1 + 1] + taui * 2. * cc[((k * 3 + 3) *
92 cc_dim2 + 1) * cc_dim1 + 1];
100 for (k = 1; k <= i__1; ++k) {
102 for (i__ = 3; i__ <= i__2; i__ += 2) {
104 ch[(i__ - 1 + (k + ch_dim3) * ch_dim2) * ch_dim1 + 1] = cc[(i__ -
105 1 + (k * 3 + 1) * cc_dim2) * cc_dim1 + 1] + (cc[(i__ - 1
106 + (k * 3 + 3) * cc_dim2) * cc_dim1 + 1] + cc[(ic - 1 + (k
107 * 3 + 2) * cc_dim2) * cc_dim1 + 1]);
108 ch[(i__ + (k + ch_dim3) * ch_dim2) * ch_dim1 + 1] = cc[(i__ + (k *
109 3 + 1) * cc_dim2) * cc_dim1 + 1] + (cc[(i__ + (k * 3 + 3)
110 * cc_dim2) * cc_dim1 + 1] - cc[(ic + (k * 3 + 2) *
111 cc_dim2) * cc_dim1 + 1]);
112 ch[(i__ - 1 + (k + (ch_dim3 << 1)) * ch_dim2) * ch_dim1 + 1] =
113 wa1[i__ - 2] * (cc[(i__ - 1 + (k * 3 + 1) * cc_dim2) *
114 cc_dim1 + 1] + taur * (cc[(i__ - 1 + (k * 3 + 3) *
115 cc_dim2) * cc_dim1 + 1] + cc[(ic - 1 + (k * 3 + 2) *
116 cc_dim2) * cc_dim1 + 1]) - taui * (cc[(i__ + (k * 3 + 3) *
117 cc_dim2) * cc_dim1 + 1] + cc[(ic + (k * 3 + 2) * cc_dim2)
118 * cc_dim1 + 1])) - wa1[i__ - 1] * (cc[(i__ + (k * 3 + 1)
119 * cc_dim2) * cc_dim1 + 1] + taur * (cc[(i__ + (k * 3 + 3)
120 * cc_dim2) * cc_dim1 + 1] - cc[(ic + (k * 3 + 2) *
121 cc_dim2) * cc_dim1 + 1]) + taui * (cc[(i__ - 1 + (k * 3 +
122 3) * cc_dim2) * cc_dim1 + 1] - cc[(ic - 1 + (k * 3 + 2) *
123 cc_dim2) * cc_dim1 + 1]));
124 ch[(i__ + (k + (ch_dim3 << 1)) * ch_dim2) * ch_dim1 + 1] = wa1[
125 i__ - 2] * (cc[(i__ + (k * 3 + 1) * cc_dim2) * cc_dim1 +
126 1] + taur * (cc[(i__ + (k * 3 + 3) * cc_dim2) * cc_dim1 +
127 1] - cc[(ic + (k * 3 + 2) * cc_dim2) * cc_dim1 + 1]) +
128 taui * (cc[(i__ - 1 + (k * 3 + 3) * cc_dim2) * cc_dim1 +
129 1] - cc[(ic - 1 + (k * 3 + 2) * cc_dim2) * cc_dim1 + 1]))
130 + wa1[i__ - 1] * (cc[(i__ - 1 + (k * 3 + 1) * cc_dim2) *
131 cc_dim1 + 1] + taur * (cc[(i__ - 1 + (k * 3 + 3) *
132 cc_dim2) * cc_dim1 + 1] + cc[(ic - 1 + (k * 3 + 2) *
133 cc_dim2) * cc_dim1 + 1]) - taui * (cc[(i__ + (k * 3 + 3) *
134 cc_dim2) * cc_dim1 + 1] + cc[(ic + (k * 3 + 2) * cc_dim2)
136 ch[(i__ - 1 + (k + ch_dim3 * 3) * ch_dim2) * ch_dim1 + 1] = wa2[
137 i__ - 2] * (cc[(i__ - 1 + (k * 3 + 1) * cc_dim2) *
138 cc_dim1 + 1] + taur * (cc[(i__ - 1 + (k * 3 + 3) *
139 cc_dim2) * cc_dim1 + 1] + cc[(ic - 1 + (k * 3 + 2) *
140 cc_dim2) * cc_dim1 + 1]) + taui * (cc[(i__ + (k * 3 + 3) *
141 cc_dim2) * cc_dim1 + 1] + cc[(ic + (k * 3 + 2) * cc_dim2)
142 * cc_dim1 + 1])) - wa2[i__ - 1] * (cc[(i__ + (k * 3 + 1)
143 * cc_dim2) * cc_dim1 + 1] + taur * (cc[(i__ + (k * 3 + 3)
144 * cc_dim2) * cc_dim1 + 1] - cc[(ic + (k * 3 + 2) *
145 cc_dim2) * cc_dim1 + 1]) - taui * (cc[(i__ - 1 + (k * 3 +
146 3) * cc_dim2) * cc_dim1 + 1] - cc[(ic - 1 + (k * 3 + 2) *
147 cc_dim2) * cc_dim1 + 1]));
148 ch[(i__ + (k + ch_dim3 * 3) * ch_dim2) * ch_dim1 + 1] = wa2[i__ -
149 2] * (cc[(i__ + (k * 3 + 1) * cc_dim2) * cc_dim1 + 1] +
150 taur * (cc[(i__ + (k * 3 + 3) * cc_dim2) * cc_dim1 + 1] -
151 cc[(ic + (k * 3 + 2) * cc_dim2) * cc_dim1 + 1]) - taui * (
152 cc[(i__ - 1 + (k * 3 + 3) * cc_dim2) * cc_dim1 + 1] - cc[(
153 ic - 1 + (k * 3 + 2) * cc_dim2) * cc_dim1 + 1])) + wa2[
154 i__ - 1] * (cc[(i__ - 1 + (k * 3 + 1) * cc_dim2) *
155 cc_dim1 + 1] + taur * (cc[(i__ - 1 + (k * 3 + 3) *
156 cc_dim2) * cc_dim1 + 1] + cc[(ic - 1 + (k * 3 + 2) *
157 cc_dim2) * cc_dim1 + 1]) + taui * (cc[(i__ + (k * 3 + 3) *
158 cc_dim2) * cc_dim1 + 1] + cc[(ic + (k * 3 + 2) * cc_dim2)