124 double* rwork = NULL;
132 #ifndef LAPACK_DISABLE_NAN_CHECK
142 if( iwork == NULL ) {
146 lwork =
MAX( lwork, 1 );
151 if( !want_u && !want_v && !want_sce ) lwork =
MAX( lwork, 2*n+1 );
152 if( !want_u && !want_v && want_sce ) lwork =
MAX( lwork, n*n+3*n );
157 if( cwork == NULL ) {
161 lrwork =
MAX3( lrwork, 7, n+2*m );
163 if( rwork == NULL ) {
169 jobp, m, n, a, lda, sva, u, ldu, v, ldv, cwork,
170 lwork, rwork, lrwork, iwork );
172 for( i=0; i<7; i++ ) {
175 for( i=0; i<3; i++ ) {
#define LAPACK_WORK_MEMORY_ERROR
#define lapack_complex_double
lapack_int LAPACKE_zgejsv(int matrix_layout, char joba, char jobu, char jobv, char jobr, char jobt, char jobp, lapack_int m, lapack_int n, lapack_complex_double *a, lapack_int lda, double *sva, lapack_complex_double *u, lapack_int ldu, lapack_complex_double *v, lapack_int ldv, double *stat, lapack_int *istat)
#define LAPACKE_malloc(size)
lapack_logical LAPACKE_lsame(char ca, char cb)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_int LAPACKE_zgejsv_work(int matrix_layout, char joba, char jobu, char jobv, char jobr, char jobt, char jobp, lapack_int m, lapack_int n, lapack_complex_double *a, lapack_int lda, double *sva, lapack_complex_double *u, lapack_int ldu, lapack_complex_double *v, lapack_int ldv, lapack_complex_double *cwork, lapack_int lwork, double *work, lapack_int lrwork, lapack_int *iwork)
lapack_logical LAPACKE_zge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const lapack_complex_double *a, lapack_int lda)