38{
41 double* work = NULL;
42 double work_query;
45 return -1;
46 }
47#ifndef LAPACK_DISABLE_NAN_CHECK
49
51 return -4;
52 }
53 }
54#endif
55
57 lwork );
58 if( info != 0 ) {
59 goto exit_level_0;
60 }
61 if( tsize == -1 || tsize == -2 ) {
62 goto exit_level_0;
63 }
65
67 if( work == NULL ) {
69 goto exit_level_0;
70 }
71
73
75exit_level_0:
78 }
79 return info;
80}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_dgeqr_work(int matrix_layout, lapack_int m, lapack_int n, double *a, lapack_int lda, double *t, lapack_int tsize, double *work, lapack_int lwork)
int LAPACKE_get_nancheck(void)
#define LAPACKE_malloc(size)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)