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