20 integer a_dim1, a_offset, i__1, i__2, i__3, i__4, i__5;
179 a_offset = 1 + a_dim1;
193 }
else if (*lda < *k + 1) {
195 }
else if (*incx == 0) {
197 }
else if (*incy == 0) {
207 if (*n == 0 || (alpha->
r == 0.f && alpha->
i == 0.f && (beta->
r == 1.f &&
217 kx = 1 - (*n - 1) * *incx;
222 ky = 1 - (*n - 1) * *incy;
230 if (beta->
r != 1.f || beta->
i != 0.f) {
232 if (beta->
r == 0.f && beta->
i == 0.f) {
234 for (i__ = 1; i__ <= i__1; ++i__) {
236 y[i__2].
r = 0.f, y[i__2].
i = 0.f;
241 for (i__ = 1; i__ <= i__1; ++i__) {
244 q__1.
r = beta->
r * y[i__3].
r - beta->
i * y[i__3].
i,
245 q__1.
i = beta->
r * y[i__3].
i + beta->
i * y[i__3]
247 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
253 if (beta->
r == 0.f && beta->
i == 0.f) {
255 for (i__ = 1; i__ <= i__1; ++i__) {
257 y[i__2].
r = 0.f, y[i__2].
i = 0.f;
263 for (i__ = 1; i__ <= i__1; ++i__) {
266 q__1.
r = beta->
r * y[i__3].
r - beta->
i * y[i__3].
i,
267 q__1.
i = beta->
r * y[i__3].
i + beta->
i * y[i__3]
269 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
276 if (alpha->
r == 0.f && alpha->
i == 0.f) {
284 if (*incx == 1 && *incy == 1) {
286 for (j = 1; j <= i__1; ++
j) {
288 q__1.
r = alpha->
r * x[i__2].
r - alpha->
i * x[i__2].
i, q__1.
i =
289 alpha->
r * x[i__2].
i + alpha->
i * x[i__2].
r;
290 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
291 temp2.
r = 0.f, temp2.
i = 0.f;
294 i__2 = 1, i__3 = j - *k;
296 for (i__ =
max(i__2,i__3); i__ <= i__4; ++i__) {
299 i__5 = l + i__ + j * a_dim1;
300 q__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
301 q__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
303 q__1.
r = y[i__3].
r + q__2.
r, q__1.
i = y[i__3].
i + q__2.
i;
304 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
305 r_cnjg(&q__3, &a[l + i__ + j * a_dim1]);
307 q__2.
r = q__3.
r * x[i__2].
r - q__3.
i * x[i__2].
i, q__2.
i =
308 q__3.
r * x[i__2].
i + q__3.
i * x[i__2].
r;
309 q__1.
r = temp2.
r + q__2.
r, q__1.
i = temp2.
i + q__2.
i;
310 temp2.
r = q__1.
r, temp2.
i = q__1.
i;
315 i__3 = kplus1 + j * a_dim1;
317 q__3.
r = r__1 * temp1.
r, q__3.
i = r__1 * temp1.
i;
318 q__2.
r = y[i__2].
r + q__3.
r, q__2.
i = y[i__2].
i + q__3.
i;
319 q__4.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, q__4.
i =
320 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
321 q__1.
r = q__2.
r + q__4.
r, q__1.
i = q__2.
i + q__4.
i;
322 y[i__4].
r = q__1.
r, y[i__4].
i = q__1.
i;
329 for (j = 1; j <= i__1; ++
j) {
331 q__1.
r = alpha->
r * x[i__4].
r - alpha->
i * x[i__4].
i, q__1.
i =
332 alpha->
r * x[i__4].
i + alpha->
i * x[i__4].
r;
333 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
334 temp2.
r = 0.f, temp2.
i = 0.f;
339 i__4 = 1, i__2 = j - *k;
341 for (i__ =
max(i__4,i__2); i__ <= i__3; ++i__) {
344 i__5 = l + i__ + j * a_dim1;
345 q__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
346 q__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
348 q__1.
r = y[i__2].
r + q__2.
r, q__1.
i = y[i__2].
i + q__2.
i;
349 y[i__4].
r = q__1.
r, y[i__4].
i = q__1.
i;
350 r_cnjg(&q__3, &a[l + i__ + j * a_dim1]);
352 q__2.
r = q__3.
r * x[i__4].
r - q__3.
i * x[i__4].
i, q__2.
i =
353 q__3.
r * x[i__4].
i + q__3.
i * x[i__4].
r;
354 q__1.
r = temp2.
r + q__2.
r, q__1.
i = temp2.
i + q__2.
i;
355 temp2.
r = q__1.
r, temp2.
i = q__1.
i;
362 i__2 = kplus1 + j * a_dim1;
364 q__3.
r = r__1 * temp1.
r, q__3.
i = r__1 * temp1.
i;
365 q__2.
r = y[i__4].
r + q__3.
r, q__2.
i = y[i__4].
i + q__3.
i;
366 q__4.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, q__4.
i =
367 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
368 q__1.
r = q__2.
r + q__4.
r, q__1.
i = q__2.
i + q__4.
i;
369 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
383 if (*incx == 1 && *incy == 1) {
385 for (j = 1; j <= i__1; ++
j) {
387 q__1.
r = alpha->
r * x[i__3].
r - alpha->
i * x[i__3].
i, q__1.
i =
388 alpha->
r * x[i__3].
i + alpha->
i * x[i__3].
r;
389 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
390 temp2.
r = 0.f, temp2.
i = 0.f;
393 i__2 = j * a_dim1 + 1;
395 q__2.
r = r__1 * temp1.
r, q__2.
i = r__1 * temp1.
i;
396 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
397 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
400 i__4 = *
n, i__2 = j + *k;
401 i__3 =
min(i__4,i__2);
402 for (i__ = j + 1; i__ <= i__3; ++i__) {
405 i__5 = l + i__ + j * a_dim1;
406 q__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
407 q__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
409 q__1.
r = y[i__2].
r + q__2.
r, q__1.
i = y[i__2].
i + q__2.
i;
410 y[i__4].
r = q__1.
r, y[i__4].
i = q__1.
i;
411 r_cnjg(&q__3, &a[l + i__ + j * a_dim1]);
413 q__2.
r = q__3.
r * x[i__4].
r - q__3.
i * x[i__4].
i, q__2.
i =
414 q__3.
r * x[i__4].
i + q__3.
i * x[i__4].
r;
415 q__1.
r = temp2.
r + q__2.
r, q__1.
i = temp2.
i + q__2.
i;
416 temp2.
r = q__1.
r, temp2.
i = q__1.
i;
421 q__2.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, q__2.
i =
422 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
423 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
424 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
431 for (j = 1; j <= i__1; ++
j) {
433 q__1.
r = alpha->
r * x[i__3].
r - alpha->
i * x[i__3].
i, q__1.
i =
434 alpha->
r * x[i__3].
i + alpha->
i * x[i__3].
r;
435 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
436 temp2.
r = 0.f, temp2.
i = 0.f;
439 i__2 = j * a_dim1 + 1;
441 q__2.
r = r__1 * temp1.
r, q__2.
i = r__1 * temp1.
i;
442 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
443 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
448 i__4 = *
n, i__2 = j + *k;
449 i__3 =
min(i__4,i__2);
450 for (i__ = j + 1; i__ <= i__3; ++i__) {
455 i__5 = l + i__ + j * a_dim1;
456 q__2.
r = temp1.
r * a[i__5].
r - temp1.
i * a[i__5].
i,
457 q__2.
i = temp1.
r * a[i__5].
i + temp1.
i * a[i__5]
459 q__1.
r = y[i__2].
r + q__2.
r, q__1.
i = y[i__2].
i + q__2.
i;
460 y[i__4].
r = q__1.
r, y[i__4].
i = q__1.
i;
461 r_cnjg(&q__3, &a[l + i__ + j * a_dim1]);
463 q__2.
r = q__3.
r * x[i__4].
r - q__3.
i * x[i__4].
i, q__2.
i =
464 q__3.
r * x[i__4].
i + q__3.
i * x[i__4].
r;
465 q__1.
r = temp2.
r + q__2.
r, q__1.
i = temp2.
i + q__2.
i;
466 temp2.
r = q__1.
r, temp2.
i = q__1.
i;
471 q__2.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, q__2.
i =
472 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
473 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
474 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
void r_cnjg(complex *r, complex *z)
RealScalar RealScalar int * incx
static const Line3 l(Rot3(), 1, 1)
EIGEN_WEAK_LINKING int xerbla_(const char *msg, int *info, int)
int chbmv_(char *uplo, integer *n, integer *k, complex *alpha, complex *a, integer *lda, complex *x, integer *incx, complex *beta, complex *y, integer *incy, ftnlen uplo_len)
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