41{
44
45 LAPACK_stbrfs( &uplo, &trans, &diag, &n, &kd, &nrhs, ab, &ldab, b, &ldb,
46 x, &ldx, ferr, berr, work, iwork, &info );
47 if( info < 0 ) {
48 info = info - 1;
49 }
54 float* ab_t = NULL;
55 float* b_t = NULL;
56 float* x_t = NULL;
57
58 if( ldab < n ) {
59 info = -9;
61 return info;
62 }
63 if( ldb < nrhs ) {
64 info = -11;
66 return info;
67 }
68 if( ldx < nrhs ) {
69 info = -13;
71 return info;
72 }
73
75 if( ab_t == NULL ) {
77 goto exit_level_0;
78 }
80 if( b_t == NULL ) {
82 goto exit_level_1;
83 }
85 if( x_t == NULL ) {
87 goto exit_level_2;
88 }
89
91 ldab_t );
94
95 LAPACK_stbrfs( &uplo, &trans, &diag, &n, &kd, &nrhs, ab_t, &ldab_t, b_t,
96 &ldb_t, x_t, &ldx_t, ferr, berr, work, iwork, &info );
97 if( info < 0 ) {
98 info = info - 1;
99 }
100
102exit_level_2:
104exit_level_1:
106exit_level_0:
109 }
110 } else {
111 info = -1;
113 }
114 return info;
115}
#define LAPACK_stbrfs(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
void LAPACKE_xerbla(const char *name, lapack_int info)
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_stb_trans(int matrix_layout, char uplo, char diag, lapack_int n, lapack_int kd, const float *in, lapack_int ldin, float *out, lapack_int ldout)