LAPACK  3.10.0
LAPACK: Linear Algebra PACKage
cblas_f77.h
Go to the documentation of this file.
1 /*
2  * cblas_f77.h
3  * Written by Keita Teranishi
4  *
5  * Updated by Jeff Horner
6  * Merged cblas_f77.h and cblas_fortran_header.h
7  */
8 
9 #ifndef CBLAS_F77_H
10 #define CBLAS_F77_H
11 
12 #include <stdarg.h>
13 
14 /* It seems all current Fortran compilers put strlen at end.
15 * Some historical compilers put strlen after the str argument
16 * or make the str argument into a struct. */
17 #define BLAS_FORTRAN_STRLEN_END
18 
19 #ifdef CRAY
20  #include <fortran.h>
21  #define F77_CHAR _fcd
22  #define C2F_CHAR(a) ( _cptofcd( (a), 1 ) )
23  #define C2F_STR(a, i) ( _cptofcd( (a), (i) ) )
24  #define F77_STRLEN(a) (_fcdlen)
25 #endif
26 
27 #ifdef WeirdNEC
28  #define F77_INT long
29 #else
30  #define F77_INT int
31 #endif
32 
33 #ifdef F77_CHAR
34  #define FCHAR F77_CHAR
35 #else
36  #define FCHAR char *
37 #endif
38 
39 #define FINT const F77_INT *
40 #define FINT2 F77_INT *
41 
42 /*
43  * Level 1 BLAS
44  */
45 
46 #define F77_xerbla_base F77_GLOBAL(xerbla,XERBLA)
47 #define F77_srotg_base F77_GLOBAL(srotg,SROTG)
48 #define F77_srotmg_base F77_GLOBAL(srotmg,SROTMG)
49 #define F77_srot_base F77_GLOBAL(srot,SROT)
50 #define F77_srotm_base F77_GLOBAL(srotm,SROTM)
51 #define F77_drotg_base F77_GLOBAL(drotg,DROTG)
52 #define F77_drotmg_base F77_GLOBAL(drotmg,DROTMG)
53 #define F77_drot_base F77_GLOBAL(drot,DROT)
54 #define F77_drotm_base F77_GLOBAL(drotm,DROTM)
55 #define F77_sswap_base F77_GLOBAL(sswap,SSWAP)
56 #define F77_scopy_base F77_GLOBAL(scopy,SCOPY)
57 #define F77_saxpy_base F77_GLOBAL(saxpy,SAXPY)
58 #define F77_isamax_sub_base F77_GLOBAL(isamaxsub,ISAMAXSUB)
59 #define F77_dswap_base F77_GLOBAL(dswap,DSWAP)
60 #define F77_dcopy_base F77_GLOBAL(dcopy,DCOPY)
61 #define F77_daxpy_base F77_GLOBAL(daxpy,DAXPY)
62 #define F77_idamax_sub_base F77_GLOBAL(idamaxsub,IDAMAXSUB)
63 #define F77_cswap_base F77_GLOBAL(cswap,CSWAP)
64 #define F77_ccopy_base F77_GLOBAL(ccopy,CCOPY)
65 #define F77_caxpy_base F77_GLOBAL(caxpy,CAXPY)
66 #define F77_icamax_sub_base F77_GLOBAL(icamaxsub,ICAMAXSUB)
67 #define F77_zswap_base F77_GLOBAL(zswap,ZSWAP)
68 #define F77_zcopy_base F77_GLOBAL(zcopy,ZCOPY)
69 #define F77_zaxpy_base F77_GLOBAL(zaxpy,ZAXPY)
70 #define F77_izamax_sub_base F77_GLOBAL(izamaxsub,IZAMAXSUB)
71 #define F77_sdot_sub_base F77_GLOBAL(sdotsub,SDOTSUB)
72 #define F77_ddot_sub_base F77_GLOBAL(ddotsub,DDOTSUB)
73 #define F77_dsdot_sub_base F77_GLOBAL(dsdotsub,DSDOTSUB)
74 #define F77_sscal_base F77_GLOBAL(sscal,SSCAL)
75 #define F77_dscal_base F77_GLOBAL(dscal,DSCAL)
76 #define F77_cscal_base F77_GLOBAL(cscal,CSCAL)
77 #define F77_zscal_base F77_GLOBAL(zscal,ZSCAL)
78 #define F77_csscal_base F77_GLOBAL(csscal,CSSCAL)
79 #define F77_zdscal_base F77_GLOBAL(zdscal,ZDSCAL)
80 #define F77_cdotu_sub_base F77_GLOBAL(cdotusub,CDOTUSUB)
81 #define F77_cdotc_sub_base F77_GLOBAL(cdotcsub,CDOTCSUB)
82 #define F77_zdotu_sub_base F77_GLOBAL(zdotusub,ZDOTUSUB)
83 #define F77_zdotc_sub_base F77_GLOBAL(zdotcsub,ZDOTCSUB)
84 #define F77_snrm2_sub_base F77_GLOBAL(snrm2sub,SNRM2SUB)
85 #define F77_sasum_sub_base F77_GLOBAL(sasumsub,SASUMSUB)
86 #define F77_dnrm2_sub_base F77_GLOBAL(dnrm2sub,DNRM2SUB)
87 #define F77_dasum_sub_base F77_GLOBAL(dasumsub,DASUMSUB)
88 #define F77_scnrm2_sub_base F77_GLOBAL(scnrm2sub,SCNRM2SUB)
89 #define F77_scasum_sub_base F77_GLOBAL(scasumsub,SCASUMSUB)
90 #define F77_dznrm2_sub_base F77_GLOBAL(dznrm2sub,DZNRM2SUB)
91 #define F77_dzasum_sub_base F77_GLOBAL(dzasumsub,DZASUMSUB)
92 #define F77_sdsdot_sub_base F77_GLOBAL(sdsdotsub,SDSDOTSUB)
93 /*
94  * Level 2 BLAS
95  */
96 #define F77_ssymv_base F77_GLOBAL(ssymv,SSYMV)
97 #define F77_ssbmv_base F77_GLOBAL(ssbmv,SSBMV)
98 #define F77_sspmv_base F77_GLOBAL(sspmv,SSPMV)
99 #define F77_sger_base F77_GLOBAL(sger,SGER)
100 #define F77_ssyr_base F77_GLOBAL(ssyr,SSYR)
101 #define F77_sspr_base F77_GLOBAL(sspr,SSPR)
102 #define F77_ssyr2_base F77_GLOBAL(ssyr2,SSYR2)
103 #define F77_sspr2_base F77_GLOBAL(sspr2,SSPR2)
104 #define F77_dsymv_base F77_GLOBAL(dsymv,DSYMV)
105 #define F77_dsbmv_base F77_GLOBAL(dsbmv,DSBMV)
106 #define F77_dspmv_base F77_GLOBAL(dspmv,DSPMV)
107 #define F77_dger_base F77_GLOBAL(dger,DGER)
108 #define F77_dsyr_base F77_GLOBAL(dsyr,DSYR)
109 #define F77_dspr_base F77_GLOBAL(dspr,DSPR)
110 #define F77_dsyr2_base F77_GLOBAL(dsyr2,DSYR2)
111 #define F77_dspr2_base F77_GLOBAL(dspr2,DSPR2)
112 #define F77_chemv_base F77_GLOBAL(chemv,CHEMV)
113 #define F77_chbmv_base F77_GLOBAL(chbmv,CHBMV)
114 #define F77_chpmv_base F77_GLOBAL(chpmv,CHPMV)
115 #define F77_cgeru_base F77_GLOBAL(cgeru,CGERU)
116 #define F77_cgerc_base F77_GLOBAL(cgerc,CGERC)
117 #define F77_cher_base F77_GLOBAL(cher,CHER)
118 #define F77_chpr_base F77_GLOBAL(chpr,CHPR)
119 #define F77_cher2_base F77_GLOBAL(cher2,CHER2)
120 #define F77_chpr2_base F77_GLOBAL(chpr2,CHPR2)
121 #define F77_zhemv_base F77_GLOBAL(zhemv,ZHEMV)
122 #define F77_zhbmv_base F77_GLOBAL(zhbmv,ZHBMV)
123 #define F77_zhpmv_base F77_GLOBAL(zhpmv,ZHPMV)
124 #define F77_zgeru_base F77_GLOBAL(zgeru,ZGERU)
125 #define F77_zgerc_base F77_GLOBAL(zgerc,ZGERC)
126 #define F77_zher_base F77_GLOBAL(zher,ZHER)
127 #define F77_zhpr_base F77_GLOBAL(zhpr,ZHPR)
128 #define F77_zher2_base F77_GLOBAL(zher2,ZHER2)
129 #define F77_zhpr2_base F77_GLOBAL(zhpr2,ZHPR2)
130 #define F77_sgemv_base F77_GLOBAL(sgemv,SGEMV)
131 #define F77_sgbmv_base F77_GLOBAL(sgbmv,SGBMV)
132 #define F77_strmv_base F77_GLOBAL(strmv,STRMV)
133 #define F77_stbmv_base F77_GLOBAL(stbmv,STBMV)
134 #define F77_stpmv_base F77_GLOBAL(stpmv,STPMV)
135 #define F77_strsv_base F77_GLOBAL(strsv,STRSV)
136 #define F77_stbsv_base F77_GLOBAL(stbsv,STBSV)
137 #define F77_stpsv_base F77_GLOBAL(stpsv,STPSV)
138 #define F77_dgemv_base F77_GLOBAL(dgemv,DGEMV)
139 #define F77_dgbmv_base F77_GLOBAL(dgbmv,DGBMV)
140 #define F77_dtrmv_base F77_GLOBAL(dtrmv,DTRMV)
141 #define F77_dtbmv_base F77_GLOBAL(dtbmv,DTBMV)
142 #define F77_dtpmv_base F77_GLOBAL(dtpmv,DTPMV)
143 #define F77_dtrsv_base F77_GLOBAL(dtrsv,DTRSV)
144 #define F77_dtbsv_base F77_GLOBAL(dtbsv,DTBSV)
145 #define F77_dtpsv_base F77_GLOBAL(dtpsv,DTPSV)
146 #define F77_cgemv_base F77_GLOBAL(cgemv,CGEMV)
147 #define F77_cgbmv_base F77_GLOBAL(cgbmv,CGBMV)
148 #define F77_ctrmv_base F77_GLOBAL(ctrmv,CTRMV)
149 #define F77_ctbmv_base F77_GLOBAL(ctbmv,CTBMV)
150 #define F77_ctpmv_base F77_GLOBAL(ctpmv,CTPMV)
151 #define F77_ctrsv_base F77_GLOBAL(ctrsv,CTRSV)
152 #define F77_ctbsv_base F77_GLOBAL(ctbsv,CTBSV)
153 #define F77_ctpsv_base F77_GLOBAL(ctpsv,CTPSV)
154 #define F77_zgemv_base F77_GLOBAL(zgemv,ZGEMV)
155 #define F77_zgbmv_base F77_GLOBAL(zgbmv,ZGBMV)
156 #define F77_ztrmv_base F77_GLOBAL(ztrmv,ZTRMV)
157 #define F77_ztbmv_base F77_GLOBAL(ztbmv,ZTBMV)
158 #define F77_ztpmv_base F77_GLOBAL(ztpmv,ZTPMV)
159 #define F77_ztrsv_base F77_GLOBAL(ztrsv,ZTRSV)
160 #define F77_ztbsv_base F77_GLOBAL(ztbsv,ZTBSV)
161 #define F77_ztpsv_base F77_GLOBAL(ztpsv,ZTPSV)
162 /*
163  * Level 3 BLAS
164  */
165 #define F77_chemm_base F77_GLOBAL(chemm,CHEMM)
166 #define F77_cherk_base F77_GLOBAL(cherk,CHERK)
167 #define F77_cher2k_base F77_GLOBAL(cher2k,CHER2K)
168 #define F77_zhemm_base F77_GLOBAL(zhemm,ZHEMM)
169 #define F77_zherk_base F77_GLOBAL(zherk,ZHERK)
170 #define F77_zher2k_base F77_GLOBAL(zher2k,ZHER2K)
171 #define F77_sgemm_base F77_GLOBAL(sgemm,SGEMM)
172 #define F77_ssymm_base F77_GLOBAL(ssymm,SSYMM)
173 #define F77_ssyrk_base F77_GLOBAL(ssyrk,SSYRK)
174 #define F77_ssyr2k_base F77_GLOBAL(ssyr2k,SSYR2K)
175 #define F77_strmm_base F77_GLOBAL(strmm,STRMM)
176 #define F77_strsm_base F77_GLOBAL(strsm,STRSM)
177 #define F77_dgemm_base F77_GLOBAL(dgemm,DGEMM)
178 #define F77_dsymm_base F77_GLOBAL(dsymm,DSYMM)
179 #define F77_dsyrk_base F77_GLOBAL(dsyrk,DSYRK)
180 #define F77_dsyr2k_base F77_GLOBAL(dsyr2k,DSYR2K)
181 #define F77_dtrmm_base F77_GLOBAL(dtrmm,DTRMM)
182 #define F77_dtrsm_base F77_GLOBAL(dtrsm,DTRSM)
183 #define F77_cgemm_base F77_GLOBAL(cgemm,CGEMM)
184 #define F77_csymm_base F77_GLOBAL(csymm,CSYMM)
185 #define F77_csyrk_base F77_GLOBAL(csyrk,CSYRK)
186 #define F77_csyr2k_base F77_GLOBAL(csyr2k,CSYR2K)
187 #define F77_ctrmm_base F77_GLOBAL(ctrmm,CTRMM)
188 #define F77_ctrsm_base F77_GLOBAL(ctrsm,CTRSM)
189 #define F77_zgemm_base F77_GLOBAL(zgemm,ZGEMM)
190 #define F77_zsymm_base F77_GLOBAL(zsymm,ZSYMM)
191 #define F77_zsyrk_base F77_GLOBAL(zsyrk,ZSYRK)
192 #define F77_zsyr2k_base F77_GLOBAL(zsyr2k,ZSYR2K)
193 #define F77_ztrmm_base F77_GLOBAL(ztrmm,ZTRMM)
194 #define F77_ztrsm_base F77_GLOBAL(ztrsm,ZTRSM)
195 
196 /*
197  * Level 1 Fortran variadic definitions
198  */
199 
200 /* Single Precision */
201 
202  #define F77_srot(...) F77_srot_base(__VA_ARGS__)
203  #define F77_srotg(...) F77_srotg_base(__VA_ARGS__)
204  #define F77_srotm(...) F77_srotm_base(__VA_ARGS__)
205  #define F77_srotmg(...) F77_srotmg_base(__VA_ARGS__)
206  #define F77_sswap(...) F77_sswap_base(__VA_ARGS__)
207  #define F77_scopy(...) F77_scopy_base(__VA_ARGS__)
208  #define F77_saxpy(...) F77_saxpy_base(__VA_ARGS__)
209  #define F77_sdot_sub(...) F77_sdot_sub_base(__VA_ARGS__)
210  #define F77_sdsdot_sub(...) F77_sdsdot_sub_base(__VA_ARGS__)
211  #define F77_sscal(...) F77_sscal_base(__VA_ARGS__)
212  #define F77_snrm2_sub(...) F77_snrm2_sub_base(__VA_ARGS__)
213  #define F77_sasum_sub(...) F77_sasum_sub_base(__VA_ARGS__)
214  #define F77_isamax_sub(...) F77_isamax_sub_base(__VA_ARGS__)
215 
216 /* Double Precision */
217 
218  #define F77_drot(...) F77_drot_base(__VA_ARGS__)
219  #define F77_drotg(...) F77_drotg_base(__VA_ARGS__)
220  #define F77_drotm(...) F77_drotm_base(__VA_ARGS__)
221  #define F77_drotmg(...) F77_drotmg_base(__VA_ARGS__)
222  #define F77_dswap(...) F77_dswap_base(__VA_ARGS__)
223  #define F77_dcopy(...) F77_dcopy_base(__VA_ARGS__)
224  #define F77_daxpy(...) F77_daxpy_base(__VA_ARGS__)
225  #define F77_dswap(...) F77_dswap_base(__VA_ARGS__)
226  #define F77_dsdot_sub(...) F77_dsdot_sub_base(__VA_ARGS__)
227  #define F77_ddot_sub(...) F77_ddot_sub_base(__VA_ARGS__)
228  #define F77_dscal(...) F77_dscal_base(__VA_ARGS__)
229  #define F77_dnrm2_sub(...) F77_dnrm2_sub_base(__VA_ARGS__)
230  #define F77_dasum_sub(...) F77_dasum_sub_base(__VA_ARGS__)
231  #define F77_idamax_sub(...) F77_idamax_sub_base(__VA_ARGS__)
232 
233 /* Single Complex Precision */
234 
235  #define F77_cswap(...) F77_cswap_base(__VA_ARGS__)
236  #define F77_ccopy(...) F77_ccopy_base(__VA_ARGS__)
237  #define F77_caxpy(...) F77_caxpy_base(__VA_ARGS__)
238  #define F77_cswap(...) F77_cswap_base(__VA_ARGS__)
239  #define F77_cdotc_sub(...) F77_cdotc_sub_base(__VA_ARGS__)
240  #define F77_cdotu_sub(...) F77_cdotu_sub_base(__VA_ARGS__)
241  #define F77_cscal(...) F77_cscal_base(__VA_ARGS__)
242  #define F77_icamax_sub(...) F77_icamax_sub_base(__VA_ARGS__)
243  #define F77_csscal(...) F77_csscal_base(__VA_ARGS__)
244  #define F77_scnrm2_sub(...) F77_scnrm2_sub_base(__VA_ARGS__)
245  #define F77_scasum_sub(...) F77_scasum_sub_base(__VA_ARGS__)
246 
247 /* Double Complex Precision */
248 
249  #define F77_zswap(...) F77_zswap_base(__VA_ARGS__)
250  #define F77_zcopy(...) F77_zcopy_base(__VA_ARGS__)
251  #define F77_zaxpy(...) F77_zaxpy_base(__VA_ARGS__)
252  #define F77_zswap(...) F77_zswap_base(__VA_ARGS__)
253  #define F77_zdotc_sub(...) F77_zdotc_sub_base(__VA_ARGS__)
254  #define F77_zdotu_sub(...) F77_zdotu_sub_base(__VA_ARGS__)
255  #define F77_zdscal(...) F77_zdscal_base(__VA_ARGS__)
256  #define F77_zscal(...) F77_zscal_base(__VA_ARGS__)
257  #define F77_dznrm2_sub(...) F77_dznrm2_sub_base(__VA_ARGS__)
258  #define F77_dzasum_sub(...) F77_dzasum_sub_base(__VA_ARGS__)
259  #define F77_izamax_sub(...) F77_izamax_sub_base(__VA_ARGS__)
260 
261 /*
262  * Level 2 Fortran variadic definitions without FCHAR
263  */
264 
265  #define F77_sger(...) F77_sger_base(__VA_ARGS__)
266  #define F77_dger(...) F77_dger_base(__VA_ARGS__)
267  #define F77_cgerc(...) F77_cgerc_base(__VA_ARGS__)
268  #define F77_cgeru(...) F77_cgeru_base(__VA_ARGS__)
269  #define F77_zgerc(...) F77_zgerc_base(__VA_ARGS__)
270  #define F77_zgeru(...) F77_zgeru_base(__VA_ARGS__)
271 
272 #ifdef BLAS_FORTRAN_STRLEN_END
273 
274  /*
275  * Level 2 Fortran variadic definitions with BLAS_FORTRAN_STRLEN_END
276  */
277 
278  /* Single Precision */
279 
280  #define F77_sgemv(...) F77_sgemv_base(__VA_ARGS__, 1)
281  #define F77_sgbmv(...) F77_sgbmv_base(__VA_ARGS__, 1)
282  #define F77_ssymv(...) F77_ssymv_base(__VA_ARGS__, 1)
283  #define F77_ssbmv(...) F77_ssbmv_base(__VA_ARGS__, 1)
284  #define F77_sspmv(...) F77_sspmv_base(__VA_ARGS__, 1)
285  #define F77_strmv(...) F77_strmv_base(__VA_ARGS__, 1, 1, 1)
286  #define F77_stbmv(...) F77_stbmv_base(__VA_ARGS__, 1, 1, 1)
287  #define F77_strsv(...) F77_strsv_base(__VA_ARGS__, 1, 1, 1)
288  #define F77_stbsv(...) F77_stbsv_base(__VA_ARGS__, 1, 1, 1)
289  #define F77_stpmv(...) F77_stpmv_base(__VA_ARGS__, 1, 1, 1)
290  #define F77_stpsv(...) F77_stpsv_base(__VA_ARGS__, 1, 1, 1)
291  #define F77_ssyr(...) F77_ssyr_base(__VA_ARGS__, 1)
292  #define F77_sspr(...) F77_sspr_base(__VA_ARGS__, 1)
293  #define F77_sspr2(...) F77_sspr2_base(__VA_ARGS__, 1)
294  #define F77_ssyr2(...) F77_ssyr2_base(__VA_ARGS__, 1)
295 
296  /* Double Precision */
297 
298  #define F77_dgemv(...) F77_dgemv_base(__VA_ARGS__, 1)
299  #define F77_dgbmv(...) F77_dgbmv_base(__VA_ARGS__, 1)
300  #define F77_dsymv(...) F77_dsymv_base(__VA_ARGS__, 1)
301  #define F77_dsbmv(...) F77_dsbmv_base(__VA_ARGS__, 1)
302  #define F77_dspmv(...) F77_dspmv_base(__VA_ARGS__, 1)
303  #define F77_dtrmv(...) F77_dtrmv_base(__VA_ARGS__, 1, 1, 1)
304  #define F77_dtbmv(...) F77_dtbmv_base(__VA_ARGS__, 1, 1, 1)
305  #define F77_dtrsv(...) F77_dtrsv_base(__VA_ARGS__, 1, 1, 1)
306  #define F77_dtbsv(...) F77_dtbsv_base(__VA_ARGS__, 1, 1, 1)
307  #define F77_dtpmv(...) F77_dtpmv_base(__VA_ARGS__, 1, 1, 1)
308  #define F77_dtpsv(...) F77_dtpsv_base(__VA_ARGS__, 1, 1, 1)
309  #define F77_dsyr(...) F77_dsyr_base(__VA_ARGS__, 1)
310  #define F77_dspr(...) F77_dspr_base(__VA_ARGS__, 1)
311  #define F77_dspr2(...) F77_dspr2_base(__VA_ARGS__, 1)
312  #define F77_dsyr2(...) F77_dsyr2_base(__VA_ARGS__, 1)
313 
314  /* Single Complex Precision */
315 
316  #define F77_cgemv(...) F77_cgemv_base(__VA_ARGS__, 1)
317  #define F77_cgbmv(...) F77_cgbmv_base(__VA_ARGS__, 1)
318  #define F77_chemv(...) F77_chemv_base(__VA_ARGS__, 1)
319  #define F77_chbmv(...) F77_chbmv_base(__VA_ARGS__, 1)
320  #define F77_chpmv(...) F77_chpmv_base(__VA_ARGS__, 1)
321  #define F77_ctrmv(...) F77_ctrmv_base(__VA_ARGS__, 1, 1, 1)
322  #define F77_ctbmv(...) F77_ctbmv_base(__VA_ARGS__, 1, 1, 1)
323  #define F77_ctpmv(...) F77_ctpmv_base(__VA_ARGS__, 1, 1, 1)
324  #define F77_ctrsv(...) F77_ctrsv_base(__VA_ARGS__, 1, 1, 1)
325  #define F77_ctbsv(...) F77_ctbsv_base(__VA_ARGS__, 1, 1, 1)
326  #define F77_ctpsv(...) F77_ctpsv_base(__VA_ARGS__, 1, 1, 1)
327  #define F77_cher(...) F77_cher_base(__VA_ARGS__, 1)
328  #define F77_cher2(...) F77_cher2_base(__VA_ARGS__, 1)
329  #define F77_chpr(...) F77_chpr_base(__VA_ARGS__, 1)
330  #define F77_chpr2(...) F77_chpr2_base(__VA_ARGS__, 1)
331 
332  /* Double Complex Precision */
333 
334  #define F77_zgemv(...) F77_zgemv_base(__VA_ARGS__, 1)
335  #define F77_zgbmv(...) F77_zgbmv_base(__VA_ARGS__, 1)
336  #define F77_zhemv(...) F77_zhemv_base(__VA_ARGS__, 1)
337  #define F77_zhbmv(...) F77_zhbmv_base(__VA_ARGS__, 1)
338  #define F77_zhpmv(...) F77_zhpmv_base(__VA_ARGS__, 1)
339  #define F77_ztrmv(...) F77_ztrmv_base(__VA_ARGS__, 1, 1, 1)
340  #define F77_ztbmv(...) F77_ztbmv_base(__VA_ARGS__, 1, 1, 1)
341  #define F77_ztpmv(...) F77_ztpmv_base(__VA_ARGS__, 1, 1, 1)
342  #define F77_ztrsv(...) F77_ztrsv_base(__VA_ARGS__, 1, 1, 1)
343  #define F77_ztbsv(...) F77_ztbsv_base(__VA_ARGS__, 1, 1, 1)
344  #define F77_ztpsv(...) F77_ztpsv_base(__VA_ARGS__, 1, 1, 1)
345  #define F77_zher(...) F77_zher_base(__VA_ARGS__, 1)
346  #define F77_zher2(...) F77_zher2_base(__VA_ARGS__, 1)
347  #define F77_zhpr(...) F77_zhpr_base(__VA_ARGS__, 1)
348  #define F77_zhpr2(...) F77_zhpr2_base(__VA_ARGS__, 1)
349 
350  /*
351  * Level 3 Fortran variadic definitions with BLAS_FORTRAN_STRLEN_END
352  */
353 
354  /* Single Precision */
355 
356  #define F77_sgemm(...) F77_sgemm_base(__VA_ARGS__, 1, 1)
357  #define F77_ssymm(...) F77_ssymm_base(__VA_ARGS__, 1, 1)
358  #define F77_ssyrk(...) F77_ssyrk_base(__VA_ARGS__, 1, 1)
359  #define F77_ssyr2k(...) F77_ssyr2k_base(__VA_ARGS__, 1, 1)
360  #define F77_strmm(...) F77_strmm_base(__VA_ARGS__, 1, 1, 1, 1)
361  #define F77_strsm(...) F77_strsm_base(__VA_ARGS__, 1, 1, 1, 1)
362 
363  /* Double Precision */
364 
365  #define F77_dgemm(...) F77_dgemm_base(__VA_ARGS__, 1, 1)
366  #define F77_dsymm(...) F77_dsymm_base(__VA_ARGS__, 1, 1)
367  #define F77_dsyrk(...) F77_dsyrk_base(__VA_ARGS__, 1, 1)
368  #define F77_dsyr2k(...) F77_dsyr2k_base(__VA_ARGS__, 1, 1)
369  #define F77_dtrmm(...) F77_dtrmm_base(__VA_ARGS__, 1, 1, 1, 1)
370  #define F77_dtrsm(...) F77_dtrsm_base(__VA_ARGS__, 1, 1, 1, 1)
371 
372  /* Single Complex Precision */
373 
374  #define F77_cgemm(...) F77_cgemm_base(__VA_ARGS__, 1, 1)
375  #define F77_csymm(...) F77_csymm_base(__VA_ARGS__, 1, 1)
376  #define F77_chemm(...) F77_chemm_base(__VA_ARGS__, 1, 1)
377  #define F77_csyrk(...) F77_csyrk_base(__VA_ARGS__, 1, 1)
378  #define F77_cherk(...) F77_cherk_base(__VA_ARGS__, 1, 1)
379  #define F77_csyr2k(...) F77_csyr2k_base(__VA_ARGS__, 1, 1)
380  #define F77_cher2k(...) F77_cher2k_base(__VA_ARGS__, 1, 1)
381  #define F77_ctrmm(...) F77_ctrmm_base(__VA_ARGS__, 1, 1, 1, 1)
382  #define F77_ctrsm(...) F77_ctrsm_base(__VA_ARGS__, 1, 1, 1, 1)
383 
384  /* Double Complex Precision */
385 
386  #define F77_zgemm(...) F77_zgemm_base(__VA_ARGS__, 1, 1)
387  #define F77_zsymm(...) F77_zsymm_base(__VA_ARGS__, 1, 1)
388  #define F77_zhemm(...) F77_zhemm_base(__VA_ARGS__, 1, 1)
389  #define F77_zsyrk(...) F77_zsyrk_base(__VA_ARGS__, 1, 1)
390  #define F77_zherk(...) F77_zherk_base(__VA_ARGS__, 1, 1)
391  #define F77_zsyr2k(...) F77_zsyr2k_base(__VA_ARGS__, 1, 1)
392  #define F77_zher2k(...) F77_zher2k_base(__VA_ARGS__, 1, 1)
393  #define F77_ztrmm(...) F77_ztrmm_base(__VA_ARGS__, 1, 1, 1, 1)
394  #define F77_ztrsm(...) F77_ztrsm_base(__VA_ARGS__, 1, 1, 1, 1)
395 
396 #else
397 
398  /*
399  * Level 2 Fortran variadic definitions without BLAS_FORTRAN_STRLEN_END
400  */
401 
402  /* Single Precision */
403 
404  #define F77_sgemv(...) F77_sgemv_base(__VA_ARGS__)
405  #define F77_sgbmv(...) F77_sgbmv_base(__VA_ARGS__)
406  #define F77_ssymv(...) F77_ssymv_base(__VA_ARGS__)
407  #define F77_ssbmv(...) F77_ssbmv_base(__VA_ARGS__)
408  #define F77_sspmv(...) F77_sspmv_base(__VA_ARGS__)
409  #define F77_strmv(...) F77_strmv_base(__VA_ARGS__)
410  #define F77_stbmv(...) F77_stbmv_base(__VA_ARGS__)
411  #define F77_strsv(...) F77_strsv_base(__VA_ARGS__)
412  #define F77_stbsv(...) F77_stbsv_base(__VA_ARGS__)
413  #define F77_stpmv(...) F77_stpmv_base(__VA_ARGS__)
414  #define F77_stpsv(...) F77_stpsv_base(__VA_ARGS__)
415  #define F77_ssyr(...) F77_ssyr_base(__VA_ARGS__)
416  #define F77_sspr(...) F77_sspr_base(__VA_ARGS__)
417  #define F77_sspr2(...) F77_sspr2_base(__VA_ARGS__)
418  #define F77_ssyr2(...) F77_ssyr2_base(__VA_ARGS__)
419 
420  /* Double Precision */
421 
422  #define F77_dgemv(...) F77_dgemv_base(__VA_ARGS__)
423  #define F77_dgbmv(...) F77_dgbmv_base(__VA_ARGS__)
424  #define F77_dsymv(...) F77_dsymv_base(__VA_ARGS__)
425  #define F77_dsbmv(...) F77_dsbmv_base(__VA_ARGS__)
426  #define F77_dspmv(...) F77_dspmv_base(__VA_ARGS__)
427  #define F77_dtrmv(...) F77_dtrmv_base(__VA_ARGS__)
428  #define F77_dtbmv(...) F77_dtbmv_base(__VA_ARGS__)
429  #define F77_dtrsv(...) F77_dtrsv_base(__VA_ARGS__)
430  #define F77_dtbsv(...) F77_dtbsv_base(__VA_ARGS__)
431  #define F77_dtpmv(...) F77_dtpmv_base(__VA_ARGS__)
432  #define F77_dtpsv(...) F77_dtpsv_base(__VA_ARGS__)
433  #define F77_dsyr(...) F77_dsyr_base(__VA_ARGS__)
434  #define F77_dspr(...) F77_dspr_base(__VA_ARGS__)
435  #define F77_dspr2(...) F77_dspr2_base(__VA_ARGS__)
436  #define F77_dsyr2(...) F77_dsyr2_base(__VA_ARGS__)
437 
438  /* Single Complex Precision */
439 
440  #define F77_cgemv(...) F77_cgemv_base(__VA_ARGS__)
441  #define F77_cgbmv(...) F77_cgbmv_base(__VA_ARGS__)
442  #define F77_chemv(...) F77_chemv_base(__VA_ARGS__)
443  #define F77_chbmv(...) F77_chbmv_base(__VA_ARGS__)
444  #define F77_chpmv(...) F77_chpmv_base(__VA_ARGS__)
445  #define F77_ctrmv(...) F77_ctrmv_base(__VA_ARGS__)
446  #define F77_ctbmv(...) F77_ctbmv_base(__VA_ARGS__)
447  #define F77_ctpmv(...) F77_ctpmv_base(__VA_ARGS__)
448  #define F77_ctrsv(...) F77_ctrsv_base(__VA_ARGS__)
449  #define F77_ctbsv(...) F77_ctbsv_base(__VA_ARGS__)
450  #define F77_ctpsv(...) F77_ctpsv_base(__VA_ARGS__)
451  #define F77_cher(...) F77_cher_base(__VA_ARGS__)
452  #define F77_cher2(...) F77_cher2_base(__VA_ARGS__)
453  #define F77_chpr(...) F77_chpr_base(__VA_ARGS__)
454  #define F77_chpr2(...) F77_chpr2_base(__VA_ARGS__)
455 
456  /* Double Complex Precision */
457 
458  #define F77_zgemv(...) F77_zgemv_base(__VA_ARGS__)
459  #define F77_zgbmv(...) F77_zgbmv_base(__VA_ARGS__)
460  #define F77_zhemv(...) F77_zhemv_base(__VA_ARGS__)
461  #define F77_zhbmv(...) F77_zhbmv_base(__VA_ARGS__)
462  #define F77_zhpmv(...) F77_zhpmv_base(__VA_ARGS__)
463  #define F77_ztrmv(...) F77_ztrmv_base(__VA_ARGS__)
464  #define F77_ztbmv(...) F77_ztbmv_base(__VA_ARGS__)
465  #define F77_ztpmv(...) F77_ztpmv_base(__VA_ARGS__)
466  #define F77_ztrsv(...) F77_ztrsv_base(__VA_ARGS__)
467  #define F77_ztbsv(...) F77_ztbsv_base(__VA_ARGS__)
468  #define F77_ztpsv(...) F77_ztpsv_base(__VA_ARGS__)
469  #define F77_zher(...) F77_zher_base(__VA_ARGS__)
470  #define F77_zher2(...) F77_zher2_base(__VA_ARGS__)
471  #define F77_zhpr(...) F77_zhpr_base(__VA_ARGS__)
472  #define F77_zhpr2(...) F77_zhpr2_base(__VA_ARGS__)
473 
474  /*
475  * Level 3 Fortran variadic definitions without BLAS_FORTRAN_STRLEN_END
476  */
477 
478  /* Single Precision */
479 
480  #define F77_sgemm(...) F77_sgemm_base(__VA_ARGS__)
481  #define F77_ssymm(...) F77_ssymm_base(__VA_ARGS__)
482  #define F77_ssyrk(...) F77_ssyrk_base(__VA_ARGS__)
483  #define F77_ssyr2k(...) F77_ssyr2k_base(__VA_ARGS__)
484  #define F77_strmm(...) F77_strmm_base(__VA_ARGS__)
485  #define F77_strsm(...) F77_strsm_base(__VA_ARGS__)
486 
487  /* Double Precision */
488 
489  #define F77_dgemm(...) F77_dgemm_base(__VA_ARGS__)
490  #define F77_dsymm(...) F77_dsymm_base(__VA_ARGS__)
491  #define F77_dsyrk(...) F77_dsyrk_base(__VA_ARGS__)
492  #define F77_dsyr2k(...) F77_dsyr2k_base(__VA_ARGS__)
493  #define F77_dtrmm(...) F77_dtrmm_base(__VA_ARGS__)
494  #define F77_dtrsm(...) F77_dtrsm_base(__VA_ARGS__)
495 
496  /* Single Complex Precision */
497 
498  #define F77_cgemm(...) F77_cgemm_base(__VA_ARGS__)
499  #define F77_csymm(...) F77_csymm_base(__VA_ARGS__)
500  #define F77_chemm(...) F77_chemm_base(__VA_ARGS__)
501  #define F77_csyrk(...) F77_csyrk_base(__VA_ARGS__)
502  #define F77_cherk(...) F77_cherk_base(__VA_ARGS__)
503  #define F77_csyr2k(...) F77_csyr2k_base(__VA_ARGS__)
504  #define F77_cher2k(...) F77_cher2k_base(__VA_ARGS__)
505  #define F77_ctrmm(...) F77_ctrmm_base(__VA_ARGS__)
506  #define F77_ctrsm(...) F77_ctrsm_base(__VA_ARGS__)
507 
508  /* Double Complex Precision */
509 
510  #define F77_zgemm(...) F77_zgemm_base(__VA_ARGS__)
511  #define F77_zsymm(...) F77_zsymm_base(__VA_ARGS__)
512  #define F77_zhemm(...) F77_zhemm_base(__VA_ARGS__)
513  #define F77_zsyrk(...) F77_zsyrk_base(__VA_ARGS__)
514  #define F77_zherk(...) F77_zherk_base(__VA_ARGS__)
515  #define F77_zsyr2k(...) F77_zsyr2k_base(__VA_ARGS__)
516  #define F77_zher2k(...) F77_zher2k_base(__VA_ARGS__)
517  #define F77_ztrmm(...) F77_ztrmm_base(__VA_ARGS__)
518  #define F77_ztrsm(...) F77_ztrsm_base(__VA_ARGS__)
519 
520 #endif
521 
522 /*
523  * Base function prototypes
524  */
525 
526 #ifdef __cplusplus
527 extern "C" {
528 #endif
529 
530 void F77_xerbla(FCHAR, void *);
531 void F77_xerbla_base(FCHAR, void *
533  , size_t
534  #endif
535  );
536 /*
537  * Level 1 Fortran Prototypes
538  */
539 
540 /* Single Precision */
541 
542  void F77_srot_base(FINT, float *, FINT, float *, FINT, const float *, const float *);
543  void F77_srotg_base(float *,float *,float *,float *);
544  void F77_srotm_base( FINT, float *, FINT, float *, FINT, const float *);
545  void F77_srotmg_base(float *,float *,float *,const float *, float *);
546  void F77_sswap_base( FINT, float *, FINT, float *, FINT);
547  void F77_scopy_base( FINT, const float *, FINT, float *, FINT);
548  void F77_saxpy_base( FINT, const float *, const float *, FINT, float *, FINT);
549  void F77_sdot_sub_base(FINT, const float *, FINT, const float *, FINT, float *);
550  void F77_sdsdot_sub_base( FINT, const float *, const float *, FINT, const float *, FINT, float *);
551  void F77_sscal_base( FINT, const float *, float *, FINT);
552  void F77_snrm2_sub_base( FINT, const float *, FINT, float *);
553  void F77_sasum_sub_base( FINT, const float *, FINT, float *);
554  void F77_isamax_sub_base( FINT, const float * , FINT, FINT2);
555 
556 /* Double Precision */
557 
558  void F77_drot_base(FINT, double *, FINT, double *, FINT, const double *, const double *);
559  void F77_drotg_base(double *,double *,double *,double *);
560  void F77_drotm_base( FINT, double *, FINT, double *, FINT, const double *);
561  void F77_drotmg_base(double *,double *,double *,const double *, double *);
562  void F77_dswap_base( FINT, double *, FINT, double *, FINT);
563  void F77_dcopy_base( FINT, const double *, FINT, double *, FINT);
564  void F77_daxpy_base( FINT, const double *, const double *, FINT, double *, FINT);
565  void F77_dswap_base( FINT, double *, FINT, double *, FINT);
566  void F77_dsdot_sub_base(FINT, const float *, FINT, const float *, FINT, double *);
567  void F77_ddot_sub_base( FINT, const double *, FINT, const double *, FINT, double *);
568  void F77_dscal_base( FINT, const double *, double *, FINT);
569  void F77_dnrm2_sub_base( FINT, const double *, FINT, double *);
570  void F77_dasum_sub_base( FINT, const double *, FINT, double *);
571  void F77_idamax_sub_base( FINT, const double * , FINT, FINT2);
572 
573 /* Single Complex Precision */
574 
575  void F77_cswap_base( FINT, void *, FINT, void *, FINT);
576  void F77_ccopy_base( FINT, const void *, FINT, void *, FINT);
577  void F77_caxpy_base( FINT, const void *, const void *, FINT, void *, FINT);
578  void F77_cswap_base( FINT, void *, FINT, void *, FINT);
579  void F77_cdotc_sub_base( FINT, const void *, FINT, const void *, FINT, void *);
580  void F77_cdotu_sub_base( FINT, const void *, FINT, const void *, FINT, void *);
581  void F77_cscal_base( FINT, const void *, void *, FINT);
582  void F77_icamax_sub_base( FINT, const void *, FINT, FINT2);
583  void F77_csscal_base( FINT, const float *, void *, FINT);
584  void F77_scnrm2_sub_base( FINT, const void *, FINT, float *);
585  void F77_scasum_sub_base( FINT, const void *, FINT, float *);
586 
587 /* Double Complex Precision */
588 
589  void F77_zswap_base( FINT, void *, FINT, void *, FINT);
590  void F77_zcopy_base( FINT, const void *, FINT, void *, FINT);
591  void F77_zaxpy_base( FINT, const void *, const void *, FINT, void *, FINT);
592  void F77_zswap_base( FINT, void *, FINT, void *, FINT);
593  void F77_zdotc_sub_base( FINT, const void *, FINT, const void *, FINT, void *);
594  void F77_zdotu_sub_base( FINT, const void *, FINT, const void *, FINT, void *);
595  void F77_zdscal_base( FINT, const double *, void *, FINT);
596  void F77_zscal_base( FINT, const void *, void *, FINT);
597  void F77_dznrm2_sub_base( FINT, const void *, FINT, double *);
598  void F77_dzasum_sub_base( FINT, const void *, FINT, double *);
599  void F77_izamax_sub_base( FINT, const void *, FINT, FINT2);
600 
601 /*
602  * Level 2 Fortran Prototypes
603  */
604 
605 /* Single Precision */
606 
607  void F77_sgemv_base(FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
609  , size_t
610  #endif
611  );
612  void F77_sgbmv_base(FCHAR, FINT, FINT, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
614  , size_t
615  #endif
616  );
617  void F77_ssymv_base(FCHAR, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
619  , size_t
620  #endif
621  );
622  void F77_ssbmv_base(FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
624  , size_t
625  #endif
626  );
627  void F77_sspmv_base(FCHAR, FINT, const float *, const float *, const float *, FINT, const float *, float *, FINT
629  , size_t
630  #endif
631  );
632  void F77_strmv_base(FCHAR, FCHAR, FCHAR, FINT, const float *, FINT, float *, FINT
634  , size_t, size_t, size_t
635  #endif
636  );
637  void F77_stbmv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const float *, FINT, float *, FINT
639  , size_t, size_t, size_t
640  #endif
641  );
642  void F77_strsv_base(FCHAR, FCHAR, FCHAR, FINT, const float *, FINT, float *, FINT
644  , size_t, size_t, size_t
645  #endif
646  );
647  void F77_stbsv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const float *, FINT, float *, FINT
649  , size_t, size_t, size_t
650  #endif
651  );
652  void F77_stpmv_base(FCHAR, FCHAR, FCHAR, FINT, const float *, float *, FINT
654  , size_t, size_t, size_t
655  #endif
656  );
657  void F77_stpsv_base(FCHAR, FCHAR, FCHAR, FINT, const float *, float *, FINT
659  , size_t, size_t, size_t
660  #endif
661  );
662  void F77_sger_base( FINT, FINT, const float *, const float *, FINT, const float *, FINT, float *, FINT);
663  void F77_ssyr_base(FCHAR, FINT, const float *, const float *, FINT, float *, FINT
665  , size_t
666  #endif
667  );
668  void F77_sspr_base(FCHAR, FINT, const float *, const float *, FINT, float *
670  , size_t
671  #endif
672  );
673  void F77_sspr2_base(FCHAR, FINT, const float *, const float *, FINT, const float *, FINT, float *
675  , size_t
676  #endif
677  );
678  void F77_ssyr2_base(FCHAR, FINT, const float *, const float *, FINT, const float *, FINT, float *, FINT
680  , size_t
681  #endif
682  );
683 
684 /* Double Precision */
685 
686  void F77_dgemv_base(FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
688  , size_t
689  #endif
690  );
691  void F77_dgbmv_base(FCHAR, FINT, FINT, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
693  , size_t
694  #endif
695  );
696  void F77_dsymv_base(FCHAR, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
698  , size_t
699  #endif
700  );
701  void F77_dsbmv_base(FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
703  , size_t
704  #endif
705  );
706  void F77_dspmv_base(FCHAR, FINT, const double *, const double *, const double *, FINT, const double *, double *, FINT
708  , size_t
709  #endif
710  );
711  void F77_dtrmv_base(FCHAR, FCHAR, FCHAR, FINT, const double *, FINT, double *, FINT
713  , size_t, size_t, size_t
714  #endif
715  );
716  void F77_dtbmv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const double *, FINT, double *, FINT
718  , size_t, size_t, size_t
719  #endif
720  );
721  void F77_dtrsv_base(FCHAR, FCHAR, FCHAR, FINT, const double *, FINT, double *, FINT
723  , size_t, size_t, size_t
724  #endif
725  );
726  void F77_dtbsv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const double *, FINT, double *, FINT
728  , size_t, size_t, size_t
729  #endif
730  );
731  void F77_dtpmv_base(FCHAR, FCHAR, FCHAR, FINT, const double *, double *, FINT
733  , size_t, size_t, size_t
734  #endif
735  );
736  void F77_dtpsv_base(FCHAR, FCHAR, FCHAR, FINT, const double *, double *, FINT
738  , size_t, size_t, size_t
739  #endif
740  );
741  void F77_dger_base( FINT, FINT, const double *, const double *, FINT, const double *, FINT, double *, FINT);
742  void F77_dsyr_base(FCHAR, FINT, const double *, const double *, FINT, double *, FINT
744  , size_t
745  #endif
746  );
747  void F77_dspr_base(FCHAR, FINT, const double *, const double *, FINT, double *
749  , size_t
750  #endif
751  );
752  void F77_dspr2_base(FCHAR, FINT, const double *, const double *, FINT, const double *, FINT, double *
754  , size_t
755  #endif
756  );
757  void F77_dsyr2_base(FCHAR, FINT, const double *, const double *, FINT, const double *, FINT, double *, FINT
759  , size_t
760  #endif
761  );
762 
763 /* Single Complex Precision */
764 
765  void F77_cgemv_base(FCHAR, FINT, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
767  , size_t
768  #endif
769  );
770  void F77_cgbmv_base(FCHAR, FINT, FINT, FINT, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
772  , size_t
773  #endif
774  );
775  void F77_chemv_base(FCHAR, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
777  , size_t
778  #endif
779  );
780  void F77_chbmv_base(FCHAR, FINT, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
782  , size_t
783  #endif
784  );
785  void F77_chpmv_base(FCHAR, FINT, const void *, const void *, const void *, FINT, const void *, void *, FINT
787  , size_t
788  #endif
789  );
790  void F77_ctrmv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, FINT, void *, FINT
792  , size_t, size_t, size_t
793  #endif
794  );
795  void F77_ctbmv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const void *, FINT, void *, FINT
797  , size_t, size_t, size_t
798  #endif
799  );
800  void F77_ctpmv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, void *, FINT
802  , size_t, size_t, size_t
803  #endif
804  );
805  void F77_ctrsv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, FINT, void *, FINT
807  , size_t, size_t, size_t
808  #endif
809  );
810  void F77_ctbsv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const void *, FINT, void *, FINT
812  , size_t, size_t, size_t
813  #endif
814  );
815  void F77_ctpsv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, void *,FINT
817  , size_t, size_t, size_t
818  #endif
819  );
820  void F77_cgerc_base( FINT, FINT, const void *, const void *, FINT, const void *, FINT, void *, FINT);
821  void F77_cgeru_base( FINT, FINT, const void *, const void *, FINT, const void *, FINT, void *, FINT);
822  void F77_cher_base(FCHAR, FINT, const float *, const void *, FINT, void *, FINT
824  , size_t
825  #endif
826  );
827  void F77_cher2_base(FCHAR, FINT, const void *, const void *, FINT, const void *, FINT, void *, FINT
829  , size_t
830  #endif
831  );
832  void F77_chpr_base(FCHAR, FINT, const float *, const void *, FINT, void *
834  , size_t
835  #endif
836  );
837  void F77_chpr2_base(FCHAR, FINT, const float *, const void *, FINT, const void *, FINT, void *
839  , size_t
840  #endif
841  );
842 
843 /* Double Complex Precision */
844 
845  void F77_zgemv_base(FCHAR, FINT, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
847  , size_t
848  #endif
849  );
850  void F77_zgbmv_base(FCHAR, FINT, FINT, FINT, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
852  , size_t
853  #endif
854  );
855  void F77_zhemv_base(FCHAR, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
857  , size_t
858  #endif
859  );
860  void F77_zhbmv_base(FCHAR, FINT, FINT, const void *, const void *, FINT, const void *, FINT, const void *, void *, FINT
862  , size_t
863  #endif
864  );
865  void F77_zhpmv_base(FCHAR, FINT, const void *, const void *, const void *, FINT, const void *, void *, FINT
867  , size_t
868  #endif
869  );
870  void F77_ztrmv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, FINT, void *, FINT
872  , size_t, size_t, size_t
873  #endif
874  );
875  void F77_ztbmv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const void *, FINT, void *, FINT
877  , size_t, size_t, size_t
878  #endif
879  );
880  void F77_ztpmv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, void *, FINT
882  , size_t, size_t, size_t
883  #endif
884  );
885  void F77_ztrsv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, FINT, void *, FINT
887  , size_t, size_t, size_t
888  #endif
889  );
890  void F77_ztbsv_base(FCHAR, FCHAR, FCHAR, FINT, FINT, const void *, FINT, void *, FINT
892  , size_t, size_t, size_t
893  #endif
894  );
895  void F77_ztpsv_base(FCHAR, FCHAR, FCHAR, FINT, const void *, void *,FINT
897  , size_t, size_t, size_t
898  #endif
899  );
900  void F77_zgerc_base( FINT, FINT, const void *, const void *, FINT, const void *, FINT, void *, FINT);
901  void F77_zgeru_base( FINT, FINT, const void *, const void *, FINT, const void *, FINT, void *, FINT);
902  void F77_zher_base(FCHAR, FINT, const double *, const void *, FINT, void *, FINT
904  , size_t
905  #endif
906  );
907  void F77_zher2_base(FCHAR, FINT, const void *, const void *, FINT, const void *, FINT, void *, FINT
909  , size_t
910  #endif
911  );
912  void F77_zhpr_base(FCHAR, FINT, const double *, const void *, FINT, void *
914  , size_t
915  #endif
916  );
917  void F77_zhpr2_base(FCHAR, FINT, const double *, const void *, FINT, const void *, FINT, void *
919  , size_t
920  #endif
921  );
922 
923 /*
924  * Level 3 Fortran Prototypes
925  */
926 
927 /* Single Precision */
928 
929  void F77_sgemm_base(FCHAR, FCHAR, FINT, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
931  , size_t, size_t
932  #endif
933  );
934  void F77_ssymm_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
936  , size_t, size_t
937  #endif
938  );
939  void F77_ssyrk_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, float *, FINT
941  , size_t, size_t
942  #endif
943  );
944  void F77_ssyr2k_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
946  , size_t, size_t
947  #endif
948  );
949  void F77_strmm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, float *, FINT
951  , size_t, size_t, size_t, size_t
952  #endif
953  );
954  void F77_strsm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, float *, FINT
956  , size_t, size_t, size_t, size_t
957  #endif
958  );
959 
960 /* Double Precision */
961 
962  void F77_dgemm_base(FCHAR, FCHAR, FINT, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
964  , size_t, size_t
965  #endif
966  );
967  void F77_dsymm_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
969  , size_t, size_t
970  #endif
971  );
972  void F77_dsyrk_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, double *, FINT
974  , size_t, size_t
975  #endif
976  );
977  void F77_dsyr2k_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
979  , size_t, size_t
980  #endif
981  );
982  void F77_dtrmm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, double *, FINT
984  , size_t, size_t, size_t, size_t
985  #endif
986  );
987  void F77_dtrsm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, double *, FINT
989  , size_t, size_t, size_t, size_t
990  #endif
991  );
992 
993 /* Single Complex Precision */
994 
995  void F77_cgemm_base(FCHAR, FCHAR, FINT, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
997  , size_t, size_t
998  #endif
999  );
1000  void F77_csymm_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
1002  , size_t, size_t
1003  #endif
1004  );
1005  void F77_chemm_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
1007  , size_t, size_t
1008  #endif
1009  );
1010  void F77_csyrk_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, float *, FINT
1012  , size_t, size_t
1013  #endif
1014  );
1015  void F77_cherk_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, float *, FINT
1017  , size_t, size_t
1018  #endif
1019  );
1020  void F77_csyr2k_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
1022  , size_t, size_t
1023  #endif
1024  );
1025  void F77_cher2k_base(FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, const float *, FINT, const float *, float *, FINT
1027  , size_t, size_t
1028  #endif
1029  );
1030  void F77_ctrmm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, float *, FINT
1032  , size_t, size_t, size_t, size_t
1033  #endif
1034  );
1035  void F77_ctrsm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const float *, const float *, FINT, float *, FINT
1037  , size_t, size_t, size_t, size_t
1038  #endif
1039  );
1040 
1041 /* Double Complex Precision */
1042 
1043  void F77_zgemm_base(FCHAR, FCHAR, FINT, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
1045  , size_t, size_t
1046  #endif
1047  );
1048  void F77_zsymm_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
1050  , size_t, size_t
1051  #endif
1052  );
1053  void F77_zhemm_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
1055  , size_t, size_t
1056  #endif
1057  );
1058  void F77_zsyrk_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, double *, FINT
1060  , size_t, size_t
1061  #endif
1062  );
1063  void F77_zherk_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, double *, FINT
1065  , size_t, size_t
1066  #endif
1067  );
1068  void F77_zsyr2k_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
1070  , size_t, size_t
1071  #endif
1072  );
1073  void F77_zher2k_base(FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, const double *, FINT, const double *, double *, FINT
1075  , size_t, size_t
1076  #endif
1077  );
1078  void F77_ztrmm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, double *, FINT
1080  , size_t, size_t, size_t, size_t
1081  #endif
1082  );
1083  void F77_ztrsm_base(FCHAR, FCHAR, FCHAR, FCHAR, FINT, FINT, const double *, const double *, FINT, double *, FINT
1085  , size_t, size_t, size_t, size_t
1086  #endif
1087  );
1088 
1089 #ifdef __cplusplus
1090 }
1091 #endif
1092 
1093 #endif /* CBLAS_F77_H */
#define F77_idamax_sub_base
Definition: cblas_f77.h:62
#define F77_srotmg_base
Definition: cblas_f77.h:48
#define F77_sgemv_base
Definition: cblas_f77.h:130
#define F77_dgemm_base
Definition: cblas_f77.h:177
#define F77_dsbmv_base
Definition: cblas_f77.h:105
#define F77_ctbsv_base
Definition: cblas_f77.h:152
void F77_xerbla(FCHAR, void *)
#define F77_cswap_base
Definition: cblas_f77.h:63
#define F77_zaxpy_base
Definition: cblas_f77.h:69
#define F77_isamax_sub_base
Definition: cblas_f77.h:58
#define F77_ztpsv_base
Definition: cblas_f77.h:161
#define F77_strmv_base
Definition: cblas_f77.h:132
#define F77_zhpmv_base
Definition: cblas_f77.h:123
#define F77_dzasum_sub_base
Definition: cblas_f77.h:91
#define F77_stpsv_base
Definition: cblas_f77.h:137
#define F77_dspr2_base
Definition: cblas_f77.h:111
#define F77_cgeru_base
Definition: cblas_f77.h:115
#define F77_zgbmv_base
Definition: cblas_f77.h:155
#define F77_cgerc_base
Definition: cblas_f77.h:116
#define F77_cher2k_base
Definition: cblas_f77.h:167
#define F77_ctpsv_base
Definition: cblas_f77.h:153
#define F77_ssymm_base
Definition: cblas_f77.h:172
#define F77_ssyr2k_base
Definition: cblas_f77.h:174
#define F77_zgerc_base
Definition: cblas_f77.h:125
#define F77_dspmv_base
Definition: cblas_f77.h:106
#define F77_scasum_sub_base
Definition: cblas_f77.h:89
#define F77_chpr_base
Definition: cblas_f77.h:118
#define F77_ccopy_base
Definition: cblas_f77.h:64
#define F77_zher2k_base
Definition: cblas_f77.h:170
#define F77_srot_base
Definition: cblas_f77.h:49
#define F77_zswap_base
Definition: cblas_f77.h:67
#define F77_ctrmm_base
Definition: cblas_f77.h:187
#define F77_dsymv_base
Definition: cblas_f77.h:104
#define F77_zcopy_base
Definition: cblas_f77.h:68
#define F77_zscal_base
Definition: cblas_f77.h:77
#define F77_ctrsv_base
Definition: cblas_f77.h:151
#define F77_daxpy_base
Definition: cblas_f77.h:61
#define F77_drotmg_base
Definition: cblas_f77.h:52
#define F77_dsyrk_base
Definition: cblas_f77.h:179
#define F77_zhbmv_base
Definition: cblas_f77.h:122
#define BLAS_FORTRAN_STRLEN_END
Definition: cblas_f77.h:17
#define F77_ztrmm_base
Definition: cblas_f77.h:193
#define F77_ztrsv_base
Definition: cblas_f77.h:159
#define F77_dspr_base
Definition: cblas_f77.h:109
#define F77_drot_base
Definition: cblas_f77.h:53
#define F77_cherk_base
Definition: cblas_f77.h:166
#define F77_cher_base
Definition: cblas_f77.h:117
#define F77_dgbmv_base
Definition: cblas_f77.h:139
#define F77_stbmv_base
Definition: cblas_f77.h:133
#define F77_sgemm_base
Definition: cblas_f77.h:171
#define F77_srotm_base
Definition: cblas_f77.h:50
#define F77_sdot_sub_base
Definition: cblas_f77.h:71
#define F77_chpmv_base
Definition: cblas_f77.h:114
#define F77_stbsv_base
Definition: cblas_f77.h:136
#define F77_ddot_sub_base
Definition: cblas_f77.h:72
#define F77_cgbmv_base
Definition: cblas_f77.h:147
#define F77_ssyr2_base
Definition: cblas_f77.h:102
#define F77_dcopy_base
Definition: cblas_f77.h:60
#define F77_chemv_base
Definition: cblas_f77.h:112
#define F77_dznrm2_sub_base
Definition: cblas_f77.h:90
#define F77_strmm_base
Definition: cblas_f77.h:175
#define F77_strsv_base
Definition: cblas_f77.h:135
#define F77_chemm_base
Definition: cblas_f77.h:165
#define F77_sspr_base
Definition: cblas_f77.h:101
#define F77_cgemm_base
Definition: cblas_f77.h:183
#define F77_dasum_sub_base
Definition: cblas_f77.h:87
#define F77_dger_base
Definition: cblas_f77.h:107
#define F77_ssyr_base
Definition: cblas_f77.h:100
#define F77_sdsdot_sub_base
Definition: cblas_f77.h:92
#define F77_zgemv_base
Definition: cblas_f77.h:154
#define F77_ztpmv_base
Definition: cblas_f77.h:158
#define F77_zsyrk_base
Definition: cblas_f77.h:191
#define F77_csymm_base
Definition: cblas_f77.h:184
#define F77_dtpmv_base
Definition: cblas_f77.h:142
#define F77_dtpsv_base
Definition: cblas_f77.h:145
#define F77_ztrmv_base
Definition: cblas_f77.h:156
#define F77_sspmv_base
Definition: cblas_f77.h:98
#define F77_dsymm_base
Definition: cblas_f77.h:178
#define F77_caxpy_base
Definition: cblas_f77.h:65
#define F77_zher2_base
Definition: cblas_f77.h:128
#define F77_zherk_base
Definition: cblas_f77.h:169
#define F77_ctrsm_base
Definition: cblas_f77.h:188
#define F77_izamax_sub_base
Definition: cblas_f77.h:70
#define F77_csscal_base
Definition: cblas_f77.h:78
#define F77_ztbmv_base
Definition: cblas_f77.h:157
#define F77_zher_base
Definition: cblas_f77.h:126
#define F77_zhemm_base
Definition: cblas_f77.h:168
#define F77_strsm_base
Definition: cblas_f77.h:176
#define F77_csyrk_base
Definition: cblas_f77.h:185
#define F77_chpr2_base
Definition: cblas_f77.h:120
#define F77_dscal_base
Definition: cblas_f77.h:75
#define F77_zsyr2k_base
Definition: cblas_f77.h:192
#define FCHAR
Definition: cblas_f77.h:36
#define F77_dswap_base
Definition: cblas_f77.h:59
#define F77_sgbmv_base
Definition: cblas_f77.h:131
#define F77_dtrsm_base
Definition: cblas_f77.h:182
#define F77_sasum_sub_base
Definition: cblas_f77.h:85
#define F77_dnrm2_sub_base
Definition: cblas_f77.h:86
#define F77_scnrm2_sub_base
Definition: cblas_f77.h:88
#define F77_scopy_base
Definition: cblas_f77.h:56
#define F77_zhpr2_base
Definition: cblas_f77.h:129
#define F77_ctbmv_base
Definition: cblas_f77.h:149
#define F77_dtbmv_base
Definition: cblas_f77.h:141
#define F77_ssymv_base
Definition: cblas_f77.h:96
#define F77_zdotc_sub_base
Definition: cblas_f77.h:83
#define F77_icamax_sub_base
Definition: cblas_f77.h:66
#define F77_dsdot_sub_base
Definition: cblas_f77.h:73
#define F77_sger_base
Definition: cblas_f77.h:99
#define F77_cdotu_sub_base
Definition: cblas_f77.h:80
#define F77_cher2_base
Definition: cblas_f77.h:119
#define F77_cgemv_base
Definition: cblas_f77.h:146
#define F77_drotg_base
Definition: cblas_f77.h:51
#define F77_xerbla_base
Definition: cblas_f77.h:46
#define F77_zhpr_base
Definition: cblas_f77.h:127
#define F77_ssbmv_base
Definition: cblas_f77.h:97
#define F77_dsyr_base
Definition: cblas_f77.h:108
#define FINT
Definition: cblas_f77.h:39
#define F77_dtrsv_base
Definition: cblas_f77.h:143
#define F77_cscal_base
Definition: cblas_f77.h:76
#define F77_zdscal_base
Definition: cblas_f77.h:79
#define FINT2
Definition: cblas_f77.h:40
#define F77_dgemv_base
Definition: cblas_f77.h:138
#define F77_sswap_base
Definition: cblas_f77.h:55
#define F77_zgeru_base
Definition: cblas_f77.h:124
#define F77_dsyr2k_base
Definition: cblas_f77.h:180
#define F77_ctrmv_base
Definition: cblas_f77.h:148
#define F77_snrm2_sub_base
Definition: cblas_f77.h:84
#define F77_zhemv_base
Definition: cblas_f77.h:121
#define F77_srotg_base
Definition: cblas_f77.h:47
#define F77_dsyr2_base
Definition: cblas_f77.h:110
#define F77_dtrmv_base
Definition: cblas_f77.h:140
#define F77_drotm_base
Definition: cblas_f77.h:54
#define F77_ssyrk_base
Definition: cblas_f77.h:173
#define F77_dtbsv_base
Definition: cblas_f77.h:144
#define F77_chbmv_base
Definition: cblas_f77.h:113
#define F77_ztrsm_base
Definition: cblas_f77.h:194
#define F77_zdotu_sub_base
Definition: cblas_f77.h:82
#define F77_sscal_base
Definition: cblas_f77.h:74
#define F77_zsymm_base
Definition: cblas_f77.h:190
#define F77_ztbsv_base
Definition: cblas_f77.h:160
#define F77_sspr2_base
Definition: cblas_f77.h:103
#define F77_zgemm_base
Definition: cblas_f77.h:189
#define F77_ctpmv_base
Definition: cblas_f77.h:150
#define F77_stpmv_base
Definition: cblas_f77.h:134
#define F77_saxpy_base
Definition: cblas_f77.h:57
#define F77_csyr2k_base
Definition: cblas_f77.h:186
#define F77_dtrmm_base
Definition: cblas_f77.h:181
#define F77_cdotc_sub_base
Definition: cblas_f77.h:81