13{
14 char TA;
15 char UL;
16 char DI;
17#ifdef F77_CHAR
19#else
20 #define F77_TA &TA
21 #define F77_UL &UL
22 #define F77_DI &DI
23#endif
24#ifdef F77_INT
26#else
27 #define F77_N N
28 #define F77_incX incX
29#endif
31 double *st=0, *x=(double*)X;
35
38 {
41 else
42 {
43 cblas_xerbla(2,
"cblas_ztpsv",
"Illegal Uplo setting, %d\n", Uplo);
46 return;
47 }
51 else
52 {
53 cblas_xerbla(3,
"cblas_ztpsv",
"Illegal TransA setting, %d\n", TransA);
56 return;
57 }
60 else
61 {
62 cblas_xerbla(4,
"cblas_ztpsv",
"Illegal Diag setting, %d\n", Diag);
65 return;
66 }
67 #ifdef F77_CHAR
71 #endif
73 }
75 {
79 else
80 {
81 cblas_xerbla(2,
"cblas_ztpsv",
"Illegal Uplo setting, %d\n", Uplo);
84 return;
85 }
86
90 {
91 TA = 'N';
93 {
94 if ( incX > 0 )
95 tincX = incX;
96 else
97 tincX = -incX;
98
100
101 x++;
102
103 st=x+n;
104
105 i = tincX << 1;
106 do
107 {
108 *x = -(*x);
109 x+=i;
110 }
111 while (x != st);
112 x -= n;
113 }
114 }
115 else
116 {
117 cblas_xerbla(3,
"cblas_ztpsv",
"Illegal TransA setting, %d\n", TransA);
120 return;
121 }
122
125 else
126 {
127 cblas_xerbla(4,
"cblas_ztpsv",
"Illegal Diag setting, %d\n", Diag);
130 return;
131 }
132 #ifdef F77_CHAR
136 #endif
137
139
141 {
143 {
144 do
145 {
146 *x = -(*x);
147 x += i;
148 }
149 while (x != st);
150 }
151 }
152 }
153 else cblas_xerbla(1,
"cblas_ztpsv",
"Illegal layout setting, %d\n", layout);
156 return;
157}
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)