39{
42
43 LAPACK_dspgv( &itype, &jobz, &uplo, &
n, ap, bp, w, z, &ldz, work,
44 &info );
45 if( info < 0 ) {
46 info = info - 1;
47 }
50 double* z_t = NULL;
51 double* ap_t = NULL;
52 double* bp_t = NULL;
53
55 info = -10;
57 return info;
58 }
59
62 if( z_t == NULL ) {
64 goto exit_level_0;
65 }
66 }
67 ap_t = (double*)
69 if( ap_t == NULL ) {
71 goto exit_level_1;
72 }
73 bp_t = (double*)
75 if( bp_t == NULL ) {
77 goto exit_level_2;
78 }
79
82
83 LAPACK_dspgv( &itype, &jobz, &uplo, &
n, ap_t, bp_t, w, z_t, &ldz_t,
84 work, &info );
85 if( info < 0 ) {
86 info = info - 1;
87 }
88
91 }
94
96exit_level_2:
98exit_level_1:
101 }
102exit_level_0:
105 }
106 } else {
107 info = -1;
109 }
110 return info;
111}
#define LAPACK_dspgv(...)
#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_dsp_trans(int matrix_layout, char uplo, lapack_int n, const double *in, double *out)
void LAPACKE_dge_trans(int matrix_layout, lapack_int m, lapack_int n, const double *in, lapack_int ldin, double *out, lapack_int ldout)