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)#
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
intransr= ‘N’: The Normal Form of RFP A is stored; = ‘T’: The 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**T + beta*C. = ‘T’: C := alpha*A**T*A + beta*C.
innThe order of the matrix C. n >= 0.
inkWith TRANS = ‘N’, K specifies the number of columns of A. With TRANS = ‘T’, K specifies the number of rows of A. k >= 0.
inalphaThe scalar alpha.
inADouble precision array, dimension (lda, ka) where ka is k when TRANS = ‘N’, and is n otherwise.
inldaThe leading dimension of A.
inbetaThe scalar beta.
inoutCDouble precision array, dimension (n*(n+1)/2). The symmetric matrix C in RFP format.
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
);
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)#
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
intransr= ‘N’: The Normal Form of RFP A is stored; = ‘T’: The 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**T + beta*C. = ‘T’: C := alpha*A**T*A + beta*C.
innThe order of the matrix C. n >= 0.
inkWith TRANS = ‘N’, K specifies the number of columns of A. With TRANS = ‘T’, K specifies the number of rows of A. k >= 0.
inalphaThe scalar alpha.
inADouble precision array, dimension (lda, ka) where ka is k when TRANS = ‘N’, and is n otherwise.
inldaThe leading dimension of A.
inbetaThe scalar beta.
inoutCDouble precision array, dimension (n*(n+1)/2). The symmetric matrix C in RFP format.
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
);