47{
50
51 LAPACK_dgbrfsx( &trans, &equed, &n, &kl, &ku, &nrhs, ab, &ldab, afb,
52 &ldafb, ipiv, r, c, b, &ldb, x, &ldx, rcond, berr,
53 &n_err_bnds, err_bnds_norm, err_bnds_comp, &nparams,
54 params, work, iwork, &info );
55 if( info < 0 ) {
56 info = info - 1;
57 }
63 double* ab_t = NULL;
64 double* afb_t = NULL;
65 double* b_t = NULL;
66 double* x_t = NULL;
67 double* err_bnds_norm_t = NULL;
68 double* err_bnds_comp_t = NULL;
69
70 if( ldab < n ) {
71 info = -9;
73 return info;
74 }
75 if( ldafb < n ) {
76 info = -11;
78 return info;
79 }
80 if( ldb < nrhs ) {
81 info = -16;
83 return info;
84 }
85 if( ldx < nrhs ) {
86 info = -18;
88 return info;
89 }
90
92 if( ab_t == NULL ) {
94 goto exit_level_0;
95 }
97 if( afb_t == NULL ) {
99 goto exit_level_1;
100 }
102 if( b_t == NULL ) {
104 goto exit_level_2;
105 }
107 if( x_t == NULL ) {
109 goto exit_level_3;
110 }
111 err_bnds_norm_t = (double*)
113 if( err_bnds_norm_t == NULL ) {
115 goto exit_level_4;
116 }
117 err_bnds_comp_t = (double*)
119 if( err_bnds_comp_t == NULL ) {
121 goto exit_level_5;
122 }
123
126 ldafb_t );
129
130 LAPACK_dgbrfsx( &trans, &equed, &n, &kl, &ku, &nrhs, ab_t, &ldab_t,
131 afb_t, &ldafb_t, ipiv, r, c, b_t, &ldb_t, x_t, &ldx_t,
132 rcond, berr, &n_err_bnds, err_bnds_norm_t,
133 err_bnds_comp_t, &nparams, params, work, iwork, &info );
134 if( info < 0 ) {
135 info = info - 1;
136 }
137
140 nrhs, err_bnds_norm, nrhs );
142 nrhs, err_bnds_comp, nrhs );
143
145exit_level_5:
147exit_level_4:
149exit_level_3:
151exit_level_2:
153exit_level_1:
155exit_level_0:
158 }
159 } else {
160 info = -1;
162 }
163 return info;
164}
#define LAPACK_dgbrfsx(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
void LAPACKE_xerbla(const char *name, lapack_int info)
void LAPACKE_dgb_trans(int matrix_layout, lapack_int m, lapack_int n, lapack_int kl, lapack_int ku, const double *in, lapack_int ldin, double *out, lapack_int ldout)
void LAPACKE_dge_trans(int matrix_layout, lapack_int m, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)