You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

675 lines
34 KiB

  1. #ifndef BLAS_H
  2. #define BLAS_H
  3. #define BLASFUNC(FUNC) FUNC##_
  4. #ifdef __WIN64__
  5. typedef long long BLASLONG;
  6. typedef unsigned long long BLASULONG;
  7. #else
  8. typedef long BLASLONG;
  9. typedef unsigned long BLASULONG;
  10. #endif
  11. int BLASFUNC(xerbla)(const char *, int *info, int);
  12. float BLASFUNC(sdot) (int *, float *, int *, float *, int *);
  13. float BLASFUNC(sdsdot)(int *, float *, float *, int *, float *, int *);
  14. double BLASFUNC(dsdot) (int *, float *, int *, float *, int *);
  15. double BLASFUNC(ddot) (int *, double *, int *, double *, int *);
  16. double BLASFUNC(qdot) (int *, double *, int *, double *, int *);
  17. #if defined(F_INTERFACE_GFORT) && !defined(__64BIT__)
  18. int BLASFUNC(cdotu) (int *, float * , int *, float *, int *);
  19. int BLASFUNC(cdotc) (int *, float *, int *, float *, int *);
  20. void BLASFUNC(zdotu) (double *, int *, double *, int *, double *, int *);
  21. void BLASFUNC(zdotc) (double *, int *, double *, int *, double *, int *);
  22. void BLASFUNC(xdotu) (double *, int *, double *, int *, double *, int *);
  23. void BLASFUNC(xdotc) (double *, int *, double *, int *, double *, int *);
  24. #elif defined(F_INTERFACE_F2C) || \
  25. defined(F_INTERFACE_PGI) || \
  26. defined(F_INTERFACE_GFORT) || \
  27. (defined(F_INTERFACE_PATHSCALE) && defined(__64BIT__))
  28. void BLASFUNC(cdotu) (float *, int *, float * , int *, float *, int *);
  29. void BLASFUNC(cdotc) (float *, int *, float *, int *, float *, int *);
  30. void BLASFUNC(zdotu) (double *, int *, double *, int *, double *, int *);
  31. void BLASFUNC(zdotc) (double *, int *, double *, int *, double *, int *);
  32. void BLASFUNC(xdotu) (double *, int *, double *, int *, double *, int *);
  33. void BLASFUNC(xdotc) (double *, int *, double *, int *, double *, int *);
  34. #else
  35. std::complex<float> BLASFUNC(cdotu) (int *, float *, int *, float *, int *);
  36. std::complex<float> BLASFUNC(cdotc) (int *, float *, int *, float *, int *);
  37. std::complex<double> BLASFUNC(zdotu) (int *, double *, int *, double *, int *);
  38. std::complex<double> BLASFUNC(zdotc) (int *, double *, int *, double *, int *);
  39. double BLASFUNC(xdotu) (int *, double *, int *, double *, int *);
  40. double BLASFUNC(xdotc) (int *, double *, int *, double *, int *);
  41. #endif
  42. int BLASFUNC(cdotuw) (int *, float *, int *, float *, int *, float*);
  43. int BLASFUNC(cdotcw) (int *, float *, int *, float *, int *, float*);
  44. int BLASFUNC(zdotuw) (int *, double *, int *, double *, int *, double*);
  45. int BLASFUNC(zdotcw) (int *, double *, int *, double *, int *, double*);
  46. int BLASFUNC(saxpy) (int *, float *, float *, int *, float *, int *);
  47. int BLASFUNC(daxpy) (int *, double *, double *, int *, double *, int *);
  48. int BLASFUNC(qaxpy) (int *, double *, double *, int *, double *, int *);
  49. int BLASFUNC(caxpy) (int *, float *, float *, int *, float *, int *);
  50. int BLASFUNC(zaxpy) (int *, double *, double *, int *, double *, int *);
  51. int BLASFUNC(xaxpy) (int *, double *, double *, int *, double *, int *);
  52. int BLASFUNC(caxpyc)(int *, float *, float *, int *, float *, int *);
  53. int BLASFUNC(zaxpyc)(int *, double *, double *, int *, double *, int *);
  54. int BLASFUNC(xaxpyc)(int *, double *, double *, int *, double *, int *);
  55. int BLASFUNC(scopy) (int *, float *, int *, float *, int *);
  56. int BLASFUNC(dcopy) (int *, double *, int *, double *, int *);
  57. int BLASFUNC(qcopy) (int *, double *, int *, double *, int *);
  58. int BLASFUNC(ccopy) (int *, float *, int *, float *, int *);
  59. int BLASFUNC(zcopy) (int *, double *, int *, double *, int *);
  60. int BLASFUNC(xcopy) (int *, double *, int *, double *, int *);
  61. int BLASFUNC(sswap) (int *, float *, int *, float *, int *);
  62. int BLASFUNC(dswap) (int *, double *, int *, double *, int *);
  63. int BLASFUNC(qswap) (int *, double *, int *, double *, int *);
  64. int BLASFUNC(cswap) (int *, float *, int *, float *, int *);
  65. int BLASFUNC(zswap) (int *, double *, int *, double *, int *);
  66. int BLASFUNC(xswap) (int *, double *, int *, double *, int *);
  67. float BLASFUNC(sasum) (int *, float *, int *);
  68. float BLASFUNC(scasum)(int *, float *, int *);
  69. double BLASFUNC(dasum) (int *, double *, int *);
  70. double BLASFUNC(qasum) (int *, double *, int *);
  71. double BLASFUNC(dzasum)(int *, double *, int *);
  72. double BLASFUNC(qxasum)(int *, double *, int *);
  73. int BLASFUNC(isamax)(int *, float *, int *);
  74. int BLASFUNC(idamax)(int *, double *, int *);
  75. int BLASFUNC(iqamax)(int *, double *, int *);
  76. int BLASFUNC(icamax)(int *, float *, int *);
  77. int BLASFUNC(izamax)(int *, double *, int *);
  78. int BLASFUNC(ixamax)(int *, double *, int *);
  79. int BLASFUNC(ismax) (int *, float *, int *);
  80. int BLASFUNC(idmax) (int *, double *, int *);
  81. int BLASFUNC(iqmax) (int *, double *, int *);
  82. int BLASFUNC(icmax) (int *, float *, int *);
  83. int BLASFUNC(izmax) (int *, double *, int *);
  84. int BLASFUNC(ixmax) (int *, double *, int *);
  85. int BLASFUNC(isamin)(int *, float *, int *);
  86. int BLASFUNC(idamin)(int *, double *, int *);
  87. int BLASFUNC(iqamin)(int *, double *, int *);
  88. int BLASFUNC(icamin)(int *, float *, int *);
  89. int BLASFUNC(izamin)(int *, double *, int *);
  90. int BLASFUNC(ixamin)(int *, double *, int *);
  91. int BLASFUNC(ismin)(int *, float *, int *);
  92. int BLASFUNC(idmin)(int *, double *, int *);
  93. int BLASFUNC(iqmin)(int *, double *, int *);
  94. int BLASFUNC(icmin)(int *, float *, int *);
  95. int BLASFUNC(izmin)(int *, double *, int *);
  96. int BLASFUNC(ixmin)(int *, double *, int *);
  97. float BLASFUNC(samax) (int *, float *, int *);
  98. double BLASFUNC(damax) (int *, double *, int *);
  99. double BLASFUNC(qamax) (int *, double *, int *);
  100. float BLASFUNC(scamax)(int *, float *, int *);
  101. double BLASFUNC(dzamax)(int *, double *, int *);
  102. double BLASFUNC(qxamax)(int *, double *, int *);
  103. float BLASFUNC(samin) (int *, float *, int *);
  104. double BLASFUNC(damin) (int *, double *, int *);
  105. double BLASFUNC(qamin) (int *, double *, int *);
  106. float BLASFUNC(scamin)(int *, float *, int *);
  107. double BLASFUNC(dzamin)(int *, double *, int *);
  108. double BLASFUNC(qxamin)(int *, double *, int *);
  109. float BLASFUNC(smax) (int *, float *, int *);
  110. double BLASFUNC(dmax) (int *, double *, int *);
  111. double BLASFUNC(qmax) (int *, double *, int *);
  112. float BLASFUNC(scmax) (int *, float *, int *);
  113. double BLASFUNC(dzmax) (int *, double *, int *);
  114. double BLASFUNC(qxmax) (int *, double *, int *);
  115. float BLASFUNC(smin) (int *, float *, int *);
  116. double BLASFUNC(dmin) (int *, double *, int *);
  117. double BLASFUNC(qmin) (int *, double *, int *);
  118. float BLASFUNC(scmin) (int *, float *, int *);
  119. double BLASFUNC(dzmin) (int *, double *, int *);
  120. double BLASFUNC(qxmin) (int *, double *, int *);
  121. int BLASFUNC(sscal) (int *, float *, float *, int *);
  122. int BLASFUNC(dscal) (int *, double *, double *, int *);
  123. int BLASFUNC(qscal) (int *, double *, double *, int *);
  124. int BLASFUNC(cscal) (int *, float *, float *, int *);
  125. int BLASFUNC(zscal) (int *, double *, double *, int *);
  126. int BLASFUNC(xscal) (int *, double *, double *, int *);
  127. int BLASFUNC(csscal)(int *, float *, float *, int *);
  128. int BLASFUNC(zdscal)(int *, double *, double *, int *);
  129. int BLASFUNC(xqscal)(int *, double *, double *, int *);
  130. float BLASFUNC(snrm2) (int *, float *, int *);
  131. float BLASFUNC(scnrm2)(int *, float *, int *);
  132. double BLASFUNC(dnrm2) (int *, double *, int *);
  133. double BLASFUNC(qnrm2) (int *, double *, int *);
  134. double BLASFUNC(dznrm2)(int *, double *, int *);
  135. double BLASFUNC(qxnrm2)(int *, double *, int *);
  136. int BLASFUNC(srot) (int *, float *, int *, float *, int *, float *, float *);
  137. int BLASFUNC(drot) (int *, double *, int *, double *, int *, double *, double *);
  138. int BLASFUNC(qrot) (int *, double *, int *, double *, int *, double *, double *);
  139. int BLASFUNC(csrot) (int *, float *, int *, float *, int *, float *, float *);
  140. int BLASFUNC(zdrot) (int *, double *, int *, double *, int *, double *, double *);
  141. int BLASFUNC(xqrot) (int *, double *, int *, double *, int *, double *, double *);
  142. int BLASFUNC(srotg) (float *, float *, float *, float *);
  143. int BLASFUNC(drotg) (double *, double *, double *, double *);
  144. int BLASFUNC(qrotg) (double *, double *, double *, double *);
  145. int BLASFUNC(crotg) (float *, float *, float *, float *);
  146. int BLASFUNC(zrotg) (double *, double *, double *, double *);
  147. int BLASFUNC(xrotg) (double *, double *, double *, double *);
  148. int BLASFUNC(srotmg)(float *, float *, float *, float *, float *);
  149. int BLASFUNC(drotmg)(double *, double *, double *, double *, double *);
  150. int BLASFUNC(srotm) (int *, float *, int *, float *, int *, float *);
  151. int BLASFUNC(drotm) (int *, double *, int *, double *, int *, double *);
  152. int BLASFUNC(qrotm) (int *, double *, int *, double *, int *, double *);
  153. /* Level 2 routines */
  154. int BLASFUNC(sger)(int *, int *, float *, float *, int *,
  155. float *, int *, float *, int *);
  156. int BLASFUNC(dger)(int *, int *, double *, double *, int *,
  157. double *, int *, double *, int *);
  158. int BLASFUNC(qger)(int *, int *, double *, double *, int *,
  159. double *, int *, double *, int *);
  160. int BLASFUNC(cgeru)(int *, int *, float *, float *, int *,
  161. float *, int *, float *, int *);
  162. int BLASFUNC(cgerc)(int *, int *, float *, float *, int *,
  163. float *, int *, float *, int *);
  164. int BLASFUNC(zgeru)(int *, int *, double *, double *, int *,
  165. double *, int *, double *, int *);
  166. int BLASFUNC(zgerc)(int *, int *, double *, double *, int *,
  167. double *, int *, double *, int *);
  168. int BLASFUNC(xgeru)(int *, int *, double *, double *, int *,
  169. double *, int *, double *, int *);
  170. int BLASFUNC(xgerc)(int *, int *, double *, double *, int *,
  171. double *, int *, double *, int *);
  172. int BLASFUNC(sgemv)(char *, int *, int *, float *, float *, int *,
  173. float *, int *, float *, float *, int *);
  174. int BLASFUNC(dgemv)(char *, int *, int *, double *, double *, int *,
  175. double *, int *, double *, double *, int *);
  176. int BLASFUNC(qgemv)(char *, int *, int *, double *, double *, int *,
  177. double *, int *, double *, double *, int *);
  178. int BLASFUNC(cgemv)(char *, int *, int *, float *, float *, int *,
  179. float *, int *, float *, float *, int *);
  180. int BLASFUNC(zgemv)(char *, int *, int *, double *, double *, int *,
  181. double *, int *, double *, double *, int *);
  182. int BLASFUNC(xgemv)(char *, int *, int *, double *, double *, int *,
  183. double *, int *, double *, double *, int *);
  184. int BLASFUNC(strsv) (char *, char *, char *, int *, float *, int *,
  185. float *, int *);
  186. int BLASFUNC(dtrsv) (char *, char *, char *, int *, double *, int *,
  187. double *, int *);
  188. int BLASFUNC(qtrsv) (char *, char *, char *, int *, double *, int *,
  189. double *, int *);
  190. int BLASFUNC(ctrsv) (char *, char *, char *, int *, float *, int *,
  191. float *, int *);
  192. int BLASFUNC(ztrsv) (char *, char *, char *, int *, double *, int *,
  193. double *, int *);
  194. int BLASFUNC(xtrsv) (char *, char *, char *, int *, double *, int *,
  195. double *, int *);
  196. int BLASFUNC(stpsv) (char *, char *, char *, int *, float *, float *, int *);
  197. int BLASFUNC(dtpsv) (char *, char *, char *, int *, double *, double *, int *);
  198. int BLASFUNC(qtpsv) (char *, char *, char *, int *, double *, double *, int *);
  199. int BLASFUNC(ctpsv) (char *, char *, char *, int *, float *, float *, int *);
  200. int BLASFUNC(ztpsv) (char *, char *, char *, int *, double *, double *, int *);
  201. int BLASFUNC(xtpsv) (char *, char *, char *, int *, double *, double *, int *);
  202. int BLASFUNC(strmv) (char *, char *, char *, int *, float *, int *,
  203. float *, int *);
  204. int BLASFUNC(dtrmv) (char *, char *, char *, int *, double *, int *,
  205. double *, int *);
  206. int BLASFUNC(qtrmv) (char *, char *, char *, int *, double *, int *,
  207. double *, int *);
  208. int BLASFUNC(ctrmv) (char *, char *, char *, int *, float *, int *,
  209. float *, int *);
  210. int BLASFUNC(ztrmv) (char *, char *, char *, int *, double *, int *,
  211. double *, int *);
  212. int BLASFUNC(xtrmv) (char *, char *, char *, int *, double *, int *,
  213. double *, int *);
  214. int BLASFUNC(stpmv) (char *, char *, char *, int *, float *, float *, int *);
  215. int BLASFUNC(dtpmv) (char *, char *, char *, int *, double *, double *, int *);
  216. int BLASFUNC(qtpmv) (char *, char *, char *, int *, double *, double *, int *);
  217. int BLASFUNC(ctpmv) (char *, char *, char *, int *, float *, float *, int *);
  218. int BLASFUNC(ztpmv) (char *, char *, char *, int *, double *, double *, int *);
  219. int BLASFUNC(xtpmv) (char *, char *, char *, int *, double *, double *, int *);
  220. int BLASFUNC(stbmv) (char *, char *, char *, int *, int *, float *, int *, float *, int *);
  221. int BLASFUNC(dtbmv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  222. int BLASFUNC(qtbmv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  223. int BLASFUNC(ctbmv) (char *, char *, char *, int *, int *, float *, int *, float *, int *);
  224. int BLASFUNC(ztbmv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  225. int BLASFUNC(xtbmv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  226. int BLASFUNC(stbsv) (char *, char *, char *, int *, int *, float *, int *, float *, int *);
  227. int BLASFUNC(dtbsv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  228. int BLASFUNC(qtbsv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  229. int BLASFUNC(ctbsv) (char *, char *, char *, int *, int *, float *, int *, float *, int *);
  230. int BLASFUNC(ztbsv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  231. int BLASFUNC(xtbsv) (char *, char *, char *, int *, int *, double *, int *, double *, int *);
  232. int BLASFUNC(ssymv) (char *, int *, float *, float *, int *,
  233. float *, int *, float *, float *, int *);
  234. int BLASFUNC(dsymv) (char *, int *, double *, double *, int *,
  235. double *, int *, double *, double *, int *);
  236. int BLASFUNC(qsymv) (char *, int *, double *, double *, int *,
  237. double *, int *, double *, double *, int *);
  238. int BLASFUNC(csymv) (char *, int *, float *, float *, int *,
  239. float *, int *, float *, float *, int *);
  240. int BLASFUNC(zsymv) (char *, int *, double *, double *, int *,
  241. double *, int *, double *, double *, int *);
  242. int BLASFUNC(xsymv) (char *, int *, double *, double *, int *,
  243. double *, int *, double *, double *, int *);
  244. int BLASFUNC(sspmv) (char *, int *, float *, float *,
  245. float *, int *, float *, float *, int *);
  246. int BLASFUNC(dspmv) (char *, int *, double *, double *,
  247. double *, int *, double *, double *, int *);
  248. int BLASFUNC(qspmv) (char *, int *, double *, double *,
  249. double *, int *, double *, double *, int *);
  250. int BLASFUNC(cspmv) (char *, int *, float *, float *,
  251. float *, int *, float *, float *, int *);
  252. int BLASFUNC(zspmv) (char *, int *, double *, double *,
  253. double *, int *, double *, double *, int *);
  254. int BLASFUNC(xspmv) (char *, int *, double *, double *,
  255. double *, int *, double *, double *, int *);
  256. int BLASFUNC(ssyr) (char *, int *, float *, float *, int *,
  257. float *, int *);
  258. int BLASFUNC(dsyr) (char *, int *, double *, double *, int *,
  259. double *, int *);
  260. int BLASFUNC(qsyr) (char *, int *, double *, double *, int *,
  261. double *, int *);
  262. int BLASFUNC(csyr) (char *, int *, float *, float *, int *,
  263. float *, int *);
  264. int BLASFUNC(zsyr) (char *, int *, double *, double *, int *,
  265. double *, int *);
  266. int BLASFUNC(xsyr) (char *, int *, double *, double *, int *,
  267. double *, int *);
  268. int BLASFUNC(ssyr2) (char *, int *, float *,
  269. float *, int *, float *, int *, float *, int *);
  270. int BLASFUNC(dsyr2) (char *, int *, double *,
  271. double *, int *, double *, int *, double *, int *);
  272. int BLASFUNC(qsyr2) (char *, int *, double *,
  273. double *, int *, double *, int *, double *, int *);
  274. int BLASFUNC(csyr2) (char *, int *, float *,
  275. float *, int *, float *, int *, float *, int *);
  276. int BLASFUNC(zsyr2) (char *, int *, double *,
  277. double *, int *, double *, int *, double *, int *);
  278. int BLASFUNC(xsyr2) (char *, int *, double *,
  279. double *, int *, double *, int *, double *, int *);
  280. int BLASFUNC(sspr) (char *, int *, float *, float *, int *,
  281. float *);
  282. int BLASFUNC(dspr) (char *, int *, double *, double *, int *,
  283. double *);
  284. int BLASFUNC(qspr) (char *, int *, double *, double *, int *,
  285. double *);
  286. int BLASFUNC(cspr) (char *, int *, float *, float *, int *,
  287. float *);
  288. int BLASFUNC(zspr) (char *, int *, double *, double *, int *,
  289. double *);
  290. int BLASFUNC(xspr) (char *, int *, double *, double *, int *,
  291. double *);
  292. int BLASFUNC(sspr2) (char *, int *, float *,
  293. float *, int *, float *, int *, float *);
  294. int BLASFUNC(dspr2) (char *, int *, double *,
  295. double *, int *, double *, int *, double *);
  296. int BLASFUNC(qspr2) (char *, int *, double *,
  297. double *, int *, double *, int *, double *);
  298. int BLASFUNC(cspr2) (char *, int *, float *,
  299. float *, int *, float *, int *, float *);
  300. int BLASFUNC(zspr2) (char *, int *, double *,
  301. double *, int *, double *, int *, double *);
  302. int BLASFUNC(xspr2) (char *, int *, double *,
  303. double *, int *, double *, int *, double *);
  304. int BLASFUNC(cher) (char *, int *, float *, float *, int *,
  305. float *, int *);
  306. int BLASFUNC(zher) (char *, int *, double *, double *, int *,
  307. double *, int *);
  308. int BLASFUNC(xher) (char *, int *, double *, double *, int *,
  309. double *, int *);
  310. int BLASFUNC(chpr) (char *, int *, float *, float *, int *, float *);
  311. int BLASFUNC(zhpr) (char *, int *, double *, double *, int *, double *);
  312. int BLASFUNC(xhpr) (char *, int *, double *, double *, int *, double *);
  313. int BLASFUNC(cher2) (char *, int *, float *,
  314. float *, int *, float *, int *, float *, int *);
  315. int BLASFUNC(zher2) (char *, int *, double *,
  316. double *, int *, double *, int *, double *, int *);
  317. int BLASFUNC(xher2) (char *, int *, double *,
  318. double *, int *, double *, int *, double *, int *);
  319. int BLASFUNC(chpr2) (char *, int *, float *,
  320. float *, int *, float *, int *, float *);
  321. int BLASFUNC(zhpr2) (char *, int *, double *,
  322. double *, int *, double *, int *, double *);
  323. int BLASFUNC(xhpr2) (char *, int *, double *,
  324. double *, int *, double *, int *, double *);
  325. int BLASFUNC(chemv) (char *, int *, float *, float *, int *,
  326. float *, int *, float *, float *, int *);
  327. int BLASFUNC(zhemv) (char *, int *, double *, double *, int *,
  328. double *, int *, double *, double *, int *);
  329. int BLASFUNC(xhemv) (char *, int *, double *, double *, int *,
  330. double *, int *, double *, double *, int *);
  331. int BLASFUNC(chpmv) (char *, int *, float *, float *,
  332. float *, int *, float *, float *, int *);
  333. int BLASFUNC(zhpmv) (char *, int *, double *, double *,
  334. double *, int *, double *, double *, int *);
  335. int BLASFUNC(xhpmv) (char *, int *, double *, double *,
  336. double *, int *, double *, double *, int *);
  337. int BLASFUNC(snorm)(char *, int *, int *, float *, int *);
  338. int BLASFUNC(dnorm)(char *, int *, int *, double *, int *);
  339. int BLASFUNC(cnorm)(char *, int *, int *, float *, int *);
  340. int BLASFUNC(znorm)(char *, int *, int *, double *, int *);
  341. int BLASFUNC(sgbmv)(char *, int *, int *, int *, int *, float *, float *, int *,
  342. float *, int *, float *, float *, int *);
  343. int BLASFUNC(dgbmv)(char *, int *, int *, int *, int *, double *, double *, int *,
  344. double *, int *, double *, double *, int *);
  345. int BLASFUNC(qgbmv)(char *, int *, int *, int *, int *, double *, double *, int *,
  346. double *, int *, double *, double *, int *);
  347. int BLASFUNC(cgbmv)(char *, int *, int *, int *, int *, float *, float *, int *,
  348. float *, int *, float *, float *, int *);
  349. int BLASFUNC(zgbmv)(char *, int *, int *, int *, int *, double *, double *, int *,
  350. double *, int *, double *, double *, int *);
  351. int BLASFUNC(xgbmv)(char *, int *, int *, int *, int *, double *, double *, int *,
  352. double *, int *, double *, double *, int *);
  353. int BLASFUNC(ssbmv)(char *, int *, int *, float *, float *, int *,
  354. float *, int *, float *, float *, int *);
  355. int BLASFUNC(dsbmv)(char *, int *, int *, double *, double *, int *,
  356. double *, int *, double *, double *, int *);
  357. int BLASFUNC(qsbmv)(char *, int *, int *, double *, double *, int *,
  358. double *, int *, double *, double *, int *);
  359. int BLASFUNC(csbmv)(char *, int *, int *, float *, float *, int *,
  360. float *, int *, float *, float *, int *);
  361. int BLASFUNC(zsbmv)(char *, int *, int *, double *, double *, int *,
  362. double *, int *, double *, double *, int *);
  363. int BLASFUNC(xsbmv)(char *, int *, int *, double *, double *, int *,
  364. double *, int *, double *, double *, int *);
  365. int BLASFUNC(chbmv)(char *, int *, int *, float *, float *, int *,
  366. float *, int *, float *, float *, int *);
  367. int BLASFUNC(zhbmv)(char *, int *, int *, double *, double *, int *,
  368. double *, int *, double *, double *, int *);
  369. int BLASFUNC(xhbmv)(char *, int *, int *, double *, double *, int *,
  370. double *, int *, double *, double *, int *);
  371. /* Level 3 routines */
  372. int BLASFUNC(sgemm)(char *, char *, int *, int *, int *, float *,
  373. float *, int *, float *, int *, float *, float *, int *);
  374. int BLASFUNC(dgemm)(char *, char *, int *, int *, int *, double *,
  375. double *, int *, double *, int *, double *, double *, int *);
  376. int BLASFUNC(qgemm)(char *, char *, int *, int *, int *, double *,
  377. double *, int *, double *, int *, double *, double *, int *);
  378. int BLASFUNC(cgemm)(char *, char *, int *, int *, int *, float *,
  379. float *, int *, float *, int *, float *, float *, int *);
  380. int BLASFUNC(zgemm)(char *, char *, int *, int *, int *, double *,
  381. double *, int *, double *, int *, double *, double *, int *);
  382. int BLASFUNC(xgemm)(char *, char *, int *, int *, int *, double *,
  383. double *, int *, double *, int *, double *, double *, int *);
  384. int BLASFUNC(cgemm3m)(char *, char *, int *, int *, int *, float *,
  385. float *, int *, float *, int *, float *, float *, int *);
  386. int BLASFUNC(zgemm3m)(char *, char *, int *, int *, int *, double *,
  387. double *, int *, double *, int *, double *, double *, int *);
  388. int BLASFUNC(xgemm3m)(char *, char *, int *, int *, int *, double *,
  389. double *, int *, double *, int *, double *, double *, int *);
  390. int BLASFUNC(sge2mm)(char *, char *, char *, int *, int *,
  391. float *, float *, int *, float *, int *,
  392. float *, float *, int *);
  393. int BLASFUNC(dge2mm)(char *, char *, char *, int *, int *,
  394. double *, double *, int *, double *, int *,
  395. double *, double *, int *);
  396. int BLASFUNC(cge2mm)(char *, char *, char *, int *, int *,
  397. float *, float *, int *, float *, int *,
  398. float *, float *, int *);
  399. int BLASFUNC(zge2mm)(char *, char *, char *, int *, int *,
  400. double *, double *, int *, double *, int *,
  401. double *, double *, int *);
  402. int BLASFUNC(strsm)(char *, char *, char *, char *, int *, int *,
  403. float *, float *, int *, float *, int *);
  404. int BLASFUNC(dtrsm)(char *, char *, char *, char *, int *, int *,
  405. double *, double *, int *, double *, int *);
  406. int BLASFUNC(qtrsm)(char *, char *, char *, char *, int *, int *,
  407. double *, double *, int *, double *, int *);
  408. int BLASFUNC(ctrsm)(char *, char *, char *, char *, int *, int *,
  409. float *, float *, int *, float *, int *);
  410. int BLASFUNC(ztrsm)(char *, char *, char *, char *, int *, int *,
  411. double *, double *, int *, double *, int *);
  412. int BLASFUNC(xtrsm)(char *, char *, char *, char *, int *, int *,
  413. double *, double *, int *, double *, int *);
  414. int BLASFUNC(strmm)(char *, char *, char *, char *, int *, int *,
  415. float *, float *, int *, float *, int *);
  416. int BLASFUNC(dtrmm)(char *, char *, char *, char *, int *, int *,
  417. double *, double *, int *, double *, int *);
  418. int BLASFUNC(qtrmm)(char *, char *, char *, char *, int *, int *,
  419. double *, double *, int *, double *, int *);
  420. int BLASFUNC(ctrmm)(char *, char *, char *, char *, int *, int *,
  421. float *, float *, int *, float *, int *);
  422. int BLASFUNC(ztrmm)(char *, char *, char *, char *, int *, int *,
  423. double *, double *, int *, double *, int *);
  424. int BLASFUNC(xtrmm)(char *, char *, char *, char *, int *, int *,
  425. double *, double *, int *, double *, int *);
  426. int BLASFUNC(ssymm)(char *, char *, int *, int *, float *, float *, int *,
  427. float *, int *, float *, float *, int *);
  428. int BLASFUNC(dsymm)(char *, char *, int *, int *, double *, double *, int *,
  429. double *, int *, double *, double *, int *);
  430. int BLASFUNC(qsymm)(char *, char *, int *, int *, double *, double *, int *,
  431. double *, int *, double *, double *, int *);
  432. int BLASFUNC(csymm)(char *, char *, int *, int *, float *, float *, int *,
  433. float *, int *, float *, float *, int *);
  434. int BLASFUNC(zsymm)(char *, char *, int *, int *, double *, double *, int *,
  435. double *, int *, double *, double *, int *);
  436. int BLASFUNC(xsymm)(char *, char *, int *, int *, double *, double *, int *,
  437. double *, int *, double *, double *, int *);
  438. int BLASFUNC(csymm3m)(char *, char *, int *, int *, float *, float *, int *,
  439. float *, int *, float *, float *, int *);
  440. int BLASFUNC(zsymm3m)(char *, char *, int *, int *, double *, double *, int *,
  441. double *, int *, double *, double *, int *);
  442. int BLASFUNC(xsymm3m)(char *, char *, int *, int *, double *, double *, int *,
  443. double *, int *, double *, double *, int *);
  444. int BLASFUNC(ssyrk)(char *, char *, int *, int *, float *, float *, int *,
  445. float *, float *, int *);
  446. int BLASFUNC(dsyrk)(char *, char *, int *, int *, double *, double *, int *,
  447. double *, double *, int *);
  448. int BLASFUNC(qsyrk)(char *, char *, int *, int *, double *, double *, int *,
  449. double *, double *, int *);
  450. int BLASFUNC(csyrk)(char *, char *, int *, int *, float *, float *, int *,
  451. float *, float *, int *);
  452. int BLASFUNC(zsyrk)(char *, char *, int *, int *, double *, double *, int *,
  453. double *, double *, int *);
  454. int BLASFUNC(xsyrk)(char *, char *, int *, int *, double *, double *, int *,
  455. double *, double *, int *);
  456. int BLASFUNC(ssyr2k)(char *, char *, int *, int *, float *, float *, int *,
  457. float *, int *, float *, float *, int *);
  458. int BLASFUNC(dsyr2k)(char *, char *, int *, int *, double *, double *, int *,
  459. double*, int *, double *, double *, int *);
  460. int BLASFUNC(qsyr2k)(char *, char *, int *, int *, double *, double *, int *,
  461. double*, int *, double *, double *, int *);
  462. int BLASFUNC(csyr2k)(char *, char *, int *, int *, float *, float *, int *,
  463. float *, int *, float *, float *, int *);
  464. int BLASFUNC(zsyr2k)(char *, char *, int *, int *, double *, double *, int *,
  465. double*, int *, double *, double *, int *);
  466. int BLASFUNC(xsyr2k)(char *, char *, int *, int *, double *, double *, int *,
  467. double*, int *, double *, double *, int *);
  468. int BLASFUNC(chemm)(char *, char *, int *, int *, float *, float *, int *,
  469. float *, int *, float *, float *, int *);
  470. int BLASFUNC(zhemm)(char *, char *, int *, int *, double *, double *, int *,
  471. double *, int *, double *, double *, int *);
  472. int BLASFUNC(xhemm)(char *, char *, int *, int *, double *, double *, int *,
  473. double *, int *, double *, double *, int *);
  474. int BLASFUNC(chemm3m)(char *, char *, int *, int *, float *, float *, int *,
  475. float *, int *, float *, float *, int *);
  476. int BLASFUNC(zhemm3m)(char *, char *, int *, int *, double *, double *, int *,
  477. double *, int *, double *, double *, int *);
  478. int BLASFUNC(xhemm3m)(char *, char *, int *, int *, double *, double *, int *,
  479. double *, int *, double *, double *, int *);
  480. int BLASFUNC(cherk)(char *, char *, int *, int *, float *, float *, int *,
  481. float *, float *, int *);
  482. int BLASFUNC(zherk)(char *, char *, int *, int *, double *, double *, int *,
  483. double *, double *, int *);
  484. int BLASFUNC(xherk)(char *, char *, int *, int *, double *, double *, int *,
  485. double *, double *, int *);
  486. int BLASFUNC(cher2k)(char *, char *, int *, int *, float *, float *, int *,
  487. float *, int *, float *, float *, int *);
  488. int BLASFUNC(zher2k)(char *, char *, int *, int *, double *, double *, int *,
  489. double*, int *, double *, double *, int *);
  490. int BLASFUNC(xher2k)(char *, char *, int *, int *, double *, double *, int *,
  491. double*, int *, double *, double *, int *);
  492. int BLASFUNC(cher2m)(char *, char *, char *, int *, int *, float *, float *, int *,
  493. float *, int *, float *, float *, int *);
  494. int BLASFUNC(zher2m)(char *, char *, char *, int *, int *, double *, double *, int *,
  495. double*, int *, double *, double *, int *);
  496. int BLASFUNC(xher2m)(char *, char *, char *, int *, int *, double *, double *, int *,
  497. double*, int *, double *, double *, int *);
  498. int BLASFUNC(sgemt)(char *, int *, int *, float *, float *, int *,
  499. float *, int *);
  500. int BLASFUNC(dgemt)(char *, int *, int *, double *, double *, int *,
  501. double *, int *);
  502. int BLASFUNC(cgemt)(char *, int *, int *, float *, float *, int *,
  503. float *, int *);
  504. int BLASFUNC(zgemt)(char *, int *, int *, double *, double *, int *,
  505. double *, int *);
  506. int BLASFUNC(sgema)(char *, char *, int *, int *, float *,
  507. float *, int *, float *, float *, int *, float *, int *);
  508. int BLASFUNC(dgema)(char *, char *, int *, int *, double *,
  509. double *, int *, double*, double *, int *, double*, int *);
  510. int BLASFUNC(cgema)(char *, char *, int *, int *, float *,
  511. float *, int *, float *, float *, int *, float *, int *);
  512. int BLASFUNC(zgema)(char *, char *, int *, int *, double *,
  513. double *, int *, double*, double *, int *, double*, int *);
  514. int BLASFUNC(sgems)(char *, char *, int *, int *, float *,
  515. float *, int *, float *, float *, int *, float *, int *);
  516. int BLASFUNC(dgems)(char *, char *, int *, int *, double *,
  517. double *, int *, double*, double *, int *, double*, int *);
  518. int BLASFUNC(cgems)(char *, char *, int *, int *, float *,
  519. float *, int *, float *, float *, int *, float *, int *);
  520. int BLASFUNC(zgems)(char *, char *, int *, int *, double *,
  521. double *, int *, double*, double *, int *, double*, int *);
  522. int BLASFUNC(sgetf2)(int *, int *, float *, int *, int *, int *);
  523. int BLASFUNC(dgetf2)(int *, int *, double *, int *, int *, int *);
  524. int BLASFUNC(qgetf2)(int *, int *, double *, int *, int *, int *);
  525. int BLASFUNC(cgetf2)(int *, int *, float *, int *, int *, int *);
  526. int BLASFUNC(zgetf2)(int *, int *, double *, int *, int *, int *);
  527. int BLASFUNC(xgetf2)(int *, int *, double *, int *, int *, int *);
  528. int BLASFUNC(sgetrf)(int *, int *, float *, int *, int *, int *);
  529. int BLASFUNC(dgetrf)(int *, int *, double *, int *, int *, int *);
  530. int BLASFUNC(qgetrf)(int *, int *, double *, int *, int *, int *);
  531. int BLASFUNC(cgetrf)(int *, int *, float *, int *, int *, int *);
  532. int BLASFUNC(zgetrf)(int *, int *, double *, int *, int *, int *);
  533. int BLASFUNC(xgetrf)(int *, int *, double *, int *, int *, int *);
  534. int BLASFUNC(slaswp)(int *, float *, int *, int *, int *, int *, int *);
  535. int BLASFUNC(dlaswp)(int *, double *, int *, int *, int *, int *, int *);
  536. int BLASFUNC(qlaswp)(int *, double *, int *, int *, int *, int *, int *);
  537. int BLASFUNC(claswp)(int *, float *, int *, int *, int *, int *, int *);
  538. int BLASFUNC(zlaswp)(int *, double *, int *, int *, int *, int *, int *);
  539. int BLASFUNC(xlaswp)(int *, double *, int *, int *, int *, int *, int *);
  540. int BLASFUNC(sgetrs)(char *, int *, int *, float *, int *, int *, float *, int *, int *);
  541. int BLASFUNC(dgetrs)(char *, int *, int *, double *, int *, int *, double *, int *, int *);
  542. int BLASFUNC(qgetrs)(char *, int *, int *, double *, int *, int *, double *, int *, int *);
  543. int BLASFUNC(cgetrs)(char *, int *, int *, float *, int *, int *, float *, int *, int *);
  544. int BLASFUNC(zgetrs)(char *, int *, int *, double *, int *, int *, double *, int *, int *);
  545. int BLASFUNC(xgetrs)(char *, int *, int *, double *, int *, int *, double *, int *, int *);
  546. int BLASFUNC(sgesv)(int *, int *, float *, int *, int *, float *, int *, int *);
  547. int BLASFUNC(dgesv)(int *, int *, double *, int *, int *, double*, int *, int *);
  548. int BLASFUNC(qgesv)(int *, int *, double *, int *, int *, double*, int *, int *);
  549. int BLASFUNC(cgesv)(int *, int *, float *, int *, int *, float *, int *, int *);
  550. int BLASFUNC(zgesv)(int *, int *, double *, int *, int *, double*, int *, int *);
  551. int BLASFUNC(xgesv)(int *, int *, double *, int *, int *, double*, int *, int *);
  552. int BLASFUNC(spotf2)(char *, int *, float *, int *, int *);
  553. int BLASFUNC(dpotf2)(char *, int *, double *, int *, int *);
  554. int BLASFUNC(qpotf2)(char *, int *, double *, int *, int *);
  555. int BLASFUNC(cpotf2)(char *, int *, float *, int *, int *);
  556. int BLASFUNC(zpotf2)(char *, int *, double *, int *, int *);
  557. int BLASFUNC(xpotf2)(char *, int *, double *, int *, int *);
  558. int BLASFUNC(spotrf)(char *, int *, float *, int *, int *);
  559. int BLASFUNC(dpotrf)(char *, int *, double *, int *, int *);
  560. int BLASFUNC(qpotrf)(char *, int *, double *, int *, int *);
  561. int BLASFUNC(cpotrf)(char *, int *, float *, int *, int *);
  562. int BLASFUNC(zpotrf)(char *, int *, double *, int *, int *);
  563. int BLASFUNC(xpotrf)(char *, int *, double *, int *, int *);
  564. int BLASFUNC(slauu2)(char *, int *, float *, int *, int *);
  565. int BLASFUNC(dlauu2)(char *, int *, double *, int *, int *);
  566. int BLASFUNC(qlauu2)(char *, int *, double *, int *, int *);
  567. int BLASFUNC(clauu2)(char *, int *, float *, int *, int *);
  568. int BLASFUNC(zlauu2)(char *, int *, double *, int *, int *);
  569. int BLASFUNC(xlauu2)(char *, int *, double *, int *, int *);
  570. int BLASFUNC(slauum)(char *, int *, float *, int *, int *);
  571. int BLASFUNC(dlauum)(char *, int *, double *, int *, int *);
  572. int BLASFUNC(qlauum)(char *, int *, double *, int *, int *);
  573. int BLASFUNC(clauum)(char *, int *, float *, int *, int *);
  574. int BLASFUNC(zlauum)(char *, int *, double *, int *, int *);
  575. int BLASFUNC(xlauum)(char *, int *, double *, int *, int *);
  576. int BLASFUNC(strti2)(char *, char *, int *, float *, int *, int *);
  577. int BLASFUNC(dtrti2)(char *, char *, int *, double *, int *, int *);
  578. int BLASFUNC(qtrti2)(char *, char *, int *, double *, int *, int *);
  579. int BLASFUNC(ctrti2)(char *, char *, int *, float *, int *, int *);
  580. int BLASFUNC(ztrti2)(char *, char *, int *, double *, int *, int *);
  581. int BLASFUNC(xtrti2)(char *, char *, int *, double *, int *, int *);
  582. int BLASFUNC(strtri)(char *, char *, int *, float *, int *, int *);
  583. int BLASFUNC(dtrtri)(char *, char *, int *, double *, int *, int *);
  584. int BLASFUNC(qtrtri)(char *, char *, int *, double *, int *, int *);
  585. int BLASFUNC(ctrtri)(char *, char *, int *, float *, int *, int *);
  586. int BLASFUNC(ztrtri)(char *, char *, int *, double *, int *, int *);
  587. int BLASFUNC(xtrtri)(char *, char *, int *, double *, int *, int *);
  588. int BLASFUNC(spotri)(char *, int *, float *, int *, int *);
  589. int BLASFUNC(dpotri)(char *, int *, double *, int *, int *);
  590. int BLASFUNC(qpotri)(char *, int *, double *, int *, int *);
  591. int BLASFUNC(cpotri)(char *, int *, float *, int *, int *);
  592. int BLASFUNC(zpotri)(char *, int *, double *, int *, int *);
  593. int BLASFUNC(xpotri)(char *, int *, double *, int *, int *);
  594. #endif