1CLARFX(1) LAPACK auxiliary routine (version 3.2) CLARFX(1)
2
3
4
6 CLARFX - applies a complex elementary reflector H to a complex m by n
7 matrix C, from either the left or the right
8
10 SUBROUTINE CLARFX( SIDE, M, N, V, TAU, C, LDC, WORK )
11
12 IMPLICIT NONE
13
14 CHARACTER SIDE
15
16 INTEGER LDC, M, N
17
18 COMPLEX TAU
19
20 COMPLEX C( LDC, * ), V( * ), WORK( * )
21
23 CLARFX applies a complex elementary reflector H to a complex m by n
24 matrix C, from either the left or the right. H is represented in the
25 form
26 H = I - tau * v * v'
27 where tau is a complex scalar and v is a complex vector.
28 If tau = 0, then H is taken to be the unit matrix
29 This version uses inline code if H has order < 11.
30
32 SIDE (input) CHARACTER*1
33 = 'L': form H * C
34 = 'R': form C * H
35
36 M (input) INTEGER
37 The number of rows of the matrix C.
38
39 N (input) INTEGER
40 The number of columns of the matrix C.
41
42 V (input) COMPLEX array, dimension (M) if SIDE = 'L'
43 or (N) if SIDE = 'R' The vector v in the representation of H.
44
45 TAU (input) COMPLEX
46 The value tau in the representation of H.
47
48 C (input/output) COMPLEX array, dimension (LDC,N)
49 On entry, the m by n matrix C. On exit, C is overwritten by
50 the matrix H * C if SIDE = 'L', or C * H if SIDE = 'R'.
51
52 LDC (input) INTEGER
53 The leading dimension of the array C. LDA >= max(1,M).
54
55 WORK (workspace) COMPLEX array, dimension (N) if SIDE = 'L'
56 or (M) if SIDE = 'R' WORK is not referenced if H has order <
57 11.
58
59
60
61 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 CLARFX(1)