MsPASS C++ API
2.4.3.dev1+g61b06b96
Defines the C++ API for MsPASS
Loading...
Searching...
No Matches
cxx
include
misc
blas.h
1
#ifndef __BLAS_H
2
#define __BLAS_H
3
4
#include "FC.h"
5
6
#ifndef dgesv
7
#define dgesv FC_GLOBAL(dgesv, DGESV)
8
#endif
9
#ifndef dpotrf
10
#define dpotrf FC_GLOBAL(dpotrf, DPOTRF)
11
#endif
12
#ifndef dpotrs
13
#define dpotrs FC_GLOBAL(dpotrs, DPOTRS)
14
#endif
15
#ifndef dsyev
16
#define dsyev FC_GLOBAL(dsyev, DSYEV)
17
#endif
18
19
extern
"C"
{
20
double
ddot(
const
int
& n,
const
double
*x,
const
int
& incx,
21
const
double
*y,
const
int
& incy);
22
double
dscal(
const
int
& n,
const
double
& a,
const
double
*x,
const
int
& incx);
23
double
daxpy(
const
int
&n,
const
double
& a,
const
double
*x,
const
int
& incx,
24
const
double
*y,
const
int
& incy);
25
double
dcopy(
const
int
&n,
const
double
*x,
const
int
& incx,
26
const
double
*y,
const
int
& incy);
27
double
dnrm2(
const
int
&n,
const
double
*x,
const
int
& incx);
28
void
dgetrf(
int
&,
int
&,
double
*,
int
&,
int
*,
int
&);
29
void
dgetri(
int
&,
double
*,
int
&,
int
*,
double
*,
int
&,
int
&);
30
void
dgesv(
int
&,
int
&,
double
*,
int
&,
int
*,
double
*,
int
&,
int
&);
31
void
dpotrf(
char
*,
int
&,
double
*,
int
&,
int
&);
32
void
dpotrs(
char
*,
int
&,
int
&,
double
*,
int
&,
double
*,
int
&,
int
&);
33
void
dsyev(
char
*,
char
*,
int
&,
double
*,
int
&,
double
*,
double
*,
int
&,
int
&);
34
double
dlamch(
const
char
*cmach);
35
int
dstebz(
char
*range,
char
*order,
int
*n,
double
36
*vl,
double
*vu,
int
*il,
int
*iu,
double
*abstol,
37
double
*d__,
double
*e,
int
*m,
int
*nsplit,
38
double
*w,
int
*iblock,
int
*isplit,
double
*work,
39
int
*iwork,
int
*info);
40
int
dstein(
int
*n,
double
*d__,
double
*e,
41
int
*m,
double
*w,
int
*iblock,
int
*isplit,
42
double
*z__,
int
*ldz,
double
*work,
int
*iwork,
43
int
*ifail,
int
*info);
44
45
};
46
47
#endif
Generated by
1.9.8