21 integer a_dim1, a_offset, i__1, i__2, i__3, i__4, i__5;
180 a_offset = 1 + a_dim1;
194 }
else if (*lda < *k + 1) {
196 }
else if (*incx == 0) {
198 }
else if (*incy == 0) {
208 if (*n == 0 || (alpha->
r == 0. && alpha->
i == 0. && (beta->
r == 1. &&
218 kx = 1 - (*n - 1) * *incx;
223 ky = 1 - (*n - 1) * *incy;
231 if (beta->
r != 1. || beta->
i != 0.) {
233 if (beta->
r == 0. && beta->
i == 0.) {
235 for (i__ = 1; i__ <= i__1; ++i__) {
237 y[i__2].
r = 0., y[i__2].
i = 0.;
242 for (i__ = 1; i__ <= i__1; ++i__) {
245 z__1.
r = beta->
r * y[i__3].
r - beta->
i * y[i__3].
i,
246 z__1.
i = beta->
r * y[i__3].
i + beta->
i * y[i__3]
248 y[i__2].
r = z__1.
r, y[i__2].
i = z__1.
i;
254 if (beta->
r == 0. && beta->
i == 0.) {
256 for (i__ = 1; i__ <= i__1; ++i__) {
258 y[i__2].
r = 0., y[i__2].
i = 0.;
264 for (i__ = 1; i__ <= i__1; ++i__) {
267 z__1.
r = beta->
r * y[i__3].
r - beta->
i * y[i__3].
i,
268 z__1.
i = beta->
r * y[i__3].
i + beta->
i * y[i__3]
270 y[i__2].
r = z__1.
r, y[i__2].
i = z__1.
i;
277 if (alpha->
r == 0. && alpha->
i == 0.) {
285 if (*incx == 1 && *incy == 1) {
287 for (j = 1; j <= i__1; ++
j) {
289 z__1.
r = alpha->
r * x[i__2].
r - alpha->
i * x[i__2].
i, z__1.
i =
290 alpha->
r * x[i__2].
i + alpha->
i * x[i__2].
r;
291 temp1.
r = z__1.
r, temp1.
i = z__1.
i;
292 temp2.
r = 0., temp2.
i = 0.;
295 i__2 = 1, i__3 = j - *k;
297 for (i__ =
max(i__2,i__3); i__ <= i__4; ++i__) {
300 i__5 = l + i__ + j * a_dim1;
301 z__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
302 z__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
304 z__1.
r = y[i__3].
r + z__2.
r, z__1.
i = y[i__3].
i + z__2.
i;
305 y[i__2].
r = z__1.
r, y[i__2].
i = z__1.
i;
306 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
308 z__2.
r = z__3.
r * x[i__2].
r - z__3.
i * x[i__2].
i, z__2.
i =
309 z__3.
r * x[i__2].
i + z__3.
i * x[i__2].
r;
310 z__1.
r = temp2.
r + z__2.
r, z__1.
i = temp2.
i + z__2.
i;
311 temp2.
r = z__1.
r, temp2.
i = z__1.
i;
316 i__3 = kplus1 + j * a_dim1;
318 z__3.
r = d__1 * temp1.
r, z__3.
i = d__1 * temp1.
i;
319 z__2.
r = y[i__2].
r + z__3.
r, z__2.
i = y[i__2].
i + z__3.
i;
320 z__4.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, z__4.
i =
321 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
322 z__1.
r = z__2.
r + z__4.
r, z__1.
i = z__2.
i + z__4.
i;
323 y[i__4].
r = z__1.
r, y[i__4].
i = z__1.
i;
330 for (j = 1; j <= i__1; ++
j) {
332 z__1.
r = alpha->
r * x[i__4].
r - alpha->
i * x[i__4].
i, z__1.
i =
333 alpha->
r * x[i__4].
i + alpha->
i * x[i__4].
r;
334 temp1.
r = z__1.
r, temp1.
i = z__1.
i;
335 temp2.
r = 0., temp2.
i = 0.;
340 i__4 = 1, i__2 = j - *k;
342 for (i__ =
max(i__4,i__2); i__ <= i__3; ++i__) {
345 i__5 = l + i__ + j * a_dim1;
346 z__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
347 z__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
349 z__1.
r = y[i__2].
r + z__2.
r, z__1.
i = y[i__2].
i + z__2.
i;
350 y[i__4].
r = z__1.
r, y[i__4].
i = z__1.
i;
351 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
353 z__2.
r = z__3.
r * x[i__4].
r - z__3.
i * x[i__4].
i, z__2.
i =
354 z__3.
r * x[i__4].
i + z__3.
i * x[i__4].
r;
355 z__1.
r = temp2.
r + z__2.
r, z__1.
i = temp2.
i + z__2.
i;
356 temp2.
r = z__1.
r, temp2.
i = z__1.
i;
363 i__2 = kplus1 + j * a_dim1;
365 z__3.
r = d__1 * temp1.
r, z__3.
i = d__1 * temp1.
i;
366 z__2.
r = y[i__4].
r + z__3.
r, z__2.
i = y[i__4].
i + z__3.
i;
367 z__4.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, z__4.
i =
368 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
369 z__1.
r = z__2.
r + z__4.
r, z__1.
i = z__2.
i + z__4.
i;
370 y[i__3].
r = z__1.
r, y[i__3].
i = z__1.
i;
384 if (*incx == 1 && *incy == 1) {
386 for (j = 1; j <= i__1; ++
j) {
388 z__1.
r = alpha->
r * x[i__3].
r - alpha->
i * x[i__3].
i, z__1.
i =
389 alpha->
r * x[i__3].
i + alpha->
i * x[i__3].
r;
390 temp1.
r = z__1.
r, temp1.
i = z__1.
i;
391 temp2.
r = 0., temp2.
i = 0.;
394 i__2 = j * a_dim1 + 1;
396 z__2.
r = d__1 * temp1.
r, z__2.
i = d__1 * temp1.
i;
397 z__1.
r = y[i__4].
r + z__2.
r, z__1.
i = y[i__4].
i + z__2.
i;
398 y[i__3].
r = z__1.
r, y[i__3].
i = z__1.
i;
401 i__4 = *
n, i__2 = j + *k;
402 i__3 =
min(i__4,i__2);
403 for (i__ = j + 1; i__ <= i__3; ++i__) {
406 i__5 = l + i__ + j * a_dim1;
407 z__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
408 z__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
410 z__1.
r = y[i__2].
r + z__2.
r, z__1.
i = y[i__2].
i + z__2.
i;
411 y[i__4].
r = z__1.
r, y[i__4].
i = z__1.
i;
412 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
414 z__2.
r = z__3.
r * x[i__4].
r - z__3.
i * x[i__4].
i, z__2.
i =
415 z__3.
r * x[i__4].
i + z__3.
i * x[i__4].
r;
416 z__1.
r = temp2.
r + z__2.
r, z__1.
i = temp2.
i + z__2.
i;
417 temp2.
r = z__1.
r, temp2.
i = z__1.
i;
422 z__2.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, z__2.
i =
423 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
424 z__1.
r = y[i__4].
r + z__2.
r, z__1.
i = y[i__4].
i + z__2.
i;
425 y[i__3].
r = z__1.
r, y[i__3].
i = z__1.
i;
432 for (j = 1; j <= i__1; ++
j) {
434 z__1.
r = alpha->
r * x[i__3].
r - alpha->
i * x[i__3].
i, z__1.
i =
435 alpha->
r * x[i__3].
i + alpha->
i * x[i__3].
r;
436 temp1.
r = z__1.
r, temp1.
i = z__1.
i;
437 temp2.
r = 0., temp2.
i = 0.;
440 i__2 = j * a_dim1 + 1;
442 z__2.
r = d__1 * temp1.
r, z__2.
i = d__1 * temp1.
i;
443 z__1.
r = y[i__4].
r + z__2.
r, z__1.
i = y[i__4].
i + z__2.
i;
444 y[i__3].
r = z__1.
r, y[i__3].
i = z__1.
i;
449 i__4 = *
n, i__2 = j + *k;
450 i__3 =
min(i__4,i__2);
451 for (i__ = j + 1; i__ <= i__3; ++i__) {
456 i__5 = l + i__ + j * a_dim1;
457 z__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
458 z__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
460 z__1.
r = y[i__2].
r + z__2.
r, z__1.
i = y[i__2].
i + z__2.
i;
461 y[i__4].
r = z__1.
r, y[i__4].
i = z__1.
i;
462 d_cnjg(&z__3, &a[l + i__ + j * a_dim1]);
464 z__2.
r = z__3.
r * x[i__4].
r - z__3.
i * x[i__4].
i, z__2.
i =
465 z__3.
r * x[i__4].
i + z__3.
i * x[i__4].
r;
466 z__1.
r = temp2.
r + z__2.
r, z__1.
i = temp2.
i + z__2.
i;
467 temp2.
r = z__1.
r, temp2.
i = z__1.
i;
472 z__2.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, z__2.
i =
473 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
474 z__1.
r = y[i__4].
r + z__2.
r, z__1.
i = y[i__4].
i + z__2.
i;
475 y[i__3].
r = z__1.
r, y[i__3].
i = z__1.
i;
int zhbmv_(char *uplo, integer *n, integer *k, doublecomplex *alpha, doublecomplex *a, integer *lda, doublecomplex *x, integer *incx, doublecomplex *beta, doublecomplex *y, integer *incy, ftnlen uplo_len)
RealScalar RealScalar int * incx
void d_cnjg(doublecomplex *r, doublecomplex *z)
static const Line3 l(Rot3(), 1, 1)
EIGEN_WEAK_LINKING int xerbla_(const char *msg, int *info, int)
logical lsame_(char *ca, char *cb, ftnlen ca_len, ftnlen cb_len)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
int RealScalar int RealScalar int * incy