15{
16 char UL;
17#ifdef F77_CHAR
19#else
20 #define F77_UL &UL
21#endif
22
23#ifdef F77_INT
25#else
26 #define F77_N N
27 #define F77_incX incx
28#endif
30 double *x=(double *)X, *xx=(double *)X, *tx, *st;
31
35
38 {
41 else
42 {
46 return;
47 }
48 #ifdef F77_CHAR
50 #endif
51
53
55 {
59 else
60 {
64 return;
65 }
66 #ifdef F77_CHAR
68 #endif
69 if (N > 0)
70 {
71 n = N << 1;
72 x = malloc(n*sizeof(double));
73 tx = x;
74 if( incX > 0 ) {
75 i = incX << 1;
76 tincx = 2;
77 st= x+n;
78 } else {
79 i = incX *(-2);
80 tincx = -2;
81 st = x-2;
82 x +=(n-2);
83 }
84 do
85 {
86 *x = *xx;
87 x[1] = -xx[1];
88 x += tincx ;
89 xx += i;
90 }
91 while (x != st);
92 x=tx;
93 #ifdef F77_INT
95 #else
96 incx = 1;
97 #endif
98 }
99 else x = (double *) X;
100
102
103 } else
104 {
108 return;
109 }
110 if(X!=x)
111 free(x);
114 return;
115}
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)