hfrk#
Functions
-
void chfrk(const char *transr, const char *uplo, const char *trans, const INT n, const INT k, const f32 alpha, const c64 *restrict A, const INT lda, const f32 beta, c64 *restrict C)#
CHFRK performs one of the Hermitian rank-k operations.
C := alpha*A*A**H + beta*C,
or
C := alpha*A**H*A + beta*C,
where alpha and beta are real scalars, C is an n-by-n Hermitian matrix and A is an n-by-k matrix in the first case and a k-by-n matrix in the second case.
Parameters
intransr= ‘N’: The Normal Form of RFP A is stored; = ‘C’: The Conjugate-transpose Form of RFP A is stored.
inuplo= ‘U’: Upper triangular part of C is stored; = ‘L’: Lower triangular part of C is stored.
intrans= ‘N’: C := alpha*A*A**H + beta*C. = ‘C’: C := alpha*A**H*A + beta*C.
innThe order of the matrix C. n >= 0.
inkWith TRANS = ‘N’, K specifies the number of columns of A. With TRANS = ‘C’, K specifies the number of rows of A. k >= 0.
inalphaThe scalar alpha.
inASingle complex array, dimension (lda, ka) where ka is k when TRANS = ‘N’, and is n otherwise.
inldaThe leading dimension of A.
inbetaThe scalar beta.
inoutCSingle complex 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.
void chfrk(
const char* transr,
const char* uplo,
const char* trans,
const INT n,
const INT k,
const f32 alpha,
const c64* restrict A,
const INT lda,
const f32 beta,
c64* restrict C
);
Functions
-
void zhfrk(const char *transr, const char *uplo, const char *trans, const INT n, const INT k, const f64 alpha, const c128 *restrict A, const INT lda, const f64 beta, c128 *restrict C)#
ZHFRK performs one of the Hermitian rank-k operations.
C := alpha*A*A**H + beta*C,
or
C := alpha*A**H*A + beta*C,
where alpha and beta are real scalars, C is an n-by-n Hermitian matrix and A is an n-by-k matrix in the first case and a k-by-n matrix in the second case.
Parameters
intransr= ‘N’: The Normal Form of RFP A is stored; = ‘C’: The Conjugate-transpose Form of RFP A is stored.
inuplo= ‘U’: Upper triangular part of C is stored; = ‘L’: Lower triangular part of C is stored.
intrans= ‘N’: C := alpha*A*A**H + beta*C. = ‘C’: C := alpha*A**H*A + beta*C.
innThe order of the matrix C. n >= 0.
inkWith TRANS = ‘N’, K specifies the number of columns of A. With TRANS = ‘C’, K specifies the number of rows of A. k >= 0.
inalphaThe scalar alpha.
inADouble complex array, dimension (lda, ka) where ka is k when TRANS = ‘N’, and is n otherwise.
inldaThe leading dimension of A.
inbetaThe scalar beta.
inoutCDouble complex 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.
void zhfrk(
const char* transr,
const char* uplo,
const char* trans,
const INT n,
const INT k,
const f64 alpha,
const c128* restrict A,
const INT lda,
const f64 beta,
c128* restrict C
);