41{
44
45 LAPACK_sptsvx( &fact, &n, &nrhs, d, e, df, ef, b, &ldb, x, &ldx, rcond,
46 ferr, berr, work, &info );
47 if( info < 0 ) {
48 info = info - 1;
49 }
53 float* b_t = NULL;
54 float* x_t = NULL;
55
56 if( ldb < nrhs ) {
57 info = -10;
59 return info;
60 }
61 if( ldx < nrhs ) {
62 info = -12;
64 return info;
65 }
66
68 if( b_t == NULL ) {
70 goto exit_level_0;
71 }
73 if( x_t == NULL ) {
75 goto exit_level_1;
76 }
77
79
80 LAPACK_sptsvx( &fact, &n, &nrhs, d, e, df, ef, b_t, &ldb_t, x_t, &ldx_t,
81 rcond, ferr, berr, work, &info );
82 if( info < 0 ) {
83 info = info - 1;
84 }
85
87
89exit_level_1:
91exit_level_0:
94 }
95 } else {
96 info = -1;
98 }
99 return info;
100}
#define LAPACK_sptsvx(...)
#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)