46{
49
50 LAPACK_dgesvxx( &fact, &trans, &n, &nrhs, a, &lda, af, &ldaf, ipiv,
51 equed, r, c, b, &ldb, x, &ldx, rcond, rpvgrw, berr,
52 &n_err_bnds, err_bnds_norm, err_bnds_comp, &nparams,
53 params, work, iwork, &info );
54 if( info < 0 ) {
55 info = info - 1;
56 }
62 double* a_t = NULL;
63 double* af_t = NULL;
64 double* b_t = NULL;
65 double* x_t = NULL;
66 double* err_bnds_norm_t = NULL;
67 double* err_bnds_comp_t = NULL;
68
69 if( lda < n ) {
70 info = -7;
72 return info;
73 }
74 if( ldaf < n ) {
75 info = -9;
77 return info;
78 }
79 if( ldb < nrhs ) {
80 info = -15;
82 return info;
83 }
84 if( ldx < nrhs ) {
85 info = -17;
87 return info;
88 }
89
91 if( a_t == NULL ) {
93 goto exit_level_0;
94 }
96 if( af_t == NULL ) {
98 goto exit_level_1;
99 }
101 if( b_t == NULL ) {
103 goto exit_level_2;
104 }
106 if( x_t == NULL ) {
108 goto exit_level_3;
109 }
110 err_bnds_norm_t = (double*)
112 if( err_bnds_norm_t == NULL ) {
114 goto exit_level_4;
115 }
116 err_bnds_comp_t = (double*)
118 if( err_bnds_comp_t == NULL ) {
120 goto exit_level_5;
121 }
122
126 }
128
129 LAPACK_dgesvxx( &fact, &trans, &n, &nrhs, a_t, &lda_t, af_t, &ldaf_t,
130 ipiv, equed, r, c, b_t, &ldb_t, x_t, &ldx_t, rcond,
131 rpvgrw, berr, &n_err_bnds, err_bnds_norm_t,
132 err_bnds_comp_t, &nparams, params, work, iwork, &info );
133 if( info < 0 ) {
134 info = info - 1;
135 }
136
140 }
143 }
147 }
150 nrhs, err_bnds_norm, n_err_bnds );
152 nrhs, err_bnds_comp, n_err_bnds );
153
155exit_level_5:
157exit_level_4:
159exit_level_3:
161exit_level_2:
163exit_level_1:
165exit_level_0:
168 }
169 } else {
170 info = -1;
172 }
173 return info;
174}
#define LAPACK_dgesvxx(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
lapack_logical LAPACKE_lsame(char ca, char cb)
void LAPACKE_xerbla(const char *name, lapack_int info)
void LAPACKE_dge_trans(int matrix_layout, lapack_int m, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)