45{
48
49 LAPACK_dposvxx( &fact, &uplo, &n, &nrhs, a, &lda, af, &ldaf, equed, s,
50 b, &ldb, x, &ldx, rcond, rpvgrw, 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 double* a_t = NULL;
62 double* af_t = NULL;
63 double* b_t = NULL;
64 double* x_t = NULL;
65 double* err_bnds_norm_t = NULL;
66 double* 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 = -13;
81 return info;
82 }
83 if( ldx < nrhs ) {
84 info = -15;
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 = (double*)
111 if( err_bnds_norm_t == NULL ) {
113 goto exit_level_4;
114 }
115 err_bnds_comp_t = (double*)
117 if( err_bnds_comp_t == NULL ) {
119 goto exit_level_5;
120 }
121
125 }
127
128 LAPACK_dposvxx( &fact, &uplo, &n, &nrhs, a_t, &lda_t, af_t, &ldaf_t,
129 equed, s, b_t, &ldb_t, x_t, &ldx_t, rcond, rpvgrw, berr,
130 &n_err_bnds, err_bnds_norm_t, err_bnds_comp_t, &nparams,
131 params, work, iwork, &info );
132 if( info < 0 ) {
133 info = info - 1;
134 }
135
138 }
141 ldaf );
142 }
146 nrhs, err_bnds_norm, n_err_bnds );
148 nrhs, err_bnds_comp, n_err_bnds );
149
151exit_level_5:
153exit_level_4:
155exit_level_3:
157exit_level_2:
159exit_level_1:
161exit_level_0:
164 }
165 } else {
166 info = -1;
168 }
169 return info;
170}
#define LAPACK_dposvxx(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
lapack_logical LAPACKE_lsame(char ca, char cb)
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_dpo_trans(int matrix_layout, char uplo, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)