1ZLAHEF(1)                LAPACK routine (version 3.2)                ZLAHEF(1)
2
3
4

NAME

6       ZLAHEF - computes a partial factorization of a complex Hermitian matrix
7       A using the Bunch-Kaufman diagonal pivoting method
8

SYNOPSIS

10       SUBROUTINE ZLAHEF( UPLO, N, NB, KB, A, LDA, IPIV, W, LDW, INFO )
11
12           CHARACTER      UPLO
13
14           INTEGER        INFO, KB, LDA, LDW, N, NB
15
16           INTEGER        IPIV( * )
17
18           COMPLEX*16     A( LDA, * ), W( LDW, * )
19

PURPOSE

21       ZLAHEF computes a partial factorization of a complex Hermitian matrix A
22       using  the  Bunch-Kaufman diagonal pivoting method. The partial factor‐
23       ization has the form:
24       A  =  ( I  U12 ) ( A11  0  ) (  I    0   )  if UPLO = 'U', or:
25             ( 0  U22 ) (  0   D  ) ( U12' U22' )
26       A  =  ( L11  0 ) (  D   0  ) ( L11' L21' )  if UPLO = 'L'
27             ( L21  I ) (  0  A22 ) (  0    I   )
28       where the order of D is at most NB. The actual order is returned in the
29       argument  KB,  and is either NB or NB-1, or N if N <= NB.  Note that U'
30       denotes the conjugate transpose of U.
31       ZLAHEF is an auxiliary routine called by ZHETRF. It uses  blocked  code
32       (calling  Level  3 BLAS) to update the submatrix A11 (if UPLO = 'U') or
33       A22 (if UPLO = 'L').
34

ARGUMENTS

36       UPLO    (input) CHARACTER*1
37               Specifies whether the upper or lower  triangular  part  of  the
38               Hermitian matrix A is stored:
39               = 'U':  Upper triangular
40               = 'L':  Lower triangular
41
42       N       (input) INTEGER
43               The order of the matrix A.  N >= 0.
44
45       NB      (input) INTEGER
46               The  maximum  number  of columns of the matrix A that should be
47               factored.  NB should be at least 2 to allow  for  2-by-2  pivot
48               blocks.
49
50       KB      (output) INTEGER
51               The  number of columns of A that were actually factored.  KB is
52               either NB-1 or NB, or N if N <= NB.
53
54       A       (input/output) COMPLEX*16 array, dimension (LDA,N)
55               On entry, the Hermitian matrix A.  If UPLO = 'U',  the  leading
56               n-by-n upper triangular part of A contains the upper triangular
57               part of the matrix A, and the strictly lower triangular part of
58               A  is  not referenced.  If UPLO = 'L', the leading n-by-n lower
59               triangular part of A contains the lower triangular part of  the
60               matrix  A,  and  the strictly upper triangular part of A is not
61               referenced.  On exit, A contains details of the partial factor‐
62               ization.
63
64       LDA     (input) INTEGER
65               The leading dimension of the array A.  LDA >= max(1,N).
66
67       IPIV    (output) INTEGER array, dimension (N)
68               Details  of  the interchanges and the block structure of D.  If
69               UPLO = 'U', only the last KB elements of IPIV are set; if  UPLO
70               =  'L',  only  the  first KB elements are set.  If IPIV(k) > 0,
71               then rows and columns  k  and  IPIV(k)  were  interchanged  and
72               D(k,k) is a 1-by-1 diagonal block.  If UPLO = 'U' and IPIV(k) =
73               IPIV(k-1) < 0, then rows and  columns  k-1  and  -IPIV(k)  were
74               interchanged and D(k-1:k,k-1:k) is a 2-by-2 diagonal block.  If
75               UPLO = 'L' and IPIV(k) = IPIV(k+1) < 0, then rows  and  columns
76               k+1  and  -IPIV(k)  were  interchanged  and D(k:k+1,k:k+1) is a
77               2-by-2 diagonal block.
78
79       W       (workspace) COMPLEX*16 array, dimension (LDW,NB)
80
81       LDW     (input) INTEGER
82               The leading dimension of the array W.  LDW >= max(1,N).
83
84       INFO    (output) INTEGER
85               = 0: successful exit
86               > 0: if INFO = k, D(k,k) is exactly  zero.   The  factorization
87               has  been completed, but the block diagonal matrix D is exactly
88               singular.
89
90
91
92 LAPACK routine (version 3.2)    November 2008                       ZLAHEF(1)
Impressum