40{
43 double* work = NULL;
44 double work_query;
47 return -1;
48 }
49#ifndef LAPACK_DISABLE_NAN_CHECK
51
53 return -7;
54 }
56 return -10;
57 }
59 return -9;
60 }
61 }
62#endif
63
65 t, tsize, c, ldc, &work_query, lwork );
66 if( info != 0 ) {
67 goto exit_level_0;
68 }
70
72 if( work == NULL ) {
74 goto exit_level_0;
75 }
76
78 t, tsize, c, ldc, work, lwork );
79
81exit_level_0:
84 }
85 return info;
86}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_dgemlq_work(int matrix_layout, char side, char trans, lapack_int m, lapack_int n, lapack_int k, const double *a, lapack_int lda, const double *t, lapack_int tsize, double *c, lapack_int ldc, 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_d_nancheck(lapack_int n, const double *x, lapack_int incx)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)