41{
44 double* work = NULL;
47 return -1;
48 }
49#ifndef LAPACK_DISABLE_NAN_CHECK
51
53 return -5;
54 }
56 return -7;
57 }
59 return -10;
60 }
62 return -12;
63 }
64 }
65#endif
66
68 if( iwork == NULL ) {
70 goto exit_level_0;
71 }
73 if( work == NULL ) {
75 goto exit_level_1;
76 }
77
79 ipiv, b, ldb, x, ldx, ferr, berr, work, iwork );
80
82exit_level_1:
84exit_level_0:
87 }
88 return info;
89}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_dgerfs_work(int matrix_layout, char trans, lapack_int n, lapack_int nrhs, const double *a, lapack_int lda, const double *af, lapack_int ldaf, const lapack_int *ipiv, const double *b, lapack_int ldb, double *x, lapack_int ldx, double *ferr, double *berr, double *work, lapack_int *iwork)
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)