45{
48
49 LAPACK_sgerfsx( &trans, &equed, &n, &nrhs, a, &lda, af, &ldaf, ipiv, r,
50 c, b, &ldb, x, &ldx, rcond, berr, &n_err_bnds,
51 err_bnds_norm, err_bnds_comp, &nparams, params, work,
52 iwork, &info );
53 if( info < 0 ) {
54 info = info - 1;
55 }
61 float* a_t = NULL;
62 float* af_t = NULL;
63 float* b_t = NULL;
64 float* x_t = NULL;
65 float* err_bnds_norm_t = NULL;
66 float* err_bnds_comp_t = NULL;
67
68 if( lda < n ) {
69 info = -7;
71 return info;
72 }
73 if( ldaf < n ) {
74 info = -9;
76 return info;
77 }
78 if( ldb < nrhs ) {
79 info = -14;
81 return info;
82 }
83 if( ldx < nrhs ) {
84 info = -16;
86 return info;
87 }
88
90 if( a_t == NULL ) {
92 goto exit_level_0;
93 }
95 if( af_t == NULL ) {
97 goto exit_level_1;
98 }
100 if( b_t == NULL ) {
102 goto exit_level_2;
103 }
105 if( x_t == NULL ) {
107 goto exit_level_3;
108 }
109 err_bnds_norm_t = (float*)
111 if( err_bnds_norm_t == NULL ) {
113 goto exit_level_4;
114 }
115 err_bnds_comp_t = (float*)
117 if( err_bnds_comp_t == NULL ) {
119 goto exit_level_5;
120 }
121
126
127 LAPACK_sgerfsx( &trans, &equed, &n, &nrhs, a_t, &lda_t, af_t, &ldaf_t,
128 ipiv, r, c, b_t, &ldb_t, x_t, &ldx_t, rcond, berr,
129 &n_err_bnds, err_bnds_norm_t, err_bnds_comp_t, &nparams,
130 params, work, iwork, &info );
131 if( info < 0 ) {
132 info = info - 1;
133 }
134
137 nrhs, err_bnds_norm, nrhs );
139 nrhs, err_bnds_comp, nrhs );
140
142exit_level_5:
144exit_level_4:
146exit_level_3:
148exit_level_2:
150exit_level_1:
152exit_level_0:
155 }
156 } else {
157 info = -1;
159 }
160 return info;
161}
#define LAPACK_sgerfsx(...)
#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)