zhfrk (l)  Linux Man Pages
zhfrk: 3 BLAS like routine for C in RFP Format
NAME
ZHFRK  3 BLAS like routine for C in RFP FormatSYNOPSIS
 SUBROUTINE ZHFRK(
 TRANSR, UPLO, TRANS, N, K, ALPHA, A, LDA, BETA,
 + C )
 DOUBLE PRECISION ALPHA, BETA
 INTEGER K, LDA, N
 CHARACTER TRANS, TRANSR, UPLO
 COMPLEX*16 A( LDA, * ), C( * )
PURPOSE
Level 3 BLAS like routine for C in RFP Format. ZHFRK performs one of the Hermitian rankk operationsC :=
or
C :=
where alpha and beta are real scalars, C is an nbyn Hermitian matrix and A is an nbyk matrix in the first case and a kbyn matrix in the second case.
ARGUMENTS
 TRANSR (input) CHARACTER.

= aqNaq: The Normal Form of RFP A is stored;
= aqCaq: The Conjugatetranspose Form of RFP A is stored.  UPLO  (input) CHARACTER.
 On entry, UPLO specifies whether the upper or lower triangular part of the array C is to be referenced as follows: UPLO = aqUaq or aquaq Only the upper triangular part of C is to be referenced. UPLO = aqLaq or aqlaq Only the lower triangular part of C is to be referenced. Unchanged on exit.
 TRANS  (input) CHARACTER.
 On entry, TRANS specifies the operation to be performed as follows: TRANS = aqNaq or aqnaq C := alpha*A*conjg( Aaq ) + beta*C. TRANS = aqCaq or aqcaq C := alpha*conjg( Aaq )*A + beta*C. Unchanged on exit.
 N  (input) INTEGER.
 On entry, N specifies the order of the matrix C. N must be at least zero. Unchanged on exit.
 K  (input) INTEGER.
 On entry with TRANS = aqNaq or aqnaq, K specifies the number of columns of the matrix A, and on entry with TRANS = aqCaq or aqcaq, K specifies the number of rows of the matrix A. K must be at least zero. Unchanged on exit.
 ALPHA  (input) DOUBLE PRECISION.
 On entry, ALPHA specifies the scalar alpha. Unchanged on exit.
 A  (input) COMPLEX*16 array of DIMENSION ( LDA, ka ), where KA
 is K when TRANS = aqNaq or aqnaq, and is N otherwise. Before entry with TRANS = aqNaq or aqnaq, the leading NbyK part of the array A must contain the matrix A, otherwise the leading KbyN part of the array A must contain the matrix A. Unchanged on exit.
 LDA  (input) INTEGER.
 On entry, LDA specifies the first dimension of A as declared in the calling (sub) program. When TRANS = aqNaq or aqnaq then LDA must be at least max( 1, n ), otherwise LDA must be at least max( 1, k ). Unchanged on exit.
 BETA  (input) DOUBLE PRECISION.
 On entry, BETA specifies the scalar beta. Unchanged on exit.
 C  (input/output) 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. Note that the imaginary parts of the diagonal elements need not be set, they are assumed to be zero, and on exit they are set to zero.
ARGUMENTS