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
);
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

in
transr

= ‘N’: The Normal Form of RFP A is stored; = ‘C’: The Conjugate-transpose Form of RFP A is stored.

in
uplo

= ‘U’: Upper triangular part of C is stored; = ‘L’: Lower triangular part of C is stored.

in
trans

= ‘N’: C := alpha*A*A**H + beta*C. = ‘C’: C := alpha*A**H*A + beta*C.

in
n

The order of the matrix C. n >= 0.

in
k

With TRANS = ‘N’, K specifies the number of columns of A. With TRANS = ‘C’, K specifies the number of rows of A. k >= 0.

in
alpha

The scalar alpha.

in
A

Single complex array, dimension (lda, ka) where ka is k when TRANS = ‘N’, and is n otherwise.

in
lda

The leading dimension of A.

in
beta

The scalar beta.

inout
C

Single 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.

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
);
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

in
transr

= ‘N’: The Normal Form of RFP A is stored; = ‘C’: The Conjugate-transpose Form of RFP A is stored.

in
uplo

= ‘U’: Upper triangular part of C is stored; = ‘L’: Lower triangular part of C is stored.

in
trans

= ‘N’: C := alpha*A*A**H + beta*C. = ‘C’: C := alpha*A**H*A + beta*C.

in
n

The order of the matrix C. n >= 0.

in
k

With TRANS = ‘N’, K specifies the number of columns of A. With TRANS = ‘C’, K specifies the number of rows of A. k >= 0.

in
alpha

The scalar alpha.

in
A

Double complex array, dimension (lda, ka) where ka is k when TRANS = ‘N’, and is n otherwise.

in
lda

The leading dimension of A.

in
beta

The scalar beta.

inout
C

Double 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.