/usr/include/python2.7/pysparse/blas.h is in python-sparse 1.1-1.3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | #ifndef _BLAS_H
#define _BLAS_H
#include "fortran.h"
#define integer int
#define real float
#define doublereal double
#define character char
#define logical int
#define ftnlen int
typedef struct { real r, i; } complex;
typedef struct { doublereal r, i; } doublecomplex;
complex F77(cdotc)(integer *,complex *,integer *,complex *,integer *),
F77(cdotu)(integer *,complex *,integer *,complex *,integer *);
void F77(caxpy)(integer *,complex *,complex *,integer *,complex *,
integer *),
F77(ccopy)(integer *,complex *,integer *,complex *,integer *),
F77(cgbmv)(character *,integer *,integer *,integer *,integer *,
complex *, complex *,integer *,complex *,integer *,
complex *,complex *,integer *,ftnlen),
F77(cgemm)(character *,character *,integer *,integer *,
integer *,complex *,complex *,integer *,complex *,
integer *,complex *,complex *,integer *,ftnlen,
ftnlen),
F77(cgemv)(character *,integer *,integer *,complex *,complex *,
integer *,complex *,integer *,complex *,complex *,
integer *,ftnlen),
F77(cgerc)(integer *,integer *,complex *,complex *,integer *,
complex *,integer *,complex *,integer *),
F77(cgeru)(integer *,integer *,complex *,complex *,integer *,
complex *,integer *,complex *,integer *),
F77(chbmv)(character *,integer *,integer *,complex *,complex *,
integer *,complex *,integer *,complex *,complex *,
integer *,ftnlen),
F77(chemm)(character *,character *,integer *,integer *,
complex *,complex *,integer *,complex *,integer *,
complex *,complex *,integer *,ftnlen,ftnlen),
F77(chemv)(character *,integer *,complex *,complex *,integer *,
complex *,integer *,complex *,complex *,integer *,
ftnlen),
F77(cher)(character *,integer *,real *,complex *,integer *,
complex *,integer *,ftnlen),
F77(cher2)(character *,integer *,complex *,complex *,integer *,
complex *,integer *,complex *,integer *,ftnlen),
F77(cher2k)(character *,character *,integer *,integer *,
complex *,complex *,integer *,complex *,integer *,
real *,complex *,integer *,ftnlen,ftnlen),
F77(cherk)(character *,character *,integer *,integer *,real *,
complex *,integer *,real *,complex *,integer *,
ftnlen,ftnlen),
F77(chpmv)(character *,integer *,complex *,complex *,complex *,
integer *,complex *,complex *,integer *,ftnlen),
F77(chpr)(character *,integer *,real *,complex *,integer *,
complex *,ftnlen),
F77(chpr2)(character *,integer *,complex *,complex *,integer *,
complex *,integer *,complex *,ftnlen),
F77(crotg)(complex *,complex *,real *,complex *),
F77(cscal)(integer *,complex *,complex *,integer *),
F77(csscal)(integer *,real *,complex *,integer *),
F77(cswap)(integer *,complex *,integer *,complex *,integer *),
F77(csymm)(character *,character *,integer *,integer *,
complex *,complex *,integer *,complex *,integer *,
complex *,complex *,integer *,ftnlen,ftnlen),
F77(csyr2k)(character *,character *,integer *,integer *,
complex *,complex *,integer *,complex *,integer *,
complex *,complex *,integer *,ftnlen,ftnlen),
F77(csyrk)(character *,character *,integer *,integer *,
complex *,complex *,integer *,complex *,complex *,
integer *,ftnlen,ftnlen),
F77(ctbmv)(character *,character *,character *,integer *,
integer *,complex *,integer *,complex *,integer *,
ftnlen,ftnlen,ftnlen),
F77(ctbsv)(character *,character *,character *,integer *,
integer *,complex *,integer *,complex *,integer *,
ftnlen,ftnlen,ftnlen),
F77(ctpmv)(character *,character *,character *,integer *,
complex *,complex *,integer *,ftnlen,ftnlen,ftnlen),
F77(ctpsv)(character *,character *,character *,integer *,
complex *,complex *,integer *,ftnlen,ftnlen,ftnlen),
F77(ctrmm)(character *,character *,character *,character *,
integer *,integer *,complex *,complex *,integer *,
complex *,integer *,ftnlen,ftnlen,ftnlen,ftnlen),
F77(ctrmv)(character *,character *,character *,integer *,
complex *,integer *,complex *,integer *,ftnlen,
ftnlen,ftnlen),
F77(ctrsm)(character *,character *,character *,character *,
integer *,integer *,complex *,complex *,integer *,
complex *,integer *,ftnlen,ftnlen,ftnlen,ftnlen),
F77(ctrsv)(character *,character *,character *,integer *,
complex *,integer *,complex *,integer *,ftnlen,
ftnlen,ftnlen);
doublereal F77(dasum)(integer *,doublereal *,integer *);
void F77(daxpy)(integer *,doublereal *,doublereal *,integer *,
doublereal *,integer *);
doublereal F77(dcabs1)(doublecomplex *);
void F77(dcopy)(integer *,doublereal *,integer *,doublereal *,
integer *);
doublereal F77(ddot)(integer *,doublereal *,integer *,doublereal *,
integer *);
void F77(dgbmv)(character *,integer *,integer *,integer *,integer *,
doublereal *,doublereal *,integer *,doublereal *,
integer *,doublereal *,doublereal *,integer *,
ftnlen),
F77(dgemm)(character *,character *,integer *,integer *,
integer *,doublereal *,doublereal *,integer *,
doublereal *,integer *,doublereal *,doublereal *,
integer *,ftnlen,ftnlen),
F77(dgemv)(character *,integer *,integer *,doublereal *,
doublereal *,integer *,doublereal *,integer *,
doublereal *,doublereal *,integer *,ftnlen),
F77(dger)(integer *,integer *,doublereal *,doublereal *,
integer *,doublereal *,integer *,doublereal *,
integer *);
doublereal F77(dnrm2)(integer *,doublereal *,integer *);
void F77(drot)(integer *,doublereal *,integer *,doublereal *,
integer *,doublereal *,doublereal *),
F77(drotg)(doublereal *,doublereal *,doublereal *,
doublereal *),
F77(dsbmv)(character *,integer *,integer *,doublereal *,
doublereal *,integer *,doublereal *,integer *,
doublereal *,doublereal *,integer *,ftnlen),
F77(dscal)(integer *,doublereal *,doublereal *,integer *),
F77(dspmv)(character *,integer *,doublereal *,doublereal *,
doublereal *,integer *,doublereal *,doublereal *,
integer *,ftnlen),
F77(dspr)(character *,integer *,doublereal *,doublereal *,
integer *,doublereal *,ftnlen),
F77(dspr2)(character *,integer *,doublereal *,doublereal *,
integer *,doublereal *,integer *,doublereal *,
ftnlen),
F77(dswap)(integer *n,doublereal *,integer *,doublereal *,
integer *),
F77(dsymm)(character *,character *,integer *,integer *,
doublereal *,doublereal *,integer *,doublereal *,
integer *,doublereal *,doublereal *,integer *,
ftnlen,ftnlen),
F77(dsymv)(character *,integer *,doublereal *,doublereal *,
integer *,doublereal *,integer *,doublereal *,
doublereal *,integer *,ftnlen),
F77(dsyr)(character *,integer *,doublereal *,doublereal *,
integer *,doublereal *,integer *,ftnlen),
F77(dsyr2)(character *,integer *,doublereal *,doublereal *,
integer *,doublereal *,integer *,doublereal *,
integer *,ftnlen),
F77(dsyr2k)(character *,character *,integer *,integer *,
doublereal *,doublereal *,integer *,doublereal *,
integer *,doublereal *,doublereal *,integer *,
ftnlen,ftnlen),
F77(dsyrk)(character *,character *,integer *,integer *,
doublereal *,doublereal *,integer *,doublereal *,
doublereal *,integer *,ftnlen,ftnlen),
F77(dtbmv)(character *,character *,character *,integer *,
integer *,doublereal *,integer *,doublereal *,
integer *,ftnlen,ftnlen,ftnlen),
F77(dtbsv)(character *,character *,character *,integer *,
integer *,doublereal *,integer *,doublereal *,
integer *,ftnlen,ftnlen,ftnlen),
F77(dtpmv)(character *,character *,character *,integer *,
doublereal *,doublereal *,integer *,ftnlen,ftnlen,
ftnlen),
F77(dtpsv)(character *,character *,character *,integer *,
doublereal *,doublereal *,integer *,ftnlen,ftnlen,
ftnlen),
F77(dtrmm)(character *,character *,character *,character *,
integer *,integer *,doublereal *,doublereal *,
integer *,doublereal *,integer *,ftnlen,ftnlen,
ftnlen,ftnlen),
F77(dtrmv)(character *,character *,character *,integer *,
doublereal *,integer *,doublereal *,integer *,
ftnlen,ftnlen,ftnlen),
F77(dtrsm)(character *,character *,character *,character *,
integer *,integer *,doublereal *,doublereal *,
integer *,doublereal *,integer *,ftnlen,ftnlen,
ftnlen,ftnlen),
F77(dtrsv)(character *,character *,character *,integer *,
doublereal *,integer *,doublereal *,integer *,
ftnlen,ftnlen,ftnlen);
doublereal F77(dzasum)(integer *,doublecomplex *,integer *),
F77(dznrm2)(integer *, doublecomplex *,integer *);
real F77(sasum)(integer *,real *,integer *),
F77(scasum)(integer *,complex *,integer *),
F77(snrm2)(integer *,real *,integer *),
F77(scnrm2)(integer *,complex *,integer *),
F77(sdot)(integer *,real *,integer *,real *,integer *);
extern void F77(sgemm)(character *,character *,integer *,integer *,
integer *,real *,real *,integer *,real *,integer *,
real *,real *,integer *,ftnlen,ftnlen),
F77(sscal)(integer *,real *,real *,integer *),
F77(ssyr)(character *,integer *,real *,real *,integer *,real *,
integer *,ftnlen),
F77(stpsv)(character *,character *,character *,integer *,
real *,real *,integer *,ftnlen,ftnlen,ftnlen),
F77(saxpy)(integer *,real *,real *,integer *,real *,integer *),
F77(sgemv)(character *,integer *,integer *,real *,real *,
integer *,real *,integer *,real *,real *,integer *,
ftnlen),
F77(sspmv)(character *,integer *,real *,real *,real *,
integer *,real *,real *,integer *,ftnlen),
F77(ssyr2)(character *,integer *,real *,real *,integer *,
real *,integer *,real *,integer *,ftnlen),
F77(strmm)(character *,character *,character *,character *,
integer *,integer *,real *,real *,integer *,real *,
integer *,ftnlen,ftnlen,ftnlen,ftnlen),
F77(sger)(integer *,integer *,real *,real *,integer *,real *,
integer *,real *,integer *),
F77(sspr)(character *,integer *,real *,real *,integer *,real *,
ftnlen),
F77(ssyr2k)(character *u,character *,integer *,integer *,
real *,real *,integer *,real *,integer *,real *,
real *,integer *,ftnlen,ftnlen),
F77(strmv)(character *,character *,character *,integer *,
real *,integer *,real *,integer *,ftnlen,ftnlen,
ftnlen),
F77(sspr2)(character *,integer *,real *,real *,integer *,
real *,integer *,real *,ftnlen),
F77(ssyrk)(character *,character *,integer *,integer *,real *,
real *,integer *,real *,real *,integer *,ftnlen,
ftnlen),
F77(strsm)(character *,character *,character *,character *,
integer *,integer *,real *,real *,integer *,real *,
integer *,ftnlen,ftnlen,ftnlen,ftnlen),
F77(scopy)(integer *,real *,integer *,real *,integer *),
F77(srot)(integer *,real *,integer *,real *,integer *,real *,
real *),
F77(sswap)(integer *,real *,integer *,real *,integer *),
F77(stbmv)(character *,character *,character *,integer *n,
integer *,real *,integer *,real *,integer *,ftnlen,
ftnlen,ftnlen),
F77(strsv)(character *,character *,character *,integer *,
real *,integer *,real *,integer *,ftnlen,ftnlen,
ftnlen),
F77(srotg)(real *,real *,real *,real *),
F77(ssymm)(character *,character *,integer *,integer *,real *,
real *,integer *,real *,integer *,real *,real *,
integer *,ftnlen,ftnlen),
F77(stbsv)(character *,character *,character *,integer *,
integer *,real *,integer *,real *,integer *,ftnlen,
ftnlen,ftnlen),
F77(sgbmv)(character *,integer *,integer *,integer *,integer *,
real *,real *,integer *,real *,integer *,real *,
real *,integer *,ftnlen),
F77(ssbmv)(character *,integer *,integer *,real *,real *,
integer *,real *,integer *,real *,real *,integer *,
ftnlen),
F77(ssymv)(character *,integer *,real *,real *,integer *,
real *,integer *,real *,real *,integer *, ftnlen),
F77(stpmv)(character *,character *,character *,integer *,
real *,real *,integer *,ftnlen,ftnlen,ftnlen);
doublecomplex F77(zdotc)(doublecomplex *,integer *,doublecomplex *,integer *,
doublecomplex *,integer *),
F77(zdotu)(doublecomplex *,integer *,doublecomplex *,integer *,
doublecomplex *,integer *);
void F77(zaxpy)(integer *,doublecomplex *,doublecomplex *,integer *,
doublecomplex *,integer *),
F77(zgemv)(character *,integer *,integer *,doublecomplex *,
doublecomplex *,integer *,doublecomplex *,integer *,
doublecomplex *,doublecomplex *,integer *,ftnlen),
F77(zher2)(character *,integer *,doublecomplex *,
doublecomplex *,integer *,doublecomplex *,integer *,
doublecomplex *,integer *,ftnlen),
F77(zscal)(integer *,doublecomplex *,doublecomplex *,
integer *),
F77(ztpmv)(character *,character *,character *,integer *,
doublecomplex *,doublecomplex *,integer *,ftnlen,
ftnlen,ftnlen),
F77(zcopy)(integer *,doublecomplex *,integer *,doublecomplex *,
integer *),
F77(zgerc)(integer *,integer *,doublecomplex *,doublecomplex *,
integer *,doublecomplex *,integer *,doublecomplex *,
integer *),
F77(zher2k)(character *,character *,integer *,integer *,
doublecomplex *,doublecomplex *,integer *,
doublecomplex *,integer *,doublereal *,
doublecomplex *,integer *,ftnlen,ftnlen),
F77(zswap)(integer *,doublecomplex *,integer *,doublecomplex *,
integer *),
F77(ztpsv)(character *,character *,character *,integer *,
doublecomplex *,doublecomplex *,integer *,ftnlen,
ftnlen,ftnlen),
F77(zgeru)(integer *,integer *,doublecomplex *,doublecomplex *,
integer *,doublecomplex *,integer *,doublecomplex *,
integer *),
F77(zherk)(character *,character *,integer *,integer *,
doublereal *,doublecomplex *,integer *,doublereal *,
doublecomplex *,integer *,ftnlen,ftnlen),
F77(zsymm)(character *,character *,integer *,integer *,
doublecomplex *,doublecomplex *,integer *,
doublecomplex *,integer *,doublecomplex *,
doublecomplex *,integer *,ftnlen,ftnlen),
F77(ztrmm)(character *,character *,character *,character *,
integer *,integer *,doublecomplex *,doublecomplex *,
integer *,doublecomplex *,integer *,ftnlen,ftnlen,
ftnlen,ftnlen),
F77(zhbmv)(character *,integer *,integer *,doublecomplex *,
doublecomplex *,integer *,doublecomplex *,integer *,
doublecomplex *,doublecomplex *,integer *,ftnlen),
F77(zhpmv)(character *,integer *,doublecomplex *,
doublecomplex *,doublecomplex *,integer *,
doublecomplex *,doublecomplex *,integer *,ftnlen),
F77(zsyr2k)(character *,character *,integer *,integer *,
doublecomplex *,doublecomplex *,integer *,
doublecomplex *,integer *,doublecomplex *,
doublecomplex *,integer *,ftnlen,ftnlen),
F77(ztrmv)(character *,character *,character *,integer *,
doublecomplex *,integer *,doublecomplex *,integer *,
ftnlen,ftnlen,ftnlen),
F77(zdscal)(integer *,doublecomplex *,doublecomplex *,
integer *),
F77(zhemm)(character *,character *,integer *,integer *,
doublecomplex *,doublecomplex *,integer *,
doublecomplex *,integer *,doublecomplex *,
doublecomplex *,integer *,ftnlen,ftnlen),
F77(zhpr)(character *,integer *,doublereal *,doublecomplex *,
integer *,doublecomplex *,ftnlen),
F77(zsyrk)(character *,character *,integer *,integer *,
doublecomplex *,doublecomplex *,integer *,
doublecomplex *,doublecomplex *,integer *,ftnlen,
ftnlen),
F77(ztrsm)(character *,character *,character *,character *,
integer *,integer *,doublecomplex *,doublecomplex *,
integer *,doublecomplex *,integer *,ftnlen,ftnlen,
ftnlen,ftnlen),
F77(zgbmv)(character *,integer *,integer *,integer *,integer *,
doublecomplex *,doublecomplex *,integer *,
doublecomplex *,integer *,doublecomplex *,
doublecomplex *,integer *,ftnlen),
F77(zhemv)(character *,integer *,doublecomplex *,
doublecomplex *,integer *,doublecomplex *,integer *,
doublecomplex *,doublecomplex *,integer *,ftnlen),
F77(zhpr2)(character *,integer *,doublecomplex *,
doublecomplex *,integer *,doublecomplex *,integer *,
doublecomplex *,ftnlen),
F77(ztbmv)(character *,character *,character *,integer *,
integer *,doublecomplex *,integer *,doublecomplex *,
integer *,ftnlen,ftnlen,ftnlen),
F77(ztrsv)(character *,character *,character *,integer *,
doublecomplex *,integer *,doublecomplex *,integer *,
ftnlen,ftnlen,ftnlen),
F77(zgemm)(character *,character *,integer *,integer *,
integer *,doublecomplex *,doublecomplex *,integer *,
doublecomplex *,integer *,doublecomplex *,
doublecomplex *,integer *,ftnlen,ftnlen),
F77(zher)(character *,integer *,doublereal *,doublecomplex *,
integer *,doublecomplex *,integer *,ftnlen),
F77(zrotg)(doublecomplex *,doublecomplex *,doublereal *,
doublecomplex *),
F77(ztbsv)(character *,character *,character *,integer *,
integer *,doublecomplex *,integer *,doublecomplex *,
integer *,ftnlen,ftnlen,ftnlen);
integer F77(icamax)(integer *,complex *,integer *),
F77(idamax)(integer *,doublereal *,integer *),
F77(isamax)(integer *,real *,integer *),
F77(izamax)(integer *,doublecomplex *,integer *),
F77(lsame)(character *,character *,ftnlen,ftnlen);
void F77(xerbla)(character *,integer *,ftnlen);
#undef integer
#undef real
#undef doublereal
#undef character
#undef logical
#undef ftnlen
#endif /* _BLAS_H */
|