Debian Codegraph @

debian/external_deps/fetk/punc/src/blas/ztbmv.c

raw
1 /* ./src_f77/ztbmv.f -- translated by f2c (version 20030320).
2 You must link the resulting object file with the libraries:
3 -lf2c -lm (in that order)
4 */
5
6 #include <punc/vf2c.h>
7
8 /* Subroutine */ int ztbmv_(char *uplo, char *trans, char *diag, integer *n,
9 integer *k, doublecomplex *a, integer *lda, doublecomplex *x, integer
10 *incx, ftnlen uplo_len, ftnlen trans_len, ftnlen diag_len)
11 {
12 /* System generated locals */
13 integer a_dim1, a_offset, i__1, i__2, i__3, i__4, i__5;
14 doublecomplex z__1, z__2, z__3;
15
16 /* Builtin functions */
17 void d_cnjg(doublecomplex *, doublecomplex *);
18
19 /* Local variables */
20 static integer i__, j, l, ix, jx, kx, info;
21 static doublecomplex temp;
22 extern logical lsame_(char *, char *, ftnlen, ftnlen);
23 static integer kplus1;
24 extern /* Subroutine */ int xerbla_(char *, integer *, ftnlen);
25 static logical noconj, nounit;
26
27 /* .. Scalar Arguments .. */
28 /* .. Array Arguments .. */
29 /* .. */
30
31 /* Purpose */
32 /* ======= */
33
34 /* ZTBMV performs one of the matrix-vector operations */
35
36 /* x := A*x, or x := A'*x, or x := conjg( A' )*x, */
37
38 /* where x is an n element vector and A is an n by n unit, or non-unit, */
39 /* upper or lower triangular band matrix, with ( k + 1 ) diagonals. */
40
41 /* Parameters */
42 /* ========== */
43
44 /* UPLO - CHARACTER*1. */
45 /* On entry, UPLO specifies whether the matrix is an upper or */
46 /* lower triangular matrix as follows: */
47
48 /* UPLO = 'U' or 'u' A is an upper triangular matrix. */
49
50 /* UPLO = 'L' or 'l' A is a lower triangular matrix. */
51
52 /* Unchanged on exit. */
53
54 /* TRANS - CHARACTER*1. */
55 /* On entry, TRANS specifies the operation to be performed as */
56 /* follows: */
57
58 /* TRANS = 'N' or 'n' x := A*x. */
59
60 /* TRANS = 'T' or 't' x := A'*x. */
61
62 /* TRANS = 'C' or 'c' x := conjg( A' )*x. */
63
64 /* Unchanged on exit. */
65
66 /* DIAG - CHARACTER*1. */
67 /* On entry, DIAG specifies whether or not A is unit */
68 /* triangular as follows: */
69
70 /* DIAG = 'U' or 'u' A is assumed to be unit triangular. */
71
72 /* DIAG = 'N' or 'n' A is not assumed to be unit */
73 /* triangular. */
74
75 /* Unchanged on exit. */
76
77 /* N - INTEGER. */
78 /* On entry, N specifies the order of the matrix A. */
79 /* N must be at least zero. */
80 /* Unchanged on exit. */
81
82 /* K - INTEGER. */
83 /* On entry with UPLO = 'U' or 'u', K specifies the number of */
84 /* super-diagonals of the matrix A. */
85 /* On entry with UPLO = 'L' or 'l', K specifies the number of */
86 /* sub-diagonals of the matrix A. */
87 /* K must satisfy 0 .le. K. */
88 /* Unchanged on exit. */
89
90 /* A - COMPLEX*16 array of DIMENSION ( LDA, n ). */
91 /* Before entry with UPLO = 'U' or 'u', the leading ( k + 1 ) */
92 /* by n part of the array A must contain the upper triangular */
93 /* band part of the matrix of coefficients, supplied column by */
94 /* column, with the leading diagonal of the matrix in row */
95 /* ( k + 1 ) of the array, the first super-diagonal starting at */
96 /* position 2 in row k, and so on. The top left k by k triangle */
97 /* of the array A is not referenced. */
98 /* The following program segment will transfer an upper */
99 /* triangular band matrix from conventional full matrix storage */
100 /* to band storage: */
101
102 /* DO 20, J = 1, N */
103 /* M = K + 1 - J */
104 /* DO 10, I = MAX( 1, J - K ), J */
105 /* A( M + I, J ) = matrix( I, J ) */
106 /* 10 CONTINUE */
107 /* 20 CONTINUE */
108
109 /* Before entry with UPLO = 'L' or 'l', the leading ( k + 1 ) */
110 /* by n part of the array A must contain the lower triangular */
111 /* band part of the matrix of coefficients, supplied column by */
112 /* column, with the leading diagonal of the matrix in row 1 of */
113 /* the array, the first sub-diagonal starting at position 1 in */
114 /* row 2, and so on. The bottom right k by k triangle of the */
115 /* array A is not referenced. */
116 /* The following program segment will transfer a lower */
117 /* triangular band matrix from conventional full matrix storage */
118 /* to band storage: */
119
120 /* DO 20, J = 1, N */
121 /* M = 1 - J */
122 /* DO 10, I = J, MIN( N, J + K ) */
123 /* A( M + I, J ) = matrix( I, J ) */
124 /* 10 CONTINUE */
125 /* 20 CONTINUE */
126
127 /* Note that when DIAG = 'U' or 'u' the elements of the array A */
128 /* corresponding to the diagonal elements of the matrix are not */
129 /* referenced, but are assumed to be unity. */
130 /* Unchanged on exit. */
131
132 /* LDA - INTEGER. */
133 /* On entry, LDA specifies the first dimension of A as declared */
134 /* in the calling (sub) program. LDA must be at least */
135 /* ( k + 1 ). */
136 /* Unchanged on exit. */
137
138 /* X - COMPLEX*16 array of dimension at least */
139 /* ( 1 + ( n - 1 )*abs( INCX ) ). */
140 /* Before entry, the incremented array X must contain the n */
141 /* element vector x. On exit, X is overwritten with the */
142 /* tranformed vector x. */
143
144 /* INCX - INTEGER. */
145 /* On entry, INCX specifies the increment for the elements of */
146 /* X. INCX must not be zero. */
147 /* Unchanged on exit. */
148
149
150 /* Level 2 Blas routine. */
151
152 /* -- Written on 22-October-1986. */
153 /* Jack Dongarra, Argonne National Lab. */
154 /* Jeremy Du Croz, Nag Central Office. */
155 /* Sven Hammarling, Nag Central Office. */
156 /* Richard Hanson, Sandia National Labs. */
157
158
159 /* .. Parameters .. */
160 /* .. Local Scalars .. */
161 /* .. External Functions .. */
162 /* .. External Subroutines .. */
163 /* .. Intrinsic Functions .. */
164 /* .. */
165 /* .. Executable Statements .. */
166
167 /* Test the input parameters. */
168
169 /* Parameter adjustments */
170 a_dim1 = *lda;
171 a_offset = 1 + a_dim1;
172 a -= a_offset;
173 --x;
174
175 /* Function Body */
176 info = 0;
177 if (! lsame_(uplo, "U", (ftnlen)1, (ftnlen)1) && ! lsame_(uplo, "L", (
178 ftnlen)1, (ftnlen)1)) {
179 info = 1;
180 } else if (! lsame_(trans, "N", (ftnlen)1, (ftnlen)1) && ! lsame_(trans,
181 "T", (ftnlen)1, (ftnlen)1) && ! lsame_(trans, "C", (ftnlen)1, (
182 ftnlen)1)) {
183 info = 2;
184 } else if (! lsame_(diag, "U", (ftnlen)1, (ftnlen)1) && ! lsame_(diag,
185 "N", (ftnlen)1, (ftnlen)1)) {
186 info = 3;
187 } else if (*n < 0) {
188 info = 4;
189 } else if (*k < 0) {
190 info = 5;
191 } else if (*lda < *k + 1) {
192 info = 7;
193 } else if (*incx == 0) {
194 info = 9;
195 }
196 if (info != 0) {
197 xerbla_("ZTBMV ", &info, (ftnlen)6);
198 return 0;
199 }
200
201 /* Quick return if possible. */
202
203 if (*n == 0) {
204 return 0;
205 }
206
207 noconj = lsame_(trans, "T", (ftnlen)1, (ftnlen)1);
208 nounit = lsame_(diag, "N", (ftnlen)1, (ftnlen)1);
209
210 /* Set up the start point in X if the increment is not unity. This */
211 /* will be ( N - 1 )*INCX too small for descending loops. */
212
213 if (*incx <= 0) {
214 kx = 1 - (*n - 1) * *incx;
215 } else if (*incx != 1) {
216 kx = 1;
217 }
218
219 /* Start the operations. In this version the elements of A are */
220 /* accessed sequentially with one pass through A. */
221
222 if (lsame_(trans, "N", (ftnlen)1, (ftnlen)1)) {
223
224 /* Form x := A*x. */
225
226 if (lsame_(uplo, "U", (ftnlen)1, (ftnlen)1)) {
227 kplus1 = *k + 1;
228 if (*incx == 1) {
229 i__1 = *n;
230 for (j = 1; j <= i__1; ++j) {
231 i__2 = j;
232 if (x[i__2].r != 0. || x[i__2].i != 0.) {
233 i__2 = j;
234 temp.r = x[i__2].r, temp.i = x[i__2].i;
235 l = kplus1 - j;
236 /* Computing MAX */
237 i__2 = 1, i__3 = j - *k;
238 i__4 = j - 1;
239 for (i__ = max(i__2,i__3); i__ <= i__4; ++i__) {
240 i__2 = i__;
241 i__3 = i__;
242 i__5 = l + i__ + j * a_dim1;
243 z__2.r = temp.r * a[i__5].r - temp.i * a[i__5].i,
244 z__2.i = temp.r * a[i__5].i + temp.i * a[
245 i__5].r;
246 z__1.r = x[i__3].r + z__2.r, z__1.i = x[i__3].i +
247 z__2.i;
248 x[i__2].r = z__1.r, x[i__2].i = z__1.i;
249 /* L10: */
250 }
251 if (nounit) {
252 i__4 = j;
253 i__2 = j;
254 i__3 = kplus1 + j * a_dim1;
255 z__1.r = x[i__2].r * a[i__3].r - x[i__2].i * a[
256 i__3].i, z__1.i = x[i__2].r * a[i__3].i +
257 x[i__2].i * a[i__3].r;
258 x[i__4].r = z__1.r, x[i__4].i = z__1.i;
259 }
260 }
261 /* L20: */
262 }
263 } else {
264 jx = kx;
265 i__1 = *n;
266 for (j = 1; j <= i__1; ++j) {
267 i__4 = jx;
268 if (x[i__4].r != 0. || x[i__4].i != 0.) {
269 i__4 = jx;
270 temp.r = x[i__4].r, temp.i = x[i__4].i;
271 ix = kx;
272 l = kplus1 - j;
273 /* Computing MAX */
274 i__4 = 1, i__2 = j - *k;
275 i__3 = j - 1;
276 for (i__ = max(i__4,i__2); i__ <= i__3; ++i__) {
277 i__4 = ix;
278 i__2 = ix;
279 i__5 = l + i__ + j * a_dim1;
280 z__2.r = temp.r * a[i__5].r - temp.i * a[i__5].i,
281 z__2.i = temp.r * a[i__5].i + temp.i * a[
282 i__5].r;
283 z__1.r = x[i__2].r + z__2.r, z__1.i = x[i__2].i +
284 z__2.i;
285 x[i__4].r = z__1.r, x[i__4].i = z__1.i;
286 ix += *incx;
287 /* L30: */
288 }
289 if (nounit) {
290 i__3 = jx;
291 i__4 = jx;
292 i__2 = kplus1 + j * a_dim1;
293 z__1.r = x[i__4].r * a[i__2].r - x[i__4].i * a[
294 i__2].i, z__1.i = x[i__4].r * a[i__2].i +
295 x[i__4].i * a[i__2].r;
296 x[i__3].r = z__1.r, x[i__3].i = z__1.i;
297 }
298 }
299 jx += *incx;
300 if (j > *k) {
301 kx += *incx;
302 }
303 /* L40: */
304 }
305 }
306 } else {
307 if (*incx == 1) {
308 for (j = *n; j >= 1; --j) {
309 i__1 = j;
310 if (x[i__1].r != 0. || x[i__1].i != 0.) {
311 i__1 = j;
312 temp.r = x[i__1].r, temp.i = x[i__1].i;
313 l = 1 - j;
314 /* Computing MIN */
315 i__1 = *n, i__3 = j + *k;
316 i__4 = j + 1;
317 for (i__ = min(i__1,i__3); i__ >= i__4; --i__) {
318 i__1 = i__;
319 i__3 = i__;
320 i__2 = l + i__ + j * a_dim1;
321 z__2.r = temp.r * a[i__2].r - temp.i * a[i__2].i,
322 z__2.i = temp.r * a[i__2].i + temp.i * a[
323 i__2].r;
324 z__1.r = x[i__3].r + z__2.r, z__1.i = x[i__3].i +
325 z__2.i;
326 x[i__1].r = z__1.r, x[i__1].i = z__1.i;
327 /* L50: */
328 }
329 if (nounit) {
330 i__4 = j;
331 i__1 = j;
332 i__3 = j * a_dim1 + 1;
333 z__1.r = x[i__1].r * a[i__3].r - x[i__1].i * a[
334 i__3].i, z__1.i = x[i__1].r * a[i__3].i +
335 x[i__1].i * a[i__3].r;
336 x[i__4].r = z__1.r, x[i__4].i = z__1.i;
337 }
338 }
339 /* L60: */
340 }
341 } else {
342 kx += (*n - 1) * *incx;
343 jx = kx;
344 for (j = *n; j >= 1; --j) {
345 i__4 = jx;
346 if (x[i__4].r != 0. || x[i__4].i != 0.) {
347 i__4 = jx;
348 temp.r = x[i__4].r, temp.i = x[i__4].i;
349 ix = kx;
350 l = 1 - j;
351 /* Computing MIN */
352 i__4 = *n, i__1 = j + *k;
353 i__3 = j + 1;
354 for (i__ = min(i__4,i__1); i__ >= i__3; --i__) {
355 i__4 = ix;
356 i__1 = ix;
357 i__2 = l + i__ + j * a_dim1;
358 z__2.r = temp.r * a[i__2].r - temp.i * a[i__2].i,
359 z__2.i = temp.r * a[i__2].i + temp.i * a[
360 i__2].r;
361 z__1.r = x[i__1].r + z__2.r, z__1.i = x[i__1].i +
362 z__2.i;
363 x[i__4].r = z__1.r, x[i__4].i = z__1.i;
364 ix -= *incx;
365 /* L70: */
366 }
367 if (nounit) {
368 i__3 = jx;
369 i__4 = jx;
370 i__1 = j * a_dim1 + 1;
371 z__1.r = x[i__4].r * a[i__1].r - x[i__4].i * a[
372 i__1].i, z__1.i = x[i__4].r * a[i__1].i +
373 x[i__4].i * a[i__1].r;
374 x[i__3].r = z__1.r, x[i__3].i = z__1.i;
375 }
376 }
377 jx -= *incx;
378 if (*n - j >= *k) {
379 kx -= *incx;
380 }
381 /* L80: */
382 }
383 }
384 }
385 } else {
386
387 /* Form x := A'*x or x := conjg( A' )*x. */
388
389 if (lsame_(uplo, "U", (ftnlen)1, (ftnlen)1)) {
390 kplus1 = *k + 1;
391 if (*incx == 1) {
392 for (j = *n; j >= 1; --j) {
393 i__3 = j;
394 temp.r = x[i__3].r, temp.i = x[i__3].i;
395 l = kplus1 - j;
396 if (noconj) {
397 if (nounit) {
398 i__3 = kplus1 + j * a_dim1;
399 z__1.r = temp.r * a[i__3].r - temp.i * a[i__3].i,
400 z__1.i = temp.r * a[i__3].i + temp.i * a[
401 i__3].r;
402 temp.r = z__1.r, temp.i = z__1.i;
403 }
404 /* Computing MAX */
405 i__4 = 1, i__1 = j - *k;
406 i__3 = max(i__4,i__1);
407 for (i__ = j - 1; i__ >= i__3; --i__) {
408 i__4 = l + i__ + j * a_dim1;
409 i__1 = i__;
410 z__2.r = a[i__4].r * x[i__1].r - a[i__4].i * x[
411 i__1].i, z__2.i = a[i__4].r * x[i__1].i +
412 a[i__4].i * x[i__1].r;
413 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
414 z__2.i;
415 temp.r = z__1.r, temp.i = z__1.i;
416 /* L90: */
417 }
418 } else {
419 if (nounit) {
420 d_cnjg(&z__2, &a[kplus1 + j * a_dim1]);
421 z__1.r = temp.r * z__2.r - temp.i * z__2.i,
422 z__1.i = temp.r * z__2.i + temp.i *
423 z__2.r;
424 temp.r = z__1.r, temp.i = z__1.i;
425 }
426 /* Computing MAX */
427 i__4 = 1, i__1 = j - *k;
428 i__3 = max(i__4,i__1);
429 for (i__ = j - 1; i__ >= i__3; --i__) {
430 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
431 i__4 = i__;
432 z__2.r = z__3.r * x[i__4].r - z__3.i * x[i__4].i,
433 z__2.i = z__3.r * x[i__4].i + z__3.i * x[
434 i__4].r;
435 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
436 z__2.i;
437 temp.r = z__1.r, temp.i = z__1.i;
438 /* L100: */
439 }
440 }
441 i__3 = j;
442 x[i__3].r = temp.r, x[i__3].i = temp.i;
443 /* L110: */
444 }
445 } else {
446 kx += (*n - 1) * *incx;
447 jx = kx;
448 for (j = *n; j >= 1; --j) {
449 i__3 = jx;
450 temp.r = x[i__3].r, temp.i = x[i__3].i;
451 kx -= *incx;
452 ix = kx;
453 l = kplus1 - j;
454 if (noconj) {
455 if (nounit) {
456 i__3 = kplus1 + j * a_dim1;
457 z__1.r = temp.r * a[i__3].r - temp.i * a[i__3].i,
458 z__1.i = temp.r * a[i__3].i + temp.i * a[
459 i__3].r;
460 temp.r = z__1.r, temp.i = z__1.i;
461 }
462 /* Computing MAX */
463 i__4 = 1, i__1 = j - *k;
464 i__3 = max(i__4,i__1);
465 for (i__ = j - 1; i__ >= i__3; --i__) {
466 i__4 = l + i__ + j * a_dim1;
467 i__1 = ix;
468 z__2.r = a[i__4].r * x[i__1].r - a[i__4].i * x[
469 i__1].i, z__2.i = a[i__4].r * x[i__1].i +
470 a[i__4].i * x[i__1].r;
471 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
472 z__2.i;
473 temp.r = z__1.r, temp.i = z__1.i;
474 ix -= *incx;
475 /* L120: */
476 }
477 } else {
478 if (nounit) {
479 d_cnjg(&z__2, &a[kplus1 + j * a_dim1]);
480 z__1.r = temp.r * z__2.r - temp.i * z__2.i,
481 z__1.i = temp.r * z__2.i + temp.i *
482 z__2.r;
483 temp.r = z__1.r, temp.i = z__1.i;
484 }
485 /* Computing MAX */
486 i__4 = 1, i__1 = j - *k;
487 i__3 = max(i__4,i__1);
488 for (i__ = j - 1; i__ >= i__3; --i__) {
489 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
490 i__4 = ix;
491 z__2.r = z__3.r * x[i__4].r - z__3.i * x[i__4].i,
492 z__2.i = z__3.r * x[i__4].i + z__3.i * x[
493 i__4].r;
494 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
495 z__2.i;
496 temp.r = z__1.r, temp.i = z__1.i;
497 ix -= *incx;
498 /* L130: */
499 }
500 }
501 i__3 = jx;
502 x[i__3].r = temp.r, x[i__3].i = temp.i;
503 jx -= *incx;
504 /* L140: */
505 }
506 }
507 } else {
508 if (*incx == 1) {
509 i__3 = *n;
510 for (j = 1; j <= i__3; ++j) {
511 i__4 = j;
512 temp.r = x[i__4].r, temp.i = x[i__4].i;
513 l = 1 - j;
514 if (noconj) {
515 if (nounit) {
516 i__4 = j * a_dim1 + 1;
517 z__1.r = temp.r * a[i__4].r - temp.i * a[i__4].i,
518 z__1.i = temp.r * a[i__4].i + temp.i * a[
519 i__4].r;
520 temp.r = z__1.r, temp.i = z__1.i;
521 }
522 /* Computing MIN */
523 i__1 = *n, i__2 = j + *k;
524 i__4 = min(i__1,i__2);
525 for (i__ = j + 1; i__ <= i__4; ++i__) {
526 i__1 = l + i__ + j * a_dim1;
527 i__2 = i__;
528 z__2.r = a[i__1].r * x[i__2].r - a[i__1].i * x[
529 i__2].i, z__2.i = a[i__1].r * x[i__2].i +
530 a[i__1].i * x[i__2].r;
531 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
532 z__2.i;
533 temp.r = z__1.r, temp.i = z__1.i;
534 /* L150: */
535 }
536 } else {
537 if (nounit) {
538 d_cnjg(&z__2, &a[j * a_dim1 + 1]);
539 z__1.r = temp.r * z__2.r - temp.i * z__2.i,
540 z__1.i = temp.r * z__2.i + temp.i *
541 z__2.r;
542 temp.r = z__1.r, temp.i = z__1.i;
543 }
544 /* Computing MIN */
545 i__1 = *n, i__2 = j + *k;
546 i__4 = min(i__1,i__2);
547 for (i__ = j + 1; i__ <= i__4; ++i__) {
548 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
549 i__1 = i__;
550 z__2.r = z__3.r * x[i__1].r - z__3.i * x[i__1].i,
551 z__2.i = z__3.r * x[i__1].i + z__3.i * x[
552 i__1].r;
553 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
554 z__2.i;
555 temp.r = z__1.r, temp.i = z__1.i;
556 /* L160: */
557 }
558 }
559 i__4 = j;
560 x[i__4].r = temp.r, x[i__4].i = temp.i;
561 /* L170: */
562 }
563 } else {
564 jx = kx;
565 i__3 = *n;
566 for (j = 1; j <= i__3; ++j) {
567 i__4 = jx;
568 temp.r = x[i__4].r, temp.i = x[i__4].i;
569 kx += *incx;
570 ix = kx;
571 l = 1 - j;
572 if (noconj) {
573 if (nounit) {
574 i__4 = j * a_dim1 + 1;
575 z__1.r = temp.r * a[i__4].r - temp.i * a[i__4].i,
576 z__1.i = temp.r * a[i__4].i + temp.i * a[
577 i__4].r;
578 temp.r = z__1.r, temp.i = z__1.i;
579 }
580 /* Computing MIN */
581 i__1 = *n, i__2 = j + *k;
582 i__4 = min(i__1,i__2);
583 for (i__ = j + 1; i__ <= i__4; ++i__) {
584 i__1 = l + i__ + j * a_dim1;
585 i__2 = ix;
586 z__2.r = a[i__1].r * x[i__2].r - a[i__1].i * x[
587 i__2].i, z__2.i = a[i__1].r * x[i__2].i +
588 a[i__1].i * x[i__2].r;
589 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
590 z__2.i;
591 temp.r = z__1.r, temp.i = z__1.i;
592 ix += *incx;
593 /* L180: */
594 }
595 } else {
596 if (nounit) {
597 d_cnjg(&z__2, &a[j * a_dim1 + 1]);
598 z__1.r = temp.r * z__2.r - temp.i * z__2.i,
599 z__1.i = temp.r * z__2.i + temp.i *
600 z__2.r;
601 temp.r = z__1.r, temp.i = z__1.i;
602 }
603 /* Computing MIN */
604 i__1 = *n, i__2 = j + *k;
605 i__4 = min(i__1,i__2);
606 for (i__ = j + 1; i__ <= i__4; ++i__) {
607 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
608 i__1 = ix;
609 z__2.r = z__3.r * x[i__1].r - z__3.i * x[i__1].i,
610 z__2.i = z__3.r * x[i__1].i + z__3.i * x[
611 i__1].r;
612 z__1.r = temp.r + z__2.r, z__1.i = temp.i +
613 z__2.i;
614 temp.r = z__1.r, temp.i = z__1.i;
615 ix += *incx;
616 /* L190: */
617 }
618 }
619 i__4 = jx;
620 x[i__4].r = temp.r, x[i__4].i = temp.i;
621 jx += *incx;
622 /* L200: */
623 }
624 }
625 }
626 }
627
628 return 0;
629
630 /* End of ZTBMV . */
631
632 } /* ztbmv_ */
633