40{
43
44 LAPACK_dsposv( &uplo, &n, &nrhs, a, &lda, b, &ldb, x, &ldx, work, swork,
45 iter, &info );
46 if( info < 0 ) {
47 info = info - 1;
48 }
53 double* a_t = NULL;
54 double* b_t = NULL;
55 double* x_t = NULL;
56
57 if( lda < n ) {
58 info = -6;
60 return info;
61 }
62 if( ldb < nrhs ) {
63 info = -8;
65 return info;
66 }
67 if( ldx < nrhs ) {
68 info = -10;
70 return info;
71 }
72
74 if( a_t == NULL ) {
76 goto exit_level_0;
77 }
79 if( b_t == NULL ) {
81 goto exit_level_1;
82 }
84 if( x_t == NULL ) {
86 goto exit_level_2;
87 }
88
91
92 LAPACK_dsposv( &uplo, &n, &nrhs, a_t, &lda_t, b_t, &ldb_t, x_t, &ldx_t,
93 work, swork, iter, &info );
94 if( info < 0 ) {
95 info = info - 1;
96 }
97
101
103exit_level_2:
105exit_level_1:
107exit_level_0:
110 }
111 } else {
112 info = -1;
114 }
115 return info;
116}
#define LAPACK_dsposv(...)
#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_dpo_trans(int matrix_layout, char uplo, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)