41{
47 float* rwork = NULL;
50 float rwork_query;
54 return -1;
55 }
56#ifndef LAPACK_DISABLE_NAN_CHECK
58
60 return -6;
61 }
63 return -12;
64 }
67 return -8;
68 }
69 }
72 return -9;
73 }
74 }
75 }
76#endif
77
79 vu, il, iu, abstol, m, w, z, ldz, isuppz,
80 &work_query, lwork, &rwork_query, lrwork,
81 &iwork_query, liwork );
82 if( info != 0 ) {
83 goto exit_level_0;
84 }
85 liwork = iwork_query;
88
90 if( iwork == NULL ) {
92 goto exit_level_0;
93 }
95 if( rwork == NULL ) {
97 goto exit_level_1;
98 }
101 if( work == NULL ) {
103 goto exit_level_2;
104 }
105
107 vu, il, iu, abstol, m, w, z, ldz, isuppz, work,
108 lwork, rwork, lrwork, iwork, liwork );
109
111exit_level_2:
113exit_level_1:
115exit_level_0:
118 }
119 return info;
120}
#define lapack_complex_float
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_cheevr_work(int matrix_layout, char jobz, char range, char uplo, lapack_int n, lapack_complex_float *a, lapack_int lda, float vl, float vu, lapack_int il, lapack_int iu, float abstol, lapack_int *m, float *w, lapack_complex_float *z, lapack_int ldz, lapack_int *isuppz, lapack_complex_float *work, lapack_int lwork, float *rwork, lapack_int lrwork, lapack_int *iwork, lapack_int liwork)
int LAPACKE_get_nancheck(void)
#define LAPACKE_malloc(size)
lapack_logical LAPACKE_lsame(char ca, char cb)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_che_nancheck(int matrix_layout, char uplo, lapack_int n, const lapack_complex_float *a, lapack_int lda)
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)