42{
45
46 LAPACK_dpbsvx( &fact, &uplo, &n, &kd, &nrhs, ab, &ldab, afb, &ldafb,
47 equed, s, b, &ldb, x, &ldx, rcond, ferr, berr, work,
48 iwork, &info );
49 if( info < 0 ) {
50 info = info - 1;
51 }
57 double* ab_t = NULL;
58 double* afb_t = NULL;
59 double* b_t = NULL;
60 double* x_t = NULL;
61
62 if( ldab < n ) {
63 info = -8;
65 return info;
66 }
67 if( ldafb < n ) {
68 info = -10;
70 return info;
71 }
72 if( ldb < nrhs ) {
73 info = -14;
75 return info;
76 }
77 if( ldx < nrhs ) {
78 info = -16;
80 return info;
81 }
82
84 if( ab_t == NULL ) {
86 goto exit_level_0;
87 }
89 if( afb_t == NULL ) {
91 goto exit_level_1;
92 }
94 if( b_t == NULL ) {
96 goto exit_level_2;
97 }
99 if( x_t == NULL ) {
101 goto exit_level_3;
102 }
103
107 ldafb_t );
108 }
110
111 LAPACK_dpbsvx( &fact, &uplo, &n, &kd, &nrhs, ab_t, &ldab_t, afb_t,
112 &ldafb_t, equed, s, b_t, &ldb_t, x_t, &ldx_t, rcond,
113 ferr, berr, work, iwork, &info );
114 if( info < 0 ) {
115 info = info - 1;
116 }
117
120 ldab );
121 }
124 afb, ldafb );
125 }
128
130exit_level_3:
132exit_level_2:
134exit_level_1:
136exit_level_0:
139 }
140 } else {
141 info = -1;
143 }
144 return info;
145}
#define LAPACK_dpbsvx(...)
#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_dpb_trans(int matrix_layout, char uplo, lapack_int n, lapack_int kd, 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)