116 SUBROUTINE clarfx( SIDE, M, N, V, TAU, C, LDC, WORK )
128 COMPLEX C( LDC, * ), V( * ), WORK( * )
135 parameter( zero = ( 0.0e+0, 0.0e+0 ),
136 $ one = ( 1.0e+0, 0.0e+0 ) )
140 COMPLEX SUM, T1, T10, T2, T3, T4, T5, T6, T7, T8, T9,
141 $ V1, V10, V2, V3, V4, V5, V6, V7, V8, V9
157 IF( lsame( side,
'L' ) )
THEN
161 GO TO ( 10, 30, 50, 70, 90, 110, 130, 150,
166 CALL clarf( side, m, n, v, 1, tau, c, ldc, work )
172 t1 = one - tau*v( 1 )*conjg( v( 1 ) )
174 c( 1, j ) = t1*c( 1, j )
186 sum = v1*c( 1, j ) + v2*c( 2, j )
187 c( 1, j ) = c( 1, j ) - sum*t1
188 c( 2, j ) = c( 2, j ) - sum*t2
202 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j )
203 c( 1, j ) = c( 1, j ) - sum*t1
204 c( 2, j ) = c( 2, j ) - sum*t2
205 c( 3, j ) = c( 3, j ) - sum*t3
221 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
223 c( 1, j ) = c( 1, j ) - sum*t1
224 c( 2, j ) = c( 2, j ) - sum*t2
225 c( 3, j ) = c( 3, j ) - sum*t3
226 c( 4, j ) = c( 4, j ) - sum*t4
244 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
245 $ v4*c( 4, j ) + v5*c( 5, j )
246 c( 1, j ) = c( 1, j ) - sum*t1
247 c( 2, j ) = c( 2, j ) - sum*t2
248 c( 3, j ) = c( 3, j ) - sum*t3
249 c( 4, j ) = c( 4, j ) - sum*t4
250 c( 5, j ) = c( 5, j ) - sum*t5
270 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
271 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j )
272 c( 1, j ) = c( 1, j ) - sum*t1
273 c( 2, j ) = c( 2, j ) - sum*t2
274 c( 3, j ) = c( 3, j ) - sum*t3
275 c( 4, j ) = c( 4, j ) - sum*t4
276 c( 5, j ) = c( 5, j ) - sum*t5
277 c( 6, j ) = c( 6, j ) - sum*t6
299 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
300 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
302 c( 1, j ) = c( 1, j ) - sum*t1
303 c( 2, j ) = c( 2, j ) - sum*t2
304 c( 3, j ) = c( 3, j ) - sum*t3
305 c( 4, j ) = c( 4, j ) - sum*t4
306 c( 5, j ) = c( 5, j ) - sum*t5
307 c( 6, j ) = c( 6, j ) - sum*t6
308 c( 7, j ) = c( 7, j ) - sum*t7
332 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
333 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
334 $ v7*c( 7, j ) + v8*c( 8, j )
335 c( 1, j ) = c( 1, j ) - sum*t1
336 c( 2, j ) = c( 2, j ) - sum*t2
337 c( 3, j ) = c( 3, j ) - sum*t3
338 c( 4, j ) = c( 4, j ) - sum*t4
339 c( 5, j ) = c( 5, j ) - sum*t5
340 c( 6, j ) = c( 6, j ) - sum*t6
341 c( 7, j ) = c( 7, j ) - sum*t7
342 c( 8, j ) = c( 8, j ) - sum*t8
368 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
369 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
370 $ v7*c( 7, j ) + v8*c( 8, j ) + v9*c( 9, j )
371 c( 1, j ) = c( 1, j ) - sum*t1
372 c( 2, j ) = c( 2, j ) - sum*t2
373 c( 3, j ) = c( 3, j ) - sum*t3
374 c( 4, j ) = c( 4, j ) - sum*t4
375 c( 5, j ) = c( 5, j ) - sum*t5
376 c( 6, j ) = c( 6, j ) - sum*t6
377 c( 7, j ) = c( 7, j ) - sum*t7
378 c( 8, j ) = c( 8, j ) - sum*t8
379 c( 9, j ) = c( 9, j ) - sum*t9
404 v10 = conjg( v( 10 ) )
405 t10 = tau*conjg( v10 )
407 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
408 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
409 $ v7*c( 7, j ) + v8*c( 8, j ) + v9*c( 9, j ) +
411 c( 1, j ) = c( 1, j ) - sum*t1
412 c( 2, j ) = c( 2, j ) - sum*t2
413 c( 3, j ) = c( 3, j ) - sum*t3
414 c( 4, j ) = c( 4, j ) - sum*t4
415 c( 5, j ) = c( 5, j ) - sum*t5
416 c( 6, j ) = c( 6, j ) - sum*t6
417 c( 7, j ) = c( 7, j ) - sum*t7
418 c( 8, j ) = c( 8, j ) - sum*t8
419 c( 9, j ) = c( 9, j ) - sum*t9
420 c( 10, j ) = c( 10, j ) - sum*t10
427 GO TO ( 210, 230, 250, 270, 290, 310, 330, 350,
432 CALL clarf( side, m, n, v, 1, tau, c, ldc, work )
438 t1 = one - tau*v( 1 )*conjg( v( 1 ) )
440 c( j, 1 ) = t1*c( j, 1 )
452 sum = v1*c( j, 1 ) + v2*c( j, 2 )
453 c( j, 1 ) = c( j, 1 ) - sum*t1
454 c( j, 2 ) = c( j, 2 ) - sum*t2
468 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 )
469 c( j, 1 ) = c( j, 1 ) - sum*t1
470 c( j, 2 ) = c( j, 2 ) - sum*t2
471 c( j, 3 ) = c( j, 3 ) - sum*t3
487 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
489 c( j, 1 ) = c( j, 1 ) - sum*t1
490 c( j, 2 ) = c( j, 2 ) - sum*t2
491 c( j, 3 ) = c( j, 3 ) - sum*t3
492 c( j, 4 ) = c( j, 4 ) - sum*t4
510 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
511 $ v4*c( j, 4 ) + v5*c( j, 5 )
512 c( j, 1 ) = c( j, 1 ) - sum*t1
513 c( j, 2 ) = c( j, 2 ) - sum*t2
514 c( j, 3 ) = c( j, 3 ) - sum*t3
515 c( j, 4 ) = c( j, 4 ) - sum*t4
516 c( j, 5 ) = c( j, 5 ) - sum*t5
536 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
537 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 )
538 c( j, 1 ) = c( j, 1 ) - sum*t1
539 c( j, 2 ) = c( j, 2 ) - sum*t2
540 c( j, 3 ) = c( j, 3 ) - sum*t3
541 c( j, 4 ) = c( j, 4 ) - sum*t4
542 c( j, 5 ) = c( j, 5 ) - sum*t5
543 c( j, 6 ) = c( j, 6 ) - sum*t6
565 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
566 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
568 c( j, 1 ) = c( j, 1 ) - sum*t1
569 c( j, 2 ) = c( j, 2 ) - sum*t2
570 c( j, 3 ) = c( j, 3 ) - sum*t3
571 c( j, 4 ) = c( j, 4 ) - sum*t4
572 c( j, 5 ) = c( j, 5 ) - sum*t5
573 c( j, 6 ) = c( j, 6 ) - sum*t6
574 c( j, 7 ) = c( j, 7 ) - sum*t7
598 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
599 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
600 $ v7*c( j, 7 ) + v8*c( j, 8 )
601 c( j, 1 ) = c( j, 1 ) - sum*t1
602 c( j, 2 ) = c( j, 2 ) - sum*t2
603 c( j, 3 ) = c( j, 3 ) - sum*t3
604 c( j, 4 ) = c( j, 4 ) - sum*t4
605 c( j, 5 ) = c( j, 5 ) - sum*t5
606 c( j, 6 ) = c( j, 6 ) - sum*t6
607 c( j, 7 ) = c( j, 7 ) - sum*t7
608 c( j, 8 ) = c( j, 8 ) - sum*t8
634 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
635 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
636 $ v7*c( j, 7 ) + v8*c( j, 8 ) + v9*c( j, 9 )
637 c( j, 1 ) = c( j, 1 ) - sum*t1
638 c( j, 2 ) = c( j, 2 ) - sum*t2
639 c( j, 3 ) = c( j, 3 ) - sum*t3
640 c( j, 4 ) = c( j, 4 ) - sum*t4
641 c( j, 5 ) = c( j, 5 ) - sum*t5
642 c( j, 6 ) = c( j, 6 ) - sum*t6
643 c( j, 7 ) = c( j, 7 ) - sum*t7
644 c( j, 8 ) = c( j, 8 ) - sum*t8
645 c( j, 9 ) = c( j, 9 ) - sum*t9
671 t10 = tau*conjg( v10 )
673 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
674 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
675 $ v7*c( j, 7 ) + v8*c( j, 8 ) + v9*c( j, 9 ) +
677 c( j, 1 ) = c( j, 1 ) - sum*t1
678 c( j, 2 ) = c( j, 2 ) - sum*t2
679 c( j, 3 ) = c( j, 3 ) - sum*t3
680 c( j, 4 ) = c( j, 4 ) - sum*t4
681 c( j, 5 ) = c( j, 5 ) - sum*t5
682 c( j, 6 ) = c( j, 6 ) - sum*t6
683 c( j, 7 ) = c( j, 7 ) - sum*t7
684 c( j, 8 ) = c( j, 8 ) - sum*t8
685 c( j, 9 ) = c( j, 9 ) - sum*t9
686 c( j, 10 ) = c( j, 10 ) - sum*t10