41{
44
45 LAPACK_dsprfs( &uplo, &n, &nrhs, ap, afp, ipiv, b, &ldb, x, &ldx, ferr,
46 berr, work, iwork, &info );
47 if( info < 0 ) {
48 info = info - 1;
49 }
53 double* b_t = NULL;
54 double* x_t = NULL;
55 double* ap_t = NULL;
56 double* afp_t = NULL;
57
58 if( ldb < nrhs ) {
59 info = -9;
61 return info;
62 }
63 if( ldx < nrhs ) {
64 info = -11;
66 return info;
67 }
68
70 if( b_t == NULL ) {
72 goto exit_level_0;
73 }
75 if( x_t == NULL ) {
77 goto exit_level_1;
78 }
79 ap_t = (double*)
81 if( ap_t == NULL ) {
83 goto exit_level_2;
84 }
85 afp_t = (double*)
87 if( afp_t == NULL ) {
89 goto exit_level_3;
90 }
91
96
97 LAPACK_dsprfs( &uplo, &n, &nrhs, ap_t, afp_t, ipiv, b_t, &ldb_t, x_t,
98 &ldx_t, ferr, berr, work, iwork, &info );
99 if( info < 0 ) {
100 info = info - 1;
101 }
102
104
106exit_level_3:
108exit_level_2:
110exit_level_1:
112exit_level_0:
115 }
116 } else {
117 info = -1;
119 }
120 return info;
121}
#define LAPACK_dsprfs(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
void LAPACKE_xerbla(const char *name, lapack_int info)
void LAPACKE_dsp_trans(int matrix_layout, char uplo, lapack_int n, const double *in, double *out)
void LAPACKE_dge_trans(int matrix_layout, lapack_int m, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)