{
lapack_int info = 0;
lapack_complex_float* work = NULL;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_checon_3", -1 );
return -1;
if( LAPACKE_che_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_c_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_c_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
if( LAPACKE_s_nancheck( 1, &anorm, 1 ) ) {
lapack_int lwork = -1;
lapack_complex_float* work = NULL;
lapack_complex_float work_query;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_chetri_3", -1 );
return -1;
if( LAPACKE_che_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_c_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_c_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
#endif
{
lapack_int info = 0;
lapack_complex_float* work = NULL;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_csycon_3", -1 );
return -1;
if( LAPACKE_csy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_c_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_c_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
if( LAPACKE_s_nancheck( 1, &anorm, 1 ) ) {
lapack_int lwork = -1;
lapack_complex_float* work = NULL;
lapack_complex_float work_query;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_csytri_3", -1 );
return -1;
if( LAPACKE_csy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_c_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_c_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
#endif
lapack_int info = 0;
lapack_int* iwork = NULL;
double* work = NULL;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_dsycon_3", -1 );
return -1;
if( LAPACKE_dsy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_d_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_d_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
if( LAPACKE_d_nancheck( 1, &anorm, 1 ) ) {
lapack_int lwork = -1;
double* work = NULL;
double work_query;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_dsytri_3", -1 );
return -1;
if( LAPACKE_dsy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_d_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_d_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
#endif
lapack_int info = 0;
lapack_int* iwork = NULL;
float* work = NULL;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_ssycon_3", -1 );
return -1;
if( LAPACKE_ssy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_s_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_s_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
if( LAPACKE_s_nancheck( 1, &anorm, 1 ) ) {
lapack_int lwork = -1;
float* work = NULL;
float work_query;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_ssytri_3", -1 );
return -1;
if( LAPACKE_ssy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_s_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_s_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
#endif
{
lapack_int info = 0;
lapack_complex_double* work = NULL;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zhecon_3", -1 );
return -1;
if( LAPACKE_zhe_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_z_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_z_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
if( LAPACKE_d_nancheck( 1, &anorm, 1 ) ) {
lapack_int lwork = -1;
lapack_complex_double* work = NULL;
lapack_complex_double work_query;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zhetri_3", -1 );
return -1;
if( LAPACKE_zhe_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_z_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_z_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
#endif
{
lapack_int info = 0;
lapack_complex_double* work = NULL;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zsycon_3", -1 );
return -1;
if( LAPACKE_zsy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_z_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_z_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
if( LAPACKE_d_nancheck( 1, &anorm, 1 ) ) {
lapack_int lwork = -1;
lapack_complex_double* work = NULL;
lapack_complex_double work_query;
+ lapack_int e_start = LAPACKE_lsame( uplo, 'U' ) ? 1 : 0;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zsytri_3", -1 );
return -1;
if( LAPACKE_zsy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
- if( LAPACKE_z_nancheck( n, e, 1 ) ) {
+ if( LAPACKE_z_nancheck( n-1, e + e_start, 1 ) ) {
return -6;
}
#endif