50{
53
54 LAPACK_cgbrfsx( &trans, &equed, &n, &kl, &ku, &nrhs, ab, &ldab, afb,
55 &ldafb, ipiv, r, c, b, &ldb, x, &ldx, rcond, berr,
56 &n_err_bnds, err_bnds_norm, err_bnds_comp, &nparams,
57 params, work, rwork, &info );
58 if( info < 0 ) {
59 info = info - 1;
60 }
70 float* err_bnds_norm_t = NULL;
71 float* err_bnds_comp_t = NULL;
72
73 if( ldab < n ) {
74 info = -9;
76 return info;
77 }
78 if( ldafb < n ) {
79 info = -11;
81 return info;
82 }
83 if( ldb < nrhs ) {
84 info = -16;
86 return info;
87 }
88 if( ldx < nrhs ) {
89 info = -18;
91 return info;
92 }
93
96 if( ab_t == NULL ) {
98 goto exit_level_0;
99 }
102 if( afb_t == NULL ) {
104 goto exit_level_1;
105 }
108 ldb_t *
MAX(1,nrhs) );
109 if( b_t == NULL ) {
111 goto exit_level_2;
112 }
115 ldx_t *
MAX(1,nrhs) );
116 if( x_t == NULL ) {
118 goto exit_level_3;
119 }
120 err_bnds_norm_t = (float*)
122 if( err_bnds_norm_t == NULL ) {
124 goto exit_level_4;
125 }
126 err_bnds_comp_t = (float*)
128 if( err_bnds_comp_t == NULL ) {
130 goto exit_level_5;
131 }
132
135 ldafb_t );
138
139 LAPACK_cgbrfsx( &trans, &equed, &n, &kl, &ku, &nrhs, ab_t, &ldab_t,
140 afb_t, &ldafb_t, ipiv, r, c, b_t, &ldb_t, x_t, &ldx_t,
141 rcond, berr, &n_err_bnds, err_bnds_norm_t,
142 err_bnds_comp_t, &nparams, params, work, rwork, &info );
143 if( info < 0 ) {
144 info = info - 1;
145 }
146
149 nrhs, err_bnds_norm, nrhs );
151 nrhs, err_bnds_comp, nrhs );
152
154exit_level_5:
156exit_level_4:
158exit_level_3:
160exit_level_2:
162exit_level_1:
164exit_level_0:
167 }
168 } else {
169 info = -1;
171 }
172 return info;
173}
#define lapack_complex_float
#define LAPACK_cgbrfsx(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
void LAPACKE_xerbla(const char *name, lapack_int info)
void LAPACKE_cgb_trans(int matrix_layout, lapack_int m, lapack_int n, lapack_int kl, lapack_int ku, const lapack_complex_float *in, lapack_int ldin, lapack_complex_float *out, lapack_int ldout)
void LAPACKE_sge_trans(int matrix_layout, lapack_int m, lapack_int n, const float *in, lapack_int ldin, float *out, lapack_int ldout)
void LAPACKE_cge_trans(int matrix_layout, lapack_int m, lapack_int n, const lapack_complex_float *in, lapack_int ldin, lapack_complex_float *out, lapack_int ldout)