BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lapack.h
Go to the documentation of this file.
1 #ifndef LAPACK_H
2 #define LAPACK_H
3 // eigenvalues / eigenvectors
4 extern void sgeev_(const char *, const char *, const int *, float *, const int *,
5  float *, float *, float *, const int *, float *, const int *,
6  float *, int *, int *);
7 extern void dgeev_(const char *, const char *, const int *, double *, const int *,
8  double *, double *, double *, const int *, double *, const int *,
9  double *, int *, int *);
10 extern void cgeev_(const char *, const char *, const int *, std::complex<float> *, const int *,
11  std::complex<float>*, std::complex<float> *, const int *, std::complex<float> *,
12  const int *, std::complex<float> *, int *, float*, int *);
13 extern void zgeev_(const char *, const char *, const int *, std::complex<double> *, const int *,
14  std::complex<double>*, std::complex<double> *, const int *, std::complex<double> *,
15  const int *, std::complex<double> *, int *, double*, int *);
16 // symmetric eigenvalues / eigenvectors
17 extern void sspevd_(const char *, const char *, const int *, float *, float *, float *,
18  const int *, float *, const int *, int *, const int *, int *);
19 extern void dspevd_(const char *, const char *, const int *, double *, double *, double *,
20  const int *, double *, const int *, int *, const int *, int *);
21 // SVD
22 extern void sgesdd_(const char *, const int *, const int *, float *, const int *,
23  float *, float *, const int *, float *, const int *, float *,
24  const int *, int *, int *);
25 extern void dgesdd_(const char *, const int *, const int *, double *, const int *,
26  double *, double *, const int *, double *, const int *, double *,
27  const int *, int *, int *);
28 extern void cgesdd_(const char *, const int *, const int *, std::complex<float> *, const int *,
29  float *, std::complex<float> *, const int *, std::complex<float> *, const int *,
30  std::complex<float> *, const int *, float*, int *, int *);
31 extern void zgesdd_(const char *, const int *, const int *, std::complex<double> *, const int *,
32  double *, std::complex<double> *, const int *, std::complex<double> *, const int *,
33  std::complex<double> *, const int *, double*, int *, int *);
34 #endif