39{
42 double* work = NULL;
43 double work_query;
46 return -1;
47 }
48#ifndef LAPACK_DISABLE_NAN_CHECK
50
52 return -5;
53 }
55 return -7;
56 }
57 }
58#endif
59
61 a, lda, tb, ltb, ipiv, ipiv2,
62 &work_query, lwork );
63 if( info != 0 ) {
64 goto exit_level_0;
65 }
67
69 if( work == NULL ) {
71 goto exit_level_0;
72 }
73
75 a, lda, tb, ltb, ipiv, ipiv2,
76 work, lwork );
77
79exit_level_0:
82 }
83 return info;
84}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_dsytrf_aa_2stage_work(int matrix_layout, char uplo, lapack_int n, double *a, lapack_int lda, double *tb, lapack_int ltb, lapack_int *ipiv, lapack_int *ipiv2, 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_dsy_nancheck(int matrix_layout, char uplo, lapack_int n, const double *a, lapack_int lda)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)