zlanhf (l)  Linux Manuals
zlanhf: returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex Hermitian matrix A in RFP format
NAME
ZLANHF  returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex Hermitian matrix A in RFP formatSYNOPSIS
 DOUBLE PRECISION
 FUNCTION ZLANHF( NORM, TRANSR, UPLO, N, A, WORK )
 CHARACTER NORM, TRANSR, UPLO
 INTEGER N
 DOUBLE PRECISION WORK( 0: * )
 COMPLEX*16 A( 0: * )
PURPOSE
ZLANHF returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex Hermitian matrix A in RFP format.DESCRIPTION
ZLANHF returns the valueZLANHF
ARGUMENTS
 NORM (input) CHARACTER
 Specifies the value to be returned in ZLANHF as described above.
 TRANSR (input) CHARACTER

Specifies whether the RFP format of A is normal or
conjugatetransposed format.
= aqNaq: RFP format is Normal
= aqCaq: RFP format is Conjugatetransposed  UPLO (input) CHARACTER
 On entry, UPLO specifies whether the RFP matrix A came from an upper or lower triangular matrix as follows: UPLO = aqUaq or aquaq RFP A came from an upper triangular matrix UPLO = aqLaq or aqlaq RFP A came from a lower triangular matrix
 N (input) INTEGER
 The order of the matrix A. N >= 0. When N = 0, ZLANHF is set to zero.
 A (input) COMPLEX*16 array, dimension ( N*(N+1)/2 );

On entry, the matrix A in RFP Format.
RFP Format is described by TRANSR, UPLO and N as follows:
If TRANSR=aqNaq then RFP A is (0:N,0:K1) when N is even;
K=N/2. RFP A is (0:N1,0:K) when N is odd; K=N/2. If TRANSR = aqCaq then RFP is the Conjugatetranspose of RFP A as defined when TRANSR = aqNaq. The contents of RFP A are defined by UPLO as follows: If UPLO = aqUaq the RFP A contains the ( N*(N+1)/2 ) elements of upper packed A either in normal or conjugatetranspose Format. If UPLO = aqLaq the RFP A contains the ( N*(N+1) /2 ) elements of lower packed A either in normal or conjugatetranspose Format. The LDA of RFP A is (N+1)/2 when TRANSR = aqCaq. When TRANSR is aqNaq the LDA is N+1 when N is even and is N when is odd. See the Note below for more details. Unchanged on exit.  WORK (workspace) DOUBLE PRECISION array, dimension (LWORK),
 where LWORK >= N when NORM = aqIaq or aq1aq or aqOaq; otherwise, WORK is not referenced.
FURTHER DETAILS
We first consider Standard Packed Format when N is even.We give an example where N = 6.
Let TRANSR = aqNaq. RFP holds AP as follows:
For UPLO = aqUaq the upper trapezoid A(0:5,0:2) consists of the last three columns of AP upper. The lower triangle A(4:6,0:2) consists of conjugatetranspose of the first three columns of AP upper. For UPLO = aqLaq the lower trapezoid A(1:6,0:2) consists of the first three columns of AP lower. The upper triangle A(0:2,0:2) consists of conjugatetranspose of the last three columns of AP lower. To denote conjugate we place  above the element. This covers the case N even and TRANSR = aqNaq.
03 04 05
13 14 15