syevx.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_LAPACK_CLAPACK_SYEVX_H_
36 #define _BLAZE_MATH_LAPACK_CLAPACK_SYEVX_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/util/Complex.h>
45 
46 
47 //=================================================================================================
48 //
49 // LAPACK FORWARD DECLARATIONS
50 //
51 //=================================================================================================
52 
53 //*************************************************************************************************
55 extern "C" {
56 
57 void ssyevx_( char* jobz, char* range, char* uplo, int* n, float* A, int* lda, float* vl, float* vu, int* il, int* iu, float* abstol, int* m, float* w, float* Z, int* ldz, float* work, int* lwork, int* iwork, int* ifail, int* info );
58 void dsyevx_( char* jobz, char* range, char* uplo, int* n, double* A, int* lda, double* vl, double* vu, int* il, int* iu, double* abstol, int* m, double* w, double* Z, int* ldz, double* work, int* lwork, int* iwork, int* ifail, int* info );
59 
60 }
62 //*************************************************************************************************
63 
64 
65 
66 
67 namespace blaze {
68 
69 //=================================================================================================
70 //
71 // LAPACK SYMMETRIC MATRIX EIGENVALUE FUNCTIONS (SYEVX)
72 //
73 //=================================================================================================
74 
75 //*************************************************************************************************
78 inline void syevx( char jobz, char range, char uplo, int n, float* A, int lda,
79  float vl, float vu, int il, int iu, float abstol, int* m, float* w,
80  float* Z, int ldz, float* work, int lwork, int* iwork, int* ifail, int* info );
81 
82 inline void syevx( char jobz, char range, char uplo, int n, double* A, int lda,
83  double vl, double vu, int il, int iu, double abstol, int* m, double* w,
84  double* Z, int ldz, double* work, int lwork, int* iwork, int* ifail, int* info );
86 //*************************************************************************************************
87 
88 
89 //*************************************************************************************************
146 inline void syevx( char jobz, char range, char uplo, int n, float* A, int lda,
147  float vl, float vu, int il, int iu, float abstol, int* m, float* w,
148  float* Z, int ldz, float* work, int lwork, int* iwork, int* ifail, int* info )
149 {
150  ++il;
151  ++iu;
152 
153  ssyevx_( &jobz, &range, &uplo, &n, A, &lda, &vl, &vu, &il, &iu,
154  &abstol, m, w, Z, &ldz, work, &lwork, iwork, ifail, info );
155 }
156 //*************************************************************************************************
157 
158 
159 //*************************************************************************************************
216 inline void syevx( char jobz, char range, char uplo, int n, double* A, int lda,
217  double vl, double vu, int il, int iu, double abstol, int* m, double* w,
218  double* Z, int ldz, double* work, int lwork, int* iwork, int* ifail, int* info )
219 {
220  ++il;
221  ++iu;
222 
223  dsyevx_( &jobz, &range, &uplo, &n, A, &lda, &vl, &vu, &il, &iu,
224  &abstol, m, w, Z, &ldz, work, &lwork, iwork, ifail, info );
225 }
226 //*************************************************************************************************
227 
228 } // namespace blaze
229 
230 #endif
void syevx(char jobz, char range, char uplo, int n, float *A, int lda, float vl, float vu, int il, int iu, float abstol, int *m, float *w, float *Z, int ldz, float *work, int lwork, int *iwork, int *ifail, int *info)
LAPACK kernel for computing the eigenvalues of the given dense symmetric single precision column-majo...
Definition: syevx.h:146
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Compile time assertion.
Header file for the complex data type.