82 #ifndef LAPACK_DISABLE_NAN_CHECK
96 lwork =
MAX3( lwork, 7, 2*m+n );
101 if( !want_u && !want_v && !want_sce ) lwork =
MAX( lwork, 4*n+1 );
102 if( !want_u && !want_v && want_sce ) lwork =
MAX( lwork, n*n+4*n );
103 if( !want_u && want_v ) lwork =
MAX( lwork, 4*n+1 );
104 if( want_u && !want_v ) lwork =
MAX( lwork, 4*n+1 );
106 if( want_u &&
LAPACKE_lsame( jobv,
'j' ) ) lwork =
MAX3( lwork, 4*n+n*n, 2*n+n*n+6 );
115 jobp, m, n, a, lda, sva, u, ldu, v, ldv, work,
118 for( i=0; i<7; i++ ) {
121 for( i=0; i<3; i++ ) {
#define LAPACK_WORK_MEMORY_ERROR
lapack_logical LAPACKE_sge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const float *a, lapack_int lda)
#define LAPACKE_malloc(size)
lapack_int LAPACKE_sgejsv_work(int matrix_layout, char joba, char jobu, char jobv, char jobr, char jobt, char jobp, lapack_int m, lapack_int n, float *a, lapack_int lda, float *sva, float *u, lapack_int ldu, float *v, lapack_int ldv, float *work, lapack_int lwork, lapack_int *iwork)
lapack_logical LAPACKE_lsame(char ca, char cb)
void LAPACKE_xerbla(const char *name, lapack_int info)