117 SUBROUTINE slarfx( SIDE, M, N, V, TAU, C, LDC, WORK )
129 REAL C( LDC, * ), V( * ), WORK( * )
136 parameter( zero = 0.0e+0, one = 1.0e+0 )
140 REAL SUM, T1, T10, T2, T3, T4, T5, T6, T7, T8, T9,
141 $ V1, V10, V2, V3, V4, V5, V6, V7, V8, V9
154 IF( lsame( side,
'L' ) )
THEN
158 GO TO ( 10, 30, 50, 70, 90, 110, 130, 150,
163 CALL slarf( side, m, n, v, 1, tau, c, ldc, work )
169 t1 = one - tau*v( 1 )*v( 1 )
171 c( 1, j ) = t1*c( 1, j )
183 sum = v1*c( 1, j ) + v2*c( 2, j )
184 c( 1, j ) = c( 1, j ) - sum*t1
185 c( 2, j ) = c( 2, j ) - sum*t2
199 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j )
200 c( 1, j ) = c( 1, j ) - sum*t1
201 c( 2, j ) = c( 2, j ) - sum*t2
202 c( 3, j ) = c( 3, j ) - sum*t3
218 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
220 c( 1, j ) = c( 1, j ) - sum*t1
221 c( 2, j ) = c( 2, j ) - sum*t2
222 c( 3, j ) = c( 3, j ) - sum*t3
223 c( 4, j ) = c( 4, j ) - sum*t4
241 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
242 $ v4*c( 4, j ) + v5*c( 5, j )
243 c( 1, j ) = c( 1, j ) - sum*t1
244 c( 2, j ) = c( 2, j ) - sum*t2
245 c( 3, j ) = c( 3, j ) - sum*t3
246 c( 4, j ) = c( 4, j ) - sum*t4
247 c( 5, j ) = c( 5, j ) - sum*t5
267 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
268 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j )
269 c( 1, j ) = c( 1, j ) - sum*t1
270 c( 2, j ) = c( 2, j ) - sum*t2
271 c( 3, j ) = c( 3, j ) - sum*t3
272 c( 4, j ) = c( 4, j ) - sum*t4
273 c( 5, j ) = c( 5, j ) - sum*t5
274 c( 6, j ) = c( 6, j ) - sum*t6
296 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
297 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
299 c( 1, j ) = c( 1, j ) - sum*t1
300 c( 2, j ) = c( 2, j ) - sum*t2
301 c( 3, j ) = c( 3, j ) - sum*t3
302 c( 4, j ) = c( 4, j ) - sum*t4
303 c( 5, j ) = c( 5, j ) - sum*t5
304 c( 6, j ) = c( 6, j ) - sum*t6
305 c( 7, j ) = c( 7, j ) - sum*t7
329 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
330 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
331 $ v7*c( 7, j ) + v8*c( 8, j )
332 c( 1, j ) = c( 1, j ) - sum*t1
333 c( 2, j ) = c( 2, j ) - sum*t2
334 c( 3, j ) = c( 3, j ) - sum*t3
335 c( 4, j ) = c( 4, j ) - sum*t4
336 c( 5, j ) = c( 5, j ) - sum*t5
337 c( 6, j ) = c( 6, j ) - sum*t6
338 c( 7, j ) = c( 7, j ) - sum*t7
339 c( 8, j ) = c( 8, j ) - sum*t8
365 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
366 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
367 $ v7*c( 7, j ) + v8*c( 8, j ) + v9*c( 9, j )
368 c( 1, j ) = c( 1, j ) - sum*t1
369 c( 2, j ) = c( 2, j ) - sum*t2
370 c( 3, j ) = c( 3, j ) - sum*t3
371 c( 4, j ) = c( 4, j ) - sum*t4
372 c( 5, j ) = c( 5, j ) - sum*t5
373 c( 6, j ) = c( 6, j ) - sum*t6
374 c( 7, j ) = c( 7, j ) - sum*t7
375 c( 8, j ) = c( 8, j ) - sum*t8
376 c( 9, j ) = c( 9, j ) - sum*t9
404 sum = v1*c( 1, j ) + v2*c( 2, j ) + v3*c( 3, j ) +
405 $ v4*c( 4, j ) + v5*c( 5, j ) + v6*c( 6, j ) +
406 $ v7*c( 7, j ) + v8*c( 8, j ) + v9*c( 9, j ) +
408 c( 1, j ) = c( 1, j ) - sum*t1
409 c( 2, j ) = c( 2, j ) - sum*t2
410 c( 3, j ) = c( 3, j ) - sum*t3
411 c( 4, j ) = c( 4, j ) - sum*t4
412 c( 5, j ) = c( 5, j ) - sum*t5
413 c( 6, j ) = c( 6, j ) - sum*t6
414 c( 7, j ) = c( 7, j ) - sum*t7
415 c( 8, j ) = c( 8, j ) - sum*t8
416 c( 9, j ) = c( 9, j ) - sum*t9
417 c( 10, j ) = c( 10, j ) - sum*t10
424 GO TO ( 210, 230, 250, 270, 290, 310, 330, 350,
429 CALL slarf( side, m, n, v, 1, tau, c, ldc, work )
435 t1 = one - tau*v( 1 )*v( 1 )
437 c( j, 1 ) = t1*c( j, 1 )
449 sum = v1*c( j, 1 ) + v2*c( j, 2 )
450 c( j, 1 ) = c( j, 1 ) - sum*t1
451 c( j, 2 ) = c( j, 2 ) - sum*t2
465 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 )
466 c( j, 1 ) = c( j, 1 ) - sum*t1
467 c( j, 2 ) = c( j, 2 ) - sum*t2
468 c( j, 3 ) = c( j, 3 ) - sum*t3
484 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
486 c( j, 1 ) = c( j, 1 ) - sum*t1
487 c( j, 2 ) = c( j, 2 ) - sum*t2
488 c( j, 3 ) = c( j, 3 ) - sum*t3
489 c( j, 4 ) = c( j, 4 ) - sum*t4
507 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
508 $ v4*c( j, 4 ) + v5*c( j, 5 )
509 c( j, 1 ) = c( j, 1 ) - sum*t1
510 c( j, 2 ) = c( j, 2 ) - sum*t2
511 c( j, 3 ) = c( j, 3 ) - sum*t3
512 c( j, 4 ) = c( j, 4 ) - sum*t4
513 c( j, 5 ) = c( j, 5 ) - sum*t5
533 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
534 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 )
535 c( j, 1 ) = c( j, 1 ) - sum*t1
536 c( j, 2 ) = c( j, 2 ) - sum*t2
537 c( j, 3 ) = c( j, 3 ) - sum*t3
538 c( j, 4 ) = c( j, 4 ) - sum*t4
539 c( j, 5 ) = c( j, 5 ) - sum*t5
540 c( j, 6 ) = c( j, 6 ) - sum*t6
562 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
563 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
565 c( j, 1 ) = c( j, 1 ) - sum*t1
566 c( j, 2 ) = c( j, 2 ) - sum*t2
567 c( j, 3 ) = c( j, 3 ) - sum*t3
568 c( j, 4 ) = c( j, 4 ) - sum*t4
569 c( j, 5 ) = c( j, 5 ) - sum*t5
570 c( j, 6 ) = c( j, 6 ) - sum*t6
571 c( j, 7 ) = c( j, 7 ) - sum*t7
595 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
596 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
597 $ v7*c( j, 7 ) + v8*c( j, 8 )
598 c( j, 1 ) = c( j, 1 ) - sum*t1
599 c( j, 2 ) = c( j, 2 ) - sum*t2
600 c( j, 3 ) = c( j, 3 ) - sum*t3
601 c( j, 4 ) = c( j, 4 ) - sum*t4
602 c( j, 5 ) = c( j, 5 ) - sum*t5
603 c( j, 6 ) = c( j, 6 ) - sum*t6
604 c( j, 7 ) = c( j, 7 ) - sum*t7
605 c( j, 8 ) = c( j, 8 ) - sum*t8
631 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
632 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
633 $ v7*c( j, 7 ) + v8*c( j, 8 ) + v9*c( j, 9 )
634 c( j, 1 ) = c( j, 1 ) - sum*t1
635 c( j, 2 ) = c( j, 2 ) - sum*t2
636 c( j, 3 ) = c( j, 3 ) - sum*t3
637 c( j, 4 ) = c( j, 4 ) - sum*t4
638 c( j, 5 ) = c( j, 5 ) - sum*t5
639 c( j, 6 ) = c( j, 6 ) - sum*t6
640 c( j, 7 ) = c( j, 7 ) - sum*t7
641 c( j, 8 ) = c( j, 8 ) - sum*t8
642 c( j, 9 ) = c( j, 9 ) - sum*t9
670 sum = v1*c( j, 1 ) + v2*c( j, 2 ) + v3*c( j, 3 ) +
671 $ v4*c( j, 4 ) + v5*c( j, 5 ) + v6*c( j, 6 ) +
672 $ v7*c( j, 7 ) + v8*c( j, 8 ) + v9*c( j, 9 ) +
674 c( j, 1 ) = c( j, 1 ) - sum*t1
675 c( j, 2 ) = c( j, 2 ) - sum*t2
676 c( j, 3 ) = c( j, 3 ) - sum*t3
677 c( j, 4 ) = c( j, 4 ) - sum*t4
678 c( j, 5 ) = c( j, 5 ) - sum*t5
679 c( j, 6 ) = c( j, 6 ) - sum*t6
680 c( j, 7 ) = c( j, 7 ) - sum*t7
681 c( j, 8 ) = c( j, 8 ) - sum*t8
682 c( j, 9 ) = c( j, 9 ) - sum*t9
683 c( j, 10 ) = c( j, 10 ) - sum*t10