sfrk#

Functions

void ssfrk(
    const char*          transr,
    const char*          uplo,
    const char*          trans,
    const INT            n,
    const INT            k,
    const f32            alpha,
    const f32*  restrict A,
    const INT            lda,
    const f32            beta,
          f32*  restrict C
);
void ssfrk(const char *transr, const char *uplo, const char *trans, const INT n, const INT k, const f32 alpha, const f32 *restrict A, const INT lda, const f32 beta, f32 *restrict C)#

SSFRK performs one of the symmetric rank-k operations.

C := alpha*A*A**T + beta*C,

or

C := alpha*A**T*A + beta*C,

where alpha and beta are real scalars, C is an n-by-n symmetric 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; = ‘T’: The 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**T + beta*C. = ‘T’: C := alpha*A**T*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 = ‘T’, K specifies the number of rows of A. k >= 0.

in
alpha

The scalar alpha.

in
A

Double precision 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 precision array, dimension (n*(n+1)/2). The symmetric matrix C in RFP format.

Functions

void dsfrk(
    const char*          transr,
    const char*          uplo,
    const char*          trans,
    const INT            n,
    const INT            k,
    const f64            alpha,
    const f64*  restrict A,
    const INT            lda,
    const f64            beta,
          f64*  restrict C
);
void dsfrk(const char *transr, const char *uplo, const char *trans, const INT n, const INT k, const f64 alpha, const f64 *restrict A, const INT lda, const f64 beta, f64 *restrict C)#

DSFRK performs one of the symmetric rank-k operations.

C := alpha*A*A**T + beta*C,

or

C := alpha*A**T*A + beta*C,

where alpha and beta are real scalars, C is an n-by-n symmetric 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; = ‘T’: The 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**T + beta*C. = ‘T’: C := alpha*A**T*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 = ‘T’, K specifies the number of rows of A. k >= 0.

in
alpha

The scalar alpha.

in
A

Double precision 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 precision array, dimension (n*(n+1)/2). The symmetric matrix C in RFP format.