42{
45
46 LAPACK_cgees( &jobvs, &sort, select, &n, a, &lda, sdim, w, vs, &ldvs,
47 work, &lwork, rwork, bwork, &info );
48 if( info < 0 ) {
49 info = info - 1;
50 }
56
57 if( lda < n ) {
58 info = -7;
60 return info;
61 }
62 if( ldvs < n ) {
63 info = -11;
65 return info;
66 }
67
68 if( lwork == -1 ) {
69 LAPACK_cgees( &jobvs, &sort, select, &n, a, &lda_t, sdim, w, vs,
70 &ldvs_t, work, &lwork, rwork, bwork, &info );
71 return (info < 0) ? (info - 1) : info;
72 }
73
76 if( a_t == NULL ) {
78 goto exit_level_0;
79 }
84 if( vs_t == NULL ) {
86 goto exit_level_1;
87 }
88 }
89
91
92 LAPACK_cgees( &jobvs, &sort, select, &n, a_t, &lda_t, sdim, w, vs_t,
93 &ldvs_t, work, &lwork, rwork, bwork, &info );
94 if( info < 0 ) {
95 info = info - 1;
96 }
97
101 }
102
105 }
106exit_level_1:
108exit_level_0:
111 }
112 } else {
113 info = -1;
115 }
116 return info;
117}
#define LAPACK_cgees(...)
#define lapack_complex_float
#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_cge_trans(int matrix_layout, lapack_int m, lapack_int n, const lapack_complex_float *in, lapack_int ldin, lapack_complex_float *out, lapack_int ldout)