47{
50
51 LAPACK_zporfsx( &uplo, &equed, &n, &nrhs, a, &lda, af, &ldaf, s, b,
52 &ldb, x, &ldx, rcond, berr, &n_err_bnds, err_bnds_norm,
53 err_bnds_comp, &nparams, params, work, rwork, &info );
54 if( info < 0 ) {
55 info = info - 1;
56 }
66 double* err_bnds_norm_t = NULL;
67 double* err_bnds_comp_t = NULL;
68
69 if( lda < n ) {
70 info = -7;
72 return info;
73 }
74 if( ldaf < n ) {
75 info = -9;
77 return info;
78 }
79 if( ldb < nrhs ) {
80 info = -12;
82 return info;
83 }
84 if( ldx < nrhs ) {
85 info = -14;
87 return info;
88 }
89
92 if( a_t == NULL ) {
94 goto exit_level_0;
95 }
98 if( af_t == NULL ) {
100 goto exit_level_1;
101 }
104 ldb_t *
MAX(1,nrhs) );
105 if( b_t == NULL ) {
107 goto exit_level_2;
108 }
111 ldx_t *
MAX(1,nrhs) );
112 if( x_t == NULL ) {
114 goto exit_level_3;
115 }
116 err_bnds_norm_t = (double*)
118 if( err_bnds_norm_t == NULL ) {
120 goto exit_level_4;
121 }
122 err_bnds_comp_t = (double*)
124 if( err_bnds_comp_t == NULL ) {
126 goto exit_level_5;
127 }
128
133
134 LAPACK_zporfsx( &uplo, &equed, &n, &nrhs, a_t, &lda_t, af_t, &ldaf_t, s,
135 b_t, &ldb_t, x_t, &ldx_t, rcond, berr, &n_err_bnds,
136 err_bnds_norm_t, err_bnds_comp_t, &nparams, params,
137 work, rwork, &info );
138 if( info < 0 ) {
139 info = info - 1;
140 }
141
144 nrhs, err_bnds_norm, nrhs );
146 nrhs, err_bnds_comp, nrhs );
147
149exit_level_5:
151exit_level_4:
153exit_level_3:
155exit_level_2:
157exit_level_1:
159exit_level_0:
162 }
163 } else {
164 info = -1;
166 }
167 return info;
168}
#define LAPACK_zporfsx(...)
#define lapack_complex_double
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
void LAPACKE_xerbla(const char *name, lapack_int info)
void LAPACKE_zge_trans(int matrix_layout, lapack_int m, lapack_int n, const lapack_complex_double *in, lapack_int ldin, lapack_complex_double *out, lapack_int ldout)
void LAPACKE_zsy_trans(int matrix_layout, char uplo, lapack_int n, const lapack_complex_double *in, lapack_int ldin, lapack_complex_double *out, lapack_int ldout)
void LAPACKE_dge_trans(int matrix_layout, lapack_int m, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)