40{
43
44 LAPACK_dggbal( &job, &n, a, &lda, b, &ldb, ilo, ihi, lscale, rscale,
45 work, &info );
46 if( info < 0 ) {
47 info = info - 1;
48 }
52 double* a_t = NULL;
53 double* b_t = NULL;
54
55 if( lda < n ) {
56 info = -5;
58 return info;
59 }
60 if( ldb < n ) {
61 info = -7;
63 return info;
64 }
65
69 if( a_t == NULL ) {
71 goto exit_level_0;
72 }
73 }
77 if( b_t == NULL ) {
79 goto exit_level_1;
80 }
81 }
82
86 }
90 }
91
92 LAPACK_dggbal( &job, &n, a_t, &lda_t, b_t, &ldb_t, ilo, ihi, lscale,
93 rscale, work, &info );
94 if( info < 0 ) {
95 info = info - 1;
96 }
97
101 }
105 }
106
110 }
111exit_level_1:
115 }
116exit_level_0:
119 }
120 } else {
121 info = -1;
123 }
124 return info;
125}
#define LAPACK_dggbal(...)
#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)