50 integer cc_dim1, cc_dim2, cc_dim3, cc_offset, ch_dim1, ch_dim2, ch_offset,
51 wa_dim1, wa_offset, i__1, i__2;
60 wa_offset = 1 + (wa_dim1 << 1);
65 cc_offset = 1 + cc_dim1 * (1 + cc_dim2 * (1 + cc_dim3));
69 ch_offset = 1 + ch_dim1 * (1 + ch_dim2 * 3);
73 if (*ido > 1 || *na == 1) {
77 for (k = 1; k <= i__1; ++k) {
78 chold1 = cc[(k + (cc_dim3 + 1) * cc_dim2) * cc_dim1 + 1] + cc[(k + ((
79 cc_dim3 << 1) + 1) * cc_dim2) * cc_dim1 + 1];
80 cc[(k + ((cc_dim3 << 1) + 1) * cc_dim2) * cc_dim1 + 1] = cc[(k + (
81 cc_dim3 + 1) * cc_dim2) * cc_dim1 + 1] - cc[(k + ((cc_dim3 <<
82 1) + 1) * cc_dim2) * cc_dim1 + 1];
83 cc[(k + (cc_dim3 + 1) * cc_dim2) * cc_dim1 + 1] = chold1;
84 chold2 = cc[(k + (cc_dim3 + 1) * cc_dim2) * cc_dim1 + 2] + cc[(k + ((
85 cc_dim3 << 1) + 1) * cc_dim2) * cc_dim1 + 2];
86 cc[(k + ((cc_dim3 << 1) + 1) * cc_dim2) * cc_dim1 + 2] = cc[(k + (
87 cc_dim3 + 1) * cc_dim2) * cc_dim1 + 2] - cc[(k + ((cc_dim3 <<
88 1) + 1) * cc_dim2) * cc_dim1 + 2];
89 cc[(k + (cc_dim3 + 1) * cc_dim2) * cc_dim1 + 2] = chold2;
95 for (k = 1; k <= i__1; ++k) {
96 ch[(k + ch_dim2 * 3) * ch_dim1 + 1] = cc[(k + (cc_dim3 + 1) * cc_dim2)
97 * cc_dim1 + 1] + cc[(k + ((cc_dim3 << 1) + 1) * cc_dim2) *
99 ch[(k + (ch_dim2 << 2)) * ch_dim1 + 1] = cc[(k + (cc_dim3 + 1) *
100 cc_dim2) * cc_dim1 + 1] - cc[(k + ((cc_dim3 << 1) + 1) *
101 cc_dim2) * cc_dim1 + 1];
102 ch[(k + ch_dim2 * 3) * ch_dim1 + 2] = cc[(k + (cc_dim3 + 1) * cc_dim2)
103 * cc_dim1 + 2] + cc[(k + ((cc_dim3 << 1) + 1) * cc_dim2) *
105 ch[(k + (ch_dim2 << 2)) * ch_dim1 + 2] = cc[(k + (cc_dim3 + 1) *
106 cc_dim2) * cc_dim1 + 2] - cc[(k + ((cc_dim3 << 1) + 1) *
107 cc_dim2) * cc_dim1 + 2];
114 for (i__ = 2; i__ <= i__1; ++i__) {
116 for (k = 1; k <= i__2; ++k) {
117 ch[(k + ((i__ << 1) + 1) * ch_dim2) * ch_dim1 + 1] = cc[(k + (i__
118 + cc_dim3) * cc_dim2) * cc_dim1 + 1] + cc[(k + (i__ + (
119 cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1];
120 tr2 = cc[(k + (i__ + cc_dim3) * cc_dim2) * cc_dim1 + 1] - cc[(k +
121 (i__ + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1];
122 ch[(k + ((i__ << 1) + 1) * ch_dim2) * ch_dim1 + 2] = cc[(k + (i__
123 + cc_dim3) * cc_dim2) * cc_dim1 + 2] + cc[(k + (i__ + (
124 cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 2];
125 ti2 = cc[(k + (i__ + cc_dim3) * cc_dim2) * cc_dim1 + 2] - cc[(k +
126 (i__ + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 2];
127 ch[(k + ((i__ << 1) + 2) * ch_dim2) * ch_dim1 + 2] = wa[i__ + (
128 wa_dim1 << 1)] * ti2 + wa[i__ + wa_dim1 * 3] * tr2;
129 ch[(k + ((i__ << 1) + 2) * ch_dim2) * ch_dim1 + 1] = wa[i__ + (
130 wa_dim1 << 1)] * tr2 - wa[i__ + wa_dim1 * 3] * ti2;