38{
44 double* rwork = NULL;
47 double rwork_query;
51 return -1;
52 }
53#ifndef LAPACK_DISABLE_NAN_CHECK
55
57 return -4;
58 }
60 return -5;
61 }
64 return -6;
65 }
66 }
67 }
68#endif
69
71 &work_query, lwork, &rwork_query, lrwork,
72 &iwork_query, liwork );
73 if( info != 0 ) {
74 goto exit_level_0;
75 }
76 liwork = iwork_query;
79
81 if( iwork == NULL ) {
83 goto exit_level_0;
84 }
86 if( rwork == NULL ) {
88 goto exit_level_1;
89 }
92 if( work == NULL ) {
94 goto exit_level_2;
95 }
96
98 lwork, rwork, lrwork, iwork, liwork );
99
101exit_level_2:
103exit_level_1:
105exit_level_0:
108 }
109 return info;
110}
#define lapack_complex_double
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_zstedc_work(int matrix_layout, char compz, lapack_int n, double *d, double *e, lapack_complex_double *z, lapack_int ldz, lapack_complex_double *work, lapack_int lwork, double *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_zge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const lapack_complex_double *a, lapack_int lda)
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)