#include <stdio.h>
#include <stdlib.h>
#include "cblas.h"
#include "cblas_f77.h"
Go to the source code of this file.
◆ F77_incX
◆ F77_incY
◆ F77_lda
◆ F77_M
◆ F77_N
◆ cblas_cgerc()
Definition at line 12 of file cblas_cgerc.c.
15{
16#ifdef F77_INT
18#else
19 #define F77_M M
20 #define F77_N N
21 #define F77_incX incX
22 #define F77_incY incy
23 #define F77_lda lda
24#endif
25
27 float *
y=(
float *)Y, *yy=(
float *)Y, *ty, *st;
28
32
35 {
39 {
42 {
44 y = malloc(
n*
sizeof(
float));
45
47 if( incY > 0 ) {
48 i = incY << 1;
49 tincy = 2;
51 } else {
52 i = incY *(-2);
53 tincy = -2;
56 }
57 do
58 {
62 yy += i;
63 }
66
67 #ifdef F77_INT
69 #else
70 incy = 1;
71 #endif
72 }
74
79
80 }
else cblas_xerbla(1,
"cblas_cgerc",
"Illegal layout setting, %d\n", layout);
83 return;
84}
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)