43{
46
47 LAPACK_zsyrfs( &uplo, &n, &nrhs, a, &lda, af, &ldaf, ipiv, b, &ldb, x,
48 &ldx, ferr, berr, work, rwork, &info );
49 if( info < 0 ) {
50 info = info - 1;
51 }
61
62 if( lda < n ) {
63 info = -6;
65 return info;
66 }
67 if( ldaf < n ) {
68 info = -8;
70 return info;
71 }
72 if( ldb < nrhs ) {
73 info = -11;
75 return info;
76 }
77 if( ldx < nrhs ) {
78 info = -13;
80 return info;
81 }
82
85 if( a_t == NULL ) {
87 goto exit_level_0;
88 }
91 if( af_t == NULL ) {
93 goto exit_level_1;
94 }
97 ldb_t *
MAX(1,nrhs) );
98 if( b_t == NULL ) {
100 goto exit_level_2;
101 }
104 ldx_t *
MAX(1,nrhs) );
105 if( x_t == NULL ) {
107 goto exit_level_3;
108 }
109
114
115 LAPACK_zsyrfs( &uplo, &n, &nrhs, a_t, &lda_t, af_t, &ldaf_t, ipiv, b_t,
116 &ldb_t, x_t, &ldx_t, ferr, berr, work, rwork, &info );
117 if( info < 0 ) {
118 info = info - 1;
119 }
120
122
124exit_level_3:
126exit_level_2:
128exit_level_1:
130exit_level_0:
133 }
134 } else {
135 info = -1;
137 }
138 return info;
139}
#define LAPACK_zsyrfs(...)
#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)