45{
48
49 LAPACK_dporfsx( &uplo, &equed, &n, &nrhs, a, &lda, af, &ldaf, s, b,
50 &ldb, x, &ldx, rcond, berr, &n_err_bnds, err_bnds_norm,
51 err_bnds_comp, &nparams, params, work, iwork, &info );
52 if( info < 0 ) {
53 info = info - 1;
54 }
60 double* a_t = NULL;
61 double* af_t = NULL;
62 double* b_t = NULL;
63 double* x_t = NULL;
64 double* err_bnds_norm_t = NULL;
65 double* err_bnds_comp_t = NULL;
66
67 if( lda < n ) {
68 info = -7;
70 return info;
71 }
72 if( ldaf < n ) {
73 info = -9;
75 return info;
76 }
77 if( ldb < nrhs ) {
78 info = -12;
80 return info;
81 }
82 if( ldx < nrhs ) {
83 info = -14;
85 return info;
86 }
87
89 if( a_t == NULL ) {
91 goto exit_level_0;
92 }
94 if( af_t == NULL ) {
96 goto exit_level_1;
97 }
99 if( b_t == NULL ) {
101 goto exit_level_2;
102 }
104 if( x_t == NULL ) {
106 goto exit_level_3;
107 }
108 err_bnds_norm_t = (double*)
110 if( err_bnds_norm_t == NULL ) {
112 goto exit_level_4;
113 }
114 err_bnds_comp_t = (double*)
116 if( err_bnds_comp_t == NULL ) {
118 goto exit_level_5;
119 }
120
125
126 LAPACK_dporfsx( &uplo, &equed, &n, &nrhs, a_t, &lda_t, af_t, &ldaf_t, s,
127 b_t, &ldb_t, x_t, &ldx_t, rcond, berr, &n_err_bnds,
128 err_bnds_norm_t, err_bnds_comp_t, &nparams, params,
129 work, iwork, &info );
130 if( info < 0 ) {
131 info = info - 1;
132 }
133
136 nrhs, err_bnds_norm, nrhs );
138 nrhs, err_bnds_comp, nrhs );
139
141exit_level_5:
143exit_level_4:
145exit_level_3:
147exit_level_2:
149exit_level_1:
151exit_level_0:
154 }
155 } else {
156 info = -1;
158 }
159 return info;
160}
#define LAPACK_dporfsx(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
void LAPACKE_xerbla(const char *name, lapack_int info)
void LAPACKE_dge_trans(int matrix_layout, lapack_int m, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)
void LAPACKE_dsy_trans(int matrix_layout, char uplo, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)