LINEAR++ library: AFF to LAPACK
blas1.h
Go to the documentation of this file.
1 /* LAPACK++ (V. 1.1) */
2 /* (C) 1992-1996 All Rights Reserved. */
3 // Copyright (c) 1992 by J. J. Dongarra, E. Greaser, R. Pozo, D. Walker
4 // see file README.lapack++
5 
6 #ifndef _BLAS1_H_
7 #define _BLAS1_H_
8 
9 #include "arch.h"
10 #include "f2c.h"
11 
12 extern "C"
13 {
14 
15 
16  double F77NAME(dasum)(const integer *n, const double *dx, const integer *incx);
17 
18 
19  void F77NAME(daxpy)(const integer *n, const double *da, const double *dx,
20  const integer *incx, double *dy, const integer *incy);
21 
22  void F77NAME(dcopy)(const integer *n, double *dx, const integer *incx, double *dy,
23  const integer *incy);
24 
25 
26  double F77NAME(ddot)(const integer *n, const double *dx, const integer *incx,
27  const double *dy, const integer *incy);
28 
29  double F77NAME(dnrm2)(const integer *n, const double *dx, const integer *incx);
30 
31  void F77NAME(drot)(const integer *n, double *dx, const integer *incx, double *dy,
32  const integer *incy, const double *c, const double *s);
33 
34  void F77NAME(drotg)(double *da, double *db, double *c, double *s);
35 
36  void F77NAME(dscal)(const integer *n, double *da, double *dx, const integer *incx);
37 
38  void F77NAME(dswap)(const integer *n, double *dx, const integer *incx, double *dy,
39  const integer *incy);
40 
41  integer F77NAME(idamax)(const integer *n, const double *dx, const integer *incx);
42 
43 #if defined( LA_COMPLEX_SUPPORT)
44 #include "f2c.h"
45 
46  double F77NAME(zdotc)(doublecomplex *c, const integer *n,
47  const doublecomplex *cx,
48  const integer *incx, const doublecomplex *cy, const integer *incy);
49 
50  double F77NAME(zdotu)(doublecomplex *c, const integer *n,
51  const doublecomplex *cx, const integer *incx,
52  const doublecomplex *cy, const integer *incy);
53 
54  void F77NAME(zaxpy)(const integer *n, const doublecomplex *da,
55  const doublecomplex *dx,
56  const integer *incx, doublecomplex *dy,
57  const integer *incy);
58 
59  void F77NAME(zcopy)(const integer *n, doublecomplex *dx, const integer *incx,
60  doublecomplex *dy, const integer *incy);
61 
62  double F77NAME(dzasum)(const integer *n, const doublecomplex *dx, const integer *incx);
63 
64  double F77NAME(dznrm2)(const integer *n, const doublecomplex *dx, const integer *incx);
65 
66  void F77NAME(zdscal)(const integer *n, const double *da, doublecomplex *dx,
67  const integer *incx);
68 
69  void F77NAME(zscal)(const integer *n, const doublecomplex *da, doublecomplex *dx,
70  const integer *incx);
71 
72  integer F77NAME(izamax)(const integer *n, const doublecomplex *dx, const integer *incx);
73 
74  void F77NAME(zswap)(const integer *n, doublecomplex *dx, const integer *incx,
75  doublecomplex *dy, integer *incy);
76 
77 #endif
78 }
79 
80 #endif
81 
double F77NAME() dnrm2(const integer *n, const double *dx, const integer *incx)
void F77NAME() daxpy(const integer *n, const double *da, const double *dx, const integer *incx, double *dy, const integer *incy)
double F77NAME() dasum(const integer *n, const double *dx, const integer *incx)
void F77NAME() dscal(const integer *n, double *da, double *dx, const integer *incx)
long int integer
Definition: f77lapack.h:61
void F77NAME() dswap(const integer *n, double *dx, const integer *incx, double *dy, const integer *incy)
integer F77NAME() idamax(const integer *n, const double *dx, const integer *incx)
void F77NAME() zswap(int *n, COMPLEX *x, int *incx, COMPLEX *y, int *incy)
#define F77NAME(x)
Definition: arch.h:17
void F77NAME() drot(const integer *n, double *dx, const integer *incx, double *dy, const integer *incy, const double *c, const double *s)
double F77NAME() ddot(const integer *n, const double *dx, const integer *incx, const double *dy, const integer *incy)
void F77NAME() dcopy(const integer *n, double *dx, const integer *incx, double *dy, const integer *incy)
void F77NAME() drotg(double *da, double *db, double *c, double *s)