#include "cblas.h"
#include "cblas_f77.h"
Go to the source code of this file.
|
| void | cblas_csyr2k (const CBLAS_LAYOUT layout, const CBLAS_UPLO Uplo, const CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K, const void *alpha, const void *A, const CBLAS_INT lda, const void *B, const CBLAS_INT ldb, const void *beta, void *C, const CBLAS_INT ldc) |
◆ F77_K
◆ F77_lda
◆ F77_ldb
◆ F77_ldc
◆ F77_N
◆ F77_TR
◆ F77_UL
◆ cblas_csyr2k()
| void cblas_csyr2k |
( |
const CBLAS_LAYOUT | layout, |
|
|
const CBLAS_UPLO | Uplo, |
|
|
const CBLAS_TRANSPOSE | Trans, |
|
|
const CBLAS_INT | N, |
|
|
const CBLAS_INT | K, |
|
|
const void * | alpha, |
|
|
const void * | A, |
|
|
const CBLAS_INT | lda, |
|
|
const void * | B, |
|
|
const CBLAS_INT | ldb, |
|
|
const void * | beta, |
|
|
void * | C, |
|
|
const CBLAS_INT | ldc ) |
Definition at line 12 of file cblas_csyr2k.c.
17{
18 char UL, TR;
19#ifdef F77_CHAR
21#else
22 #define F77_TR &TR
23 #define F77_UL &UL
24#endif
25
26#ifdef F77_INT
29#else
30 #define F77_N N
31 #define F77_K K
32 #define F77_lda lda
33 #define F77_ldb ldb
34 #define F77_ldc ldc
35#endif
36
41
43 {
44
47 else
48 {
49 cblas_xerbla(2,
"cblas_csyr2k",
"Illegal Uplo setting, %d\n", Uplo);
52 return;
53 }
54
58 else
59 {
60 cblas_xerbla(3,
"cblas_csyr2k",
"Illegal Trans setting, %d\n", Trans);
63 return;
64 }
65
66
67 #ifdef F77_CHAR
70 #endif
71
75 {
79 else
80 {
81 cblas_xerbla(3,
"cblas_csyr2k",
"Illegal Uplo setting, %d\n", Uplo);
84 return;
85 }
89 else
90 {
91 cblas_xerbla(3,
"cblas_csyr2k",
"Illegal Trans setting, %d\n", Trans);
94 return;
95 }
96
97 #ifdef F77_CHAR
100 #endif
101
102 F77_csyr2k(
F77_UL,
F77_TR, &
F77_N, &
F77_K,
alpha, A, &
F77_lda, B, &
F77_ldb, beta, C, &
F77_ldc);
103 }
104 else cblas_xerbla(1,
"cblas_csyr2k",
"Illegal layout setting, %d\n", layout);
107 return;
108}
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)