20 integer i__1, i__2, i__3, i__4, i__5;
28 integer i__,
j, k, kk, ix, iy, jx, jy, kx, ky,
info;
154 }
else if (*incx == 0) {
156 }
else if (*incy == 0) {
166 if (*n == 0 || (alpha->
r == 0.f && alpha->
i == 0.f && (beta->
r == 1.f &&
176 kx = 1 - (*n - 1) * *incx;
181 ky = 1 - (*n - 1) * *incy;
189 if (beta->
r != 1.f || beta->
i != 0.f) {
191 if (beta->
r == 0.f && beta->
i == 0.f) {
193 for (i__ = 1; i__ <= i__1; ++i__) {
195 y[i__2].
r = 0.f, y[i__2].
i = 0.f;
200 for (i__ = 1; i__ <= i__1; ++i__) {
203 q__1.
r = beta->
r * y[i__3].
r - beta->
i * y[i__3].
i,
204 q__1.
i = beta->
r * y[i__3].
i + beta->
i * y[i__3]
206 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
212 if (beta->
r == 0.f && beta->
i == 0.f) {
214 for (i__ = 1; i__ <= i__1; ++i__) {
216 y[i__2].
r = 0.f, y[i__2].
i = 0.f;
222 for (i__ = 1; i__ <= i__1; ++i__) {
225 q__1.
r = beta->
r * y[i__3].
r - beta->
i * y[i__3].
i,
226 q__1.
i = beta->
r * y[i__3].
i + beta->
i * y[i__3]
228 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
235 if (alpha->
r == 0.f && alpha->
i == 0.f) {
243 if (*incx == 1 && *incy == 1) {
245 for (j = 1; j <= i__1; ++
j) {
247 q__1.
r = alpha->
r * x[i__2].
r - alpha->
i * x[i__2].
i, q__1.
i =
248 alpha->
r * x[i__2].
i + alpha->
i * x[i__2].
r;
249 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
250 temp2.
r = 0.f, temp2.
i = 0.f;
253 for (i__ = 1; i__ <= i__2; ++i__) {
257 q__2.
r = temp1.
r * ap[i__5].
r - temp1.
i * ap[i__5].
i,
258 q__2.
i = temp1.
r * ap[i__5].
i + temp1.
i * ap[i__5]
260 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
261 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
264 q__2.
r = q__3.
r * x[i__3].
r - q__3.
i * x[i__3].
i, q__2.
i =
265 q__3.
r * x[i__3].
i + q__3.
i * x[i__3].
r;
266 q__1.
r = temp2.
r + q__2.
r, q__1.
i = temp2.
i + q__2.
i;
267 temp2.
r = q__1.
r, temp2.
i = q__1.
i;
275 q__3.
r = r__1 * temp1.
r, q__3.
i = r__1 * temp1.
i;
276 q__2.
r = y[i__3].
r + q__3.
r, q__2.
i = y[i__3].
i + q__3.
i;
277 q__4.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, q__4.
i =
278 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
279 q__1.
r = q__2.
r + q__4.
r, q__1.
i = q__2.
i + q__4.
i;
280 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
288 for (j = 1; j <= i__1; ++
j) {
290 q__1.
r = alpha->
r * x[i__2].
r - alpha->
i * x[i__2].
i, q__1.
i =
291 alpha->
r * x[i__2].
i + alpha->
i * x[i__2].
r;
292 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
293 temp2.
r = 0.f, temp2.
i = 0.f;
297 for (k = kk; k <= i__2; ++k) {
301 q__2.
r = temp1.
r * ap[i__5].
r - temp1.
i * ap[i__5].
i,
302 q__2.
i = temp1.
r * ap[i__5].
i + temp1.
i * ap[i__5]
304 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
305 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
308 q__2.
r = q__3.
r * x[i__3].
r - q__3.
i * x[i__3].
i, q__2.
i =
309 q__3.
r * x[i__3].
i + q__3.
i * x[i__3].
r;
310 q__1.
r = temp2.
r + q__2.
r, q__1.
i = temp2.
i + q__2.
i;
311 temp2.
r = q__1.
r, temp2.
i = q__1.
i;
320 q__3.
r = r__1 * temp1.
r, q__3.
i = r__1 * temp1.
i;
321 q__2.
r = y[i__3].
r + q__3.
r, q__2.
i = y[i__3].
i + q__3.
i;
322 q__4.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, q__4.
i =
323 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
324 q__1.
r = q__2.
r + q__4.
r, q__1.
i = q__2.
i + q__4.
i;
325 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
336 if (*incx == 1 && *incy == 1) {
338 for (j = 1; j <= i__1; ++
j) {
340 q__1.
r = alpha->
r * x[i__2].
r - alpha->
i * x[i__2].
i, q__1.
i =
341 alpha->
r * x[i__2].
i + alpha->
i * x[i__2].
r;
342 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
343 temp2.
r = 0.f, temp2.
i = 0.f;
348 q__2.
r = r__1 * temp1.
r, q__2.
i = r__1 * temp1.
i;
349 q__1.
r = y[i__3].
r + q__2.
r, q__1.
i = y[i__3].
i + q__2.
i;
350 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
353 for (i__ = j + 1; i__ <= i__2; ++i__) {
357 q__2.
r = temp1.
r * ap[i__5].
r - temp1.
i * ap[i__5].
i,
358 q__2.
i = temp1.
r * ap[i__5].
i + temp1.
i * ap[i__5]
360 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
361 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
364 q__2.
r = q__3.
r * x[i__3].
r - q__3.
i * x[i__3].
i, q__2.
i =
365 q__3.
r * x[i__3].
i + q__3.
i * x[i__3].
r;
366 q__1.
r = temp2.
r + q__2.
r, q__1.
i = temp2.
i + q__2.
i;
367 temp2.
r = q__1.
r, temp2.
i = q__1.
i;
373 q__2.
r = alpha->
r * temp2.
r - alpha->
i * temp2.
i, q__2.
i =
374 alpha->
r * temp2.
i + alpha->
i * temp2.
r;
375 q__1.
r = y[i__3].
r + q__2.
r, q__1.
i = y[i__3].
i + q__2.
i;
376 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
384 for (j = 1; j <= i__1; ++
j) {
386 q__1.
r = alpha->
r * x[i__2].
r - alpha->
i * x[i__2].
i, q__1.
i =
387 alpha->
r * x[i__2].
i + alpha->
i * x[i__2].
r;
388 temp1.
r = q__1.
r, temp1.
i = q__1.
i;
389 temp2.
r = 0.f, temp2.
i = 0.f;
394 q__2.
r = r__1 * temp1.
r, q__2.
i = r__1 * temp1.
i;
395 q__1.
r = y[i__3].
r + q__2.
r, q__1.
i = y[i__3].
i + q__2.
i;
396 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
400 for (k = kk + 1; k <= i__2; ++k) {
406 q__2.
r = temp1.
r * ap[i__5].
r - temp1.
i * ap[i__5].
i,
407 q__2.
i = temp1.
r * ap[i__5].
i + temp1.
i * ap[i__5]
409 q__1.
r = y[i__4].
r + q__2.
r, q__1.
i = y[i__4].
i + q__2.
i;
410 y[i__3].
r = q__1.
r, y[i__3].
i = q__1.
i;
413 q__2.
r = q__3.
r * x[i__3].
r - q__3.
i * x[i__3].
i, q__2.
i =
414 q__3.
r * x[i__3].
i + q__3.
i * x[i__3].
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__3].
r + q__2.
r, q__1.
i = y[i__3].
i + q__2.
i;
424 y[i__2].
r = q__1.
r, y[i__2].
i = q__1.
i;
void r_cnjg(complex *r, complex *z)
int chpmv_(char *uplo, integer *n, complex *alpha, complex *ap, complex *x, integer *incx, complex *beta, complex *y, integer *incy, ftnlen uplo_len)
RealScalar RealScalar int * incx
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