40{
43
44 LAPACK_dtrsyl( &trana, &tranb, &isgn, &m, &n, a, &lda, b, &ldb, c, &ldc,
45 scale, &info );
46 if( info < 0 ) {
47 info = info - 1;
48 }
53 double* a_t = NULL;
54 double* b_t = NULL;
55 double* c_t = NULL;
56
57 if( lda < m ) {
58 info = -8;
60 return info;
61 }
62 if( ldb < n ) {
63 info = -10;
65 return info;
66 }
67 if( ldc < n ) {
68 info = -12;
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( c_t == NULL ) {
86 goto exit_level_2;
87 }
88
92
93 LAPACK_dtrsyl( &trana, &tranb, &isgn, &m, &n, a_t, &lda_t, b_t, &ldb_t,
94 c_t, &ldc_t, scale, &info );
95 if( info < 0 ) {
96 info = info - 1;
97 }
98
100
102exit_level_2:
104exit_level_1:
106exit_level_0:
109 }
110 } else {
111 info = -1;
113 }
114 return info;
115}
#define LAPACK_dtrsyl(...)
#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)