gsl_blas.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. /* blas/gsl_blas.h
  2. *
  3. * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 3 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. */
  19. /*
  20. * Author: G. Jungman
  21. */
  22. #ifndef __GSL_BLAS_H__
  23. #define __GSL_BLAS_H__
  24. #include "gsl_vector.h"
  25. #include "gsl_matrix.h"
  26. #include "gsl_blas_types.h"
  27. #undef __BEGIN_DECLS
  28. #undef __END_DECLS
  29. #ifdef __cplusplus
  30. # define __BEGIN_DECLS extern "C" {
  31. # define __END_DECLS }
  32. #else
  33. # define __BEGIN_DECLS /* empty */
  34. # define __END_DECLS /* empty */
  35. #endif
  36. __BEGIN_DECLS
  37. /* ========================================================================
  38. * Level 1
  39. * ========================================================================
  40. */
  41. int gsl_blas_sdsdot (float alpha,
  42. const gsl_vector_float * X,
  43. const gsl_vector_float * Y,
  44. float * result
  45. );
  46. int gsl_blas_dsdot (const gsl_vector_float * X,
  47. const gsl_vector_float * Y,
  48. double * result
  49. );
  50. int gsl_blas_sdot (const gsl_vector_float * X,
  51. const gsl_vector_float * Y,
  52. float * result
  53. );
  54. int gsl_blas_ddot (const gsl_vector * X,
  55. const gsl_vector * Y,
  56. double * result
  57. );
  58. int gsl_blas_cdotu (const gsl_vector_complex_float * X,
  59. const gsl_vector_complex_float * Y,
  60. gsl_complex_float * dotu);
  61. int gsl_blas_cdotc (const gsl_vector_complex_float * X,
  62. const gsl_vector_complex_float * Y,
  63. gsl_complex_float * dotc);
  64. int gsl_blas_zdotu (const gsl_vector_complex * X,
  65. const gsl_vector_complex * Y,
  66. gsl_complex * dotu);
  67. int gsl_blas_zdotc (const gsl_vector_complex * X,
  68. const gsl_vector_complex * Y,
  69. gsl_complex * dotc);
  70. float gsl_blas_snrm2 (const gsl_vector_float * X);
  71. float gsl_blas_sasum (const gsl_vector_float * X);
  72. double gsl_blas_dnrm2 (const gsl_vector * X);
  73. double gsl_blas_dasum (const gsl_vector * X);
  74. float gsl_blas_scnrm2 (const gsl_vector_complex_float * X);
  75. float gsl_blas_scasum (const gsl_vector_complex_float * X);
  76. double gsl_blas_dznrm2 (const gsl_vector_complex * X);
  77. double gsl_blas_dzasum (const gsl_vector_complex * X);
  78. CBLAS_INDEX_t gsl_blas_isamax (const gsl_vector_float * X);
  79. CBLAS_INDEX_t gsl_blas_idamax (const gsl_vector * X);
  80. CBLAS_INDEX_t gsl_blas_icamax (const gsl_vector_complex_float * X);
  81. CBLAS_INDEX_t gsl_blas_izamax (const gsl_vector_complex * X);
  82. int gsl_blas_sswap (gsl_vector_float * X,
  83. gsl_vector_float * Y);
  84. int gsl_blas_scopy (const gsl_vector_float * X,
  85. gsl_vector_float * Y);
  86. int gsl_blas_saxpy (float alpha,
  87. const gsl_vector_float * X,
  88. gsl_vector_float * Y);
  89. int gsl_blas_dswap (gsl_vector * X,
  90. gsl_vector * Y);
  91. int gsl_blas_dcopy (const gsl_vector * X,
  92. gsl_vector * Y);
  93. int gsl_blas_daxpy (double alpha,
  94. const gsl_vector * X,
  95. gsl_vector * Y);
  96. int gsl_blas_cswap (gsl_vector_complex_float * X,
  97. gsl_vector_complex_float * Y);
  98. int gsl_blas_ccopy (const gsl_vector_complex_float * X,
  99. gsl_vector_complex_float * Y);
  100. int gsl_blas_caxpy (const gsl_complex_float alpha,
  101. const gsl_vector_complex_float * X,
  102. gsl_vector_complex_float * Y);
  103. int gsl_blas_zswap (gsl_vector_complex * X,
  104. gsl_vector_complex * Y);
  105. int gsl_blas_zcopy (const gsl_vector_complex * X,
  106. gsl_vector_complex * Y);
  107. int gsl_blas_zaxpy (const gsl_complex alpha,
  108. const gsl_vector_complex * X,
  109. gsl_vector_complex * Y);
  110. int gsl_blas_srotg (float a[], float b[], float c[], float s[]);
  111. int gsl_blas_srotmg (float d1[], float d2[], float b1[], float b2, float P[]);
  112. int gsl_blas_srot (gsl_vector_float * X,
  113. gsl_vector_float * Y,
  114. float c, float s);
  115. int gsl_blas_srotm (gsl_vector_float * X,
  116. gsl_vector_float * Y,
  117. const float P[]);
  118. int gsl_blas_drotg (double a[], double b[], double c[], double s[]);
  119. int gsl_blas_drotmg (double d1[], double d2[], double b1[],
  120. double b2, double P[]);
  121. int gsl_blas_drot (gsl_vector * X,
  122. gsl_vector * Y,
  123. const double c, const double s);
  124. int gsl_blas_drotm (gsl_vector * X,
  125. gsl_vector * Y,
  126. const double P[]);
  127. void gsl_blas_sscal (float alpha, gsl_vector_float * X);
  128. void gsl_blas_dscal (double alpha, gsl_vector * X);
  129. void gsl_blas_cscal (const gsl_complex_float alpha, gsl_vector_complex_float * X);
  130. void gsl_blas_zscal (const gsl_complex alpha, gsl_vector_complex * X);
  131. void gsl_blas_csscal (float alpha, gsl_vector_complex_float * X);
  132. void gsl_blas_zdscal (double alpha, gsl_vector_complex * X);
  133. /* ===========================================================================
  134. * Level 2
  135. * ===========================================================================
  136. */
  137. /*
  138. * Routines with standard 4 prefixes (S, D, C, Z)
  139. */
  140. int gsl_blas_sgemv (CBLAS_TRANSPOSE_t TransA,
  141. float alpha,
  142. const gsl_matrix_float * A,
  143. const gsl_vector_float * X,
  144. float beta,
  145. gsl_vector_float * Y);
  146. int gsl_blas_strmv (CBLAS_UPLO_t Uplo,
  147. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  148. const gsl_matrix_float * A,
  149. gsl_vector_float * X);
  150. int gsl_blas_strsv (CBLAS_UPLO_t Uplo,
  151. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  152. const gsl_matrix_float * A,
  153. gsl_vector_float * X);
  154. int gsl_blas_dgemv (CBLAS_TRANSPOSE_t TransA,
  155. double alpha,
  156. const gsl_matrix * A,
  157. const gsl_vector * X,
  158. double beta,
  159. gsl_vector * Y);
  160. int gsl_blas_dtrmv (CBLAS_UPLO_t Uplo,
  161. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  162. const gsl_matrix * A,
  163. gsl_vector * X);
  164. int gsl_blas_dtrsv (CBLAS_UPLO_t Uplo,
  165. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  166. const gsl_matrix * A,
  167. gsl_vector * X);
  168. int gsl_blas_cgemv (CBLAS_TRANSPOSE_t TransA,
  169. const gsl_complex_float alpha,
  170. const gsl_matrix_complex_float * A,
  171. const gsl_vector_complex_float * X,
  172. const gsl_complex_float beta,
  173. gsl_vector_complex_float * Y);
  174. int gsl_blas_ctrmv (CBLAS_UPLO_t Uplo,
  175. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  176. const gsl_matrix_complex_float * A,
  177. gsl_vector_complex_float * X);
  178. int gsl_blas_ctrsv (CBLAS_UPLO_t Uplo,
  179. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  180. const gsl_matrix_complex_float * A,
  181. gsl_vector_complex_float * X);
  182. int gsl_blas_zgemv (CBLAS_TRANSPOSE_t TransA,
  183. const gsl_complex alpha,
  184. const gsl_matrix_complex * A,
  185. const gsl_vector_complex * X,
  186. const gsl_complex beta,
  187. gsl_vector_complex * Y);
  188. int gsl_blas_ztrmv (CBLAS_UPLO_t Uplo,
  189. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  190. const gsl_matrix_complex * A,
  191. gsl_vector_complex * X);
  192. int gsl_blas_ztrsv (CBLAS_UPLO_t Uplo,
  193. CBLAS_TRANSPOSE_t TransA, CBLAS_DIAG_t Diag,
  194. const gsl_matrix_complex * A,
  195. gsl_vector_complex *X);
  196. /*
  197. * Routines with S and D prefixes only
  198. */
  199. int gsl_blas_ssymv (CBLAS_UPLO_t Uplo,
  200. float alpha,
  201. const gsl_matrix_float * A,
  202. const gsl_vector_float * X,
  203. float beta,
  204. gsl_vector_float * Y);
  205. int gsl_blas_sger (float alpha,
  206. const gsl_vector_float * X,
  207. const gsl_vector_float * Y,
  208. gsl_matrix_float * A);
  209. int gsl_blas_ssyr (CBLAS_UPLO_t Uplo,
  210. float alpha,
  211. const gsl_vector_float * X,
  212. gsl_matrix_float * A);
  213. int gsl_blas_ssyr2 (CBLAS_UPLO_t Uplo,
  214. float alpha,
  215. const gsl_vector_float * X,
  216. const gsl_vector_float * Y,
  217. gsl_matrix_float * A);
  218. int gsl_blas_dsymv (CBLAS_UPLO_t Uplo,
  219. double alpha,
  220. const gsl_matrix * A,
  221. const gsl_vector * X,
  222. double beta,
  223. gsl_vector * Y);
  224. int gsl_blas_dger (double alpha,
  225. const gsl_vector * X,
  226. const gsl_vector * Y,
  227. gsl_matrix * A);
  228. int gsl_blas_dsyr (CBLAS_UPLO_t Uplo,
  229. double alpha,
  230. const gsl_vector * X,
  231. gsl_matrix * A);
  232. int gsl_blas_dsyr2 (CBLAS_UPLO_t Uplo,
  233. double alpha,
  234. const gsl_vector * X,
  235. const gsl_vector * Y,
  236. gsl_matrix * A);
  237. /*
  238. * Routines with C and Z prefixes only
  239. */
  240. int gsl_blas_chemv (CBLAS_UPLO_t Uplo,
  241. const gsl_complex_float alpha,
  242. const gsl_matrix_complex_float * A,
  243. const gsl_vector_complex_float * X,
  244. const gsl_complex_float beta,
  245. gsl_vector_complex_float * Y);
  246. int gsl_blas_cgeru (const gsl_complex_float alpha,
  247. const gsl_vector_complex_float * X,
  248. const gsl_vector_complex_float * Y,
  249. gsl_matrix_complex_float * A);
  250. int gsl_blas_cgerc (const gsl_complex_float alpha,
  251. const gsl_vector_complex_float * X,
  252. const gsl_vector_complex_float * Y,
  253. gsl_matrix_complex_float * A);
  254. int gsl_blas_cher (CBLAS_UPLO_t Uplo,
  255. float alpha,
  256. const gsl_vector_complex_float * X,
  257. gsl_matrix_complex_float * A);
  258. int gsl_blas_cher2 (CBLAS_UPLO_t Uplo,
  259. const gsl_complex_float alpha,
  260. const gsl_vector_complex_float * X,
  261. const gsl_vector_complex_float * Y,
  262. gsl_matrix_complex_float * A);
  263. int gsl_blas_zhemv (CBLAS_UPLO_t Uplo,
  264. const gsl_complex alpha,
  265. const gsl_matrix_complex * A,
  266. const gsl_vector_complex * X,
  267. const gsl_complex beta,
  268. gsl_vector_complex * Y);
  269. int gsl_blas_zgeru (const gsl_complex alpha,
  270. const gsl_vector_complex * X,
  271. const gsl_vector_complex * Y,
  272. gsl_matrix_complex * A);
  273. int gsl_blas_zgerc (const gsl_complex alpha,
  274. const gsl_vector_complex * X,
  275. const gsl_vector_complex * Y,
  276. gsl_matrix_complex * A);
  277. int gsl_blas_zher (CBLAS_UPLO_t Uplo,
  278. double alpha,
  279. const gsl_vector_complex * X,
  280. gsl_matrix_complex * A);
  281. int gsl_blas_zher2 (CBLAS_UPLO_t Uplo,
  282. const gsl_complex alpha,
  283. const gsl_vector_complex * X,
  284. const gsl_vector_complex * Y,
  285. gsl_matrix_complex * A);
  286. /*
  287. * ===========================================================================
  288. * Prototypes for level 3 BLAS
  289. * ===========================================================================
  290. */
  291. /*
  292. * Routines with standard 4 prefixes (S, D, C, Z)
  293. */
  294. int gsl_blas_sgemm (CBLAS_TRANSPOSE_t TransA,
  295. CBLAS_TRANSPOSE_t TransB,
  296. float alpha,
  297. const gsl_matrix_float * A,
  298. const gsl_matrix_float * B,
  299. float beta,
  300. gsl_matrix_float * C);
  301. int gsl_blas_ssymm (CBLAS_SIDE_t Side, CBLAS_UPLO_t Uplo,
  302. float alpha,
  303. const gsl_matrix_float * A,
  304. const gsl_matrix_float * B,
  305. float beta,
  306. gsl_matrix_float * C);
  307. int gsl_blas_ssyrk (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans,
  308. float alpha,
  309. const gsl_matrix_float * A,
  310. float beta,
  311. gsl_matrix_float * C);
  312. int gsl_blas_ssyr2k (CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t Trans,
  313. float alpha,
  314. const gsl_matrix_float * A,
  315. const gsl_matrix_float * B,
  316. float beta,
  317. gsl_matrix_float * C);
  318. int gsl_blas_strmm (CBLAS_SIDE_t Side,
  319. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  320. CBLAS_DIAG_t Diag,
  321. float alpha,
  322. const gsl_matrix_float * A,
  323. gsl_matrix_float * B);
  324. int gsl_blas_strsm (CBLAS_SIDE_t Side,
  325. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  326. CBLAS_DIAG_t Diag,
  327. float alpha,
  328. const gsl_matrix_float * A,
  329. gsl_matrix_float * B);
  330. int gsl_blas_dgemm (CBLAS_TRANSPOSE_t TransA,
  331. CBLAS_TRANSPOSE_t TransB,
  332. double alpha,
  333. const gsl_matrix * A,
  334. const gsl_matrix * B,
  335. double beta,
  336. gsl_matrix * C);
  337. int gsl_blas_dsymm (CBLAS_SIDE_t Side,
  338. CBLAS_UPLO_t Uplo,
  339. double alpha,
  340. const gsl_matrix * A,
  341. const gsl_matrix * B,
  342. double beta,
  343. gsl_matrix * C);
  344. int gsl_blas_dsyrk (CBLAS_UPLO_t Uplo,
  345. CBLAS_TRANSPOSE_t Trans,
  346. double alpha,
  347. const gsl_matrix * A,
  348. double beta,
  349. gsl_matrix * C);
  350. int gsl_blas_dsyr2k (CBLAS_UPLO_t Uplo,
  351. CBLAS_TRANSPOSE_t Trans,
  352. double alpha,
  353. const gsl_matrix * A,
  354. const gsl_matrix * B,
  355. double beta,
  356. gsl_matrix * C);
  357. int gsl_blas_dtrmm (CBLAS_SIDE_t Side,
  358. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  359. CBLAS_DIAG_t Diag,
  360. double alpha,
  361. const gsl_matrix * A,
  362. gsl_matrix * B);
  363. int gsl_blas_dtrsm (CBLAS_SIDE_t Side,
  364. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  365. CBLAS_DIAG_t Diag,
  366. double alpha,
  367. const gsl_matrix * A,
  368. gsl_matrix * B);
  369. int gsl_blas_cgemm (CBLAS_TRANSPOSE_t TransA,
  370. CBLAS_TRANSPOSE_t TransB,
  371. const gsl_complex_float alpha,
  372. const gsl_matrix_complex_float * A,
  373. const gsl_matrix_complex_float * B,
  374. const gsl_complex_float beta,
  375. gsl_matrix_complex_float * C);
  376. int gsl_blas_csymm (CBLAS_SIDE_t Side,
  377. CBLAS_UPLO_t Uplo,
  378. const gsl_complex_float alpha,
  379. const gsl_matrix_complex_float * A,
  380. const gsl_matrix_complex_float * B,
  381. const gsl_complex_float beta,
  382. gsl_matrix_complex_float * C);
  383. int gsl_blas_csyrk (CBLAS_UPLO_t Uplo,
  384. CBLAS_TRANSPOSE_t Trans,
  385. const gsl_complex_float alpha,
  386. const gsl_matrix_complex_float * A,
  387. const gsl_complex_float beta,
  388. gsl_matrix_complex_float * C);
  389. int gsl_blas_csyr2k (CBLAS_UPLO_t Uplo,
  390. CBLAS_TRANSPOSE_t Trans,
  391. const gsl_complex_float alpha,
  392. const gsl_matrix_complex_float * A,
  393. const gsl_matrix_complex_float * B,
  394. const gsl_complex_float beta,
  395. gsl_matrix_complex_float * C);
  396. int gsl_blas_ctrmm (CBLAS_SIDE_t Side,
  397. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  398. CBLAS_DIAG_t Diag,
  399. const gsl_complex_float alpha,
  400. const gsl_matrix_complex_float * A,
  401. gsl_matrix_complex_float * B);
  402. int gsl_blas_ctrsm (CBLAS_SIDE_t Side,
  403. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  404. CBLAS_DIAG_t Diag,
  405. const gsl_complex_float alpha,
  406. const gsl_matrix_complex_float * A,
  407. gsl_matrix_complex_float * B);
  408. int gsl_blas_zgemm (CBLAS_TRANSPOSE_t TransA,
  409. CBLAS_TRANSPOSE_t TransB,
  410. const gsl_complex alpha,
  411. const gsl_matrix_complex * A,
  412. const gsl_matrix_complex * B,
  413. const gsl_complex beta,
  414. gsl_matrix_complex * C);
  415. int gsl_blas_zsymm (CBLAS_SIDE_t Side,
  416. CBLAS_UPLO_t Uplo,
  417. const gsl_complex alpha,
  418. const gsl_matrix_complex * A,
  419. const gsl_matrix_complex * B,
  420. const gsl_complex beta,
  421. gsl_matrix_complex * C);
  422. int gsl_blas_zsyrk (CBLAS_UPLO_t Uplo,
  423. CBLAS_TRANSPOSE_t Trans,
  424. const gsl_complex alpha,
  425. const gsl_matrix_complex * A,
  426. const gsl_complex beta,
  427. gsl_matrix_complex * C);
  428. int gsl_blas_zsyr2k (CBLAS_UPLO_t Uplo,
  429. CBLAS_TRANSPOSE_t Trans,
  430. const gsl_complex alpha,
  431. const gsl_matrix_complex * A,
  432. const gsl_matrix_complex * B,
  433. const gsl_complex beta,
  434. gsl_matrix_complex *C);
  435. int gsl_blas_ztrmm (CBLAS_SIDE_t Side,
  436. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  437. CBLAS_DIAG_t Diag,
  438. const gsl_complex alpha,
  439. const gsl_matrix_complex * A,
  440. gsl_matrix_complex * B);
  441. int gsl_blas_ztrsm (CBLAS_SIDE_t Side,
  442. CBLAS_UPLO_t Uplo, CBLAS_TRANSPOSE_t TransA,
  443. CBLAS_DIAG_t Diag,
  444. const gsl_complex alpha,
  445. const gsl_matrix_complex * A,
  446. gsl_matrix_complex * B);
  447. /*
  448. * Routines with prefixes C and Z only
  449. */
  450. int gsl_blas_chemm (CBLAS_SIDE_t Side,
  451. CBLAS_UPLO_t Uplo,
  452. const gsl_complex_float alpha,
  453. const gsl_matrix_complex_float * A,
  454. const gsl_matrix_complex_float * B,
  455. const gsl_complex_float beta,
  456. gsl_matrix_complex_float * C);
  457. int gsl_blas_cherk (CBLAS_UPLO_t Uplo,
  458. CBLAS_TRANSPOSE_t Trans,
  459. float alpha,
  460. const gsl_matrix_complex_float * A,
  461. float beta,
  462. gsl_matrix_complex_float * C);
  463. int gsl_blas_cher2k (CBLAS_UPLO_t Uplo,
  464. CBLAS_TRANSPOSE_t Trans,
  465. const gsl_complex_float alpha,
  466. const gsl_matrix_complex_float * A,
  467. const gsl_matrix_complex_float * B,
  468. float beta,
  469. gsl_matrix_complex_float * C);
  470. int gsl_blas_zhemm (CBLAS_SIDE_t Side,
  471. CBLAS_UPLO_t Uplo,
  472. const gsl_complex alpha,
  473. const gsl_matrix_complex * A,
  474. const gsl_matrix_complex * B,
  475. const gsl_complex beta,
  476. gsl_matrix_complex * C);
  477. int gsl_blas_zherk (CBLAS_UPLO_t Uplo,
  478. CBLAS_TRANSPOSE_t Trans,
  479. double alpha,
  480. const gsl_matrix_complex * A,
  481. double beta,
  482. gsl_matrix_complex * C);
  483. int gsl_blas_zher2k (CBLAS_UPLO_t Uplo,
  484. CBLAS_TRANSPOSE_t Trans,
  485. const gsl_complex alpha,
  486. const gsl_matrix_complex * A,
  487. const gsl_matrix_complex * B,
  488. double beta,
  489. gsl_matrix_complex * C);
  490. __END_DECLS
  491. #endif /* __GSL_BLAS_H__ */