48{
51
52 LAPACK_cgbsvxx( &fact, &trans, &n, &kl, &ku, &nrhs, ab, &ldab, afb,
53 &ldafb, ipiv, equed, r, c, b, &ldb, x, &ldx, rcond,
54 rpvgrw, berr, &n_err_bnds, err_bnds_norm, err_bnds_comp,
55 &nparams, params, work, rwork, &info );
56 if( info < 0 ) {
57 info = info - 1;
58 }
68 float* err_bnds_norm_t = NULL;
69 float* err_bnds_comp_t = NULL;
70
71 if( ldab < n ) {
72 info = -9;
74 return info;
75 }
76 if( ldafb < n ) {
77 info = -11;
79 return info;
80 }
81 if( ldb < nrhs ) {
82 info = -17;
84 return info;
85 }
86 if( ldx < nrhs ) {
87 info = -19;
89 return info;
90 }
91
94 if( ab_t == NULL ) {
96 goto exit_level_0;
97 }
100 if( afb_t == NULL ) {
102 goto exit_level_1;
103 }
106 ldb_t *
MAX(1,nrhs) );
107 if( b_t == NULL ) {
109 goto exit_level_2;
110 }
113 ldx_t *
MAX(1,nrhs) );
114 if( x_t == NULL ) {
116 goto exit_level_3;
117 }
118 err_bnds_norm_t = (float*)
120 if( err_bnds_norm_t == NULL ) {
122 goto exit_level_4;
123 }
124 err_bnds_comp_t = (float*)
126 if( err_bnds_comp_t == NULL ) {
128 goto exit_level_5;
129 }
130
134 ldafb_t );
135 }
137
138 LAPACK_cgbsvxx( &fact, &trans, &n, &kl, &ku, &nrhs, ab_t, &ldab_t,
139 afb_t, &ldafb_t, ipiv, equed, r, c, b_t, &ldb_t, x_t,
140 &ldx_t, rcond, rpvgrw, berr, &n_err_bnds,
141 err_bnds_norm_t, err_bnds_comp_t, &nparams, params,
142 work, rwork, &info );
143 if( info < 0 ) {
144 info = info - 1;
145 }
146
150 ldab );
151 }
154 ldafb_t, afb, ldafb );
155 }
159 }
162 nrhs, err_bnds_norm, n_err_bnds );
164 nrhs, err_bnds_comp, n_err_bnds );
165
167exit_level_5:
169exit_level_4:
171exit_level_3:
173exit_level_2:
175exit_level_1:
177exit_level_0:
180 }
181 } else {
182 info = -1;
184 }
185 return info;
186}
#define LAPACK_cgbsvxx(...)
#define lapack_complex_float
#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_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)