summaryrefslogtreecommitdiff
path: root/LAPACKE/src
diff options
context:
space:
mode:
authoreugene.chereshnev <eugenechereshnev@gmail.com>2017-02-03 13:49:18 -0800
committereugene.chereshnev <eugenechereshnev@gmail.com>2017-02-03 18:47:04 -0800
commit8836d8fbea7086fcba8f255cba2a36e28a3f406e (patch)
tree9c5228ed1c51d277e690aa4ea041ed06ed3f1472 /LAPACKE/src
parent91dafb23ef8f0fe7379784b0d470169b0af06ef5 (diff)
downloadlapack-8836d8fbea7086fcba8f255cba2a36e28a3f406e.tar.gz
lapack-8836d8fbea7086fcba8f255cba2a36e28a3f406e.tar.bz2
lapack-8836d8fbea7086fcba8f255cba2a36e28a3f406e.zip
Remove tabs and trailing spaces (git diff -w prints nothing)
Diffstat (limited to 'LAPACKE/src')
-rw-r--r--LAPACKE/src/lapacke_cgejsv.c24
-rw-r--r--LAPACKE/src/lapacke_cgesvdx.c8
-rw-r--r--LAPACKE/src/lapacke_cgesvdx_work.c22
-rw-r--r--LAPACKE/src/lapacke_cgesvj_work.c2
-rw-r--r--LAPACKE/src/lapacke_cggsvd3.c8
-rw-r--r--LAPACKE/src/lapacke_chbev_2stage_work.c2
-rw-r--r--LAPACKE/src/lapacke_chetrf_rk_work.c2
-rw-r--r--LAPACKE/src/lapacke_chetrs_3.c2
-rw-r--r--LAPACKE/src/lapacke_csycon_3_work.c2
-rw-r--r--LAPACKE/src/lapacke_dbdsvdx.c4
-rw-r--r--LAPACKE/src/lapacke_dbdsvdx_work.c16
-rw-r--r--LAPACKE/src/lapacke_dgesvdx.c6
-rw-r--r--LAPACKE/src/lapacke_dgesvdx_work.c20
-rw-r--r--LAPACKE/src/lapacke_dlange.c2
-rw-r--r--LAPACKE/src/lapacke_dlange_work.c2
-rw-r--r--LAPACKE/src/lapacke_dlansy.c2
-rw-r--r--LAPACKE/src/lapacke_dlansy_work.c2
-rw-r--r--LAPACKE/src/lapacke_dlantr.c2
-rw-r--r--LAPACKE/src/lapacke_dsytrs_3.c2
-rw-r--r--LAPACKE/src/lapacke_dsytrs_aa.c2
-rw-r--r--LAPACKE/src/lapacke_sbdsvdx.c4
-rw-r--r--LAPACKE/src/lapacke_sgesvdx.c6
-rw-r--r--LAPACKE/src/lapacke_sgesvdx_work.c20
-rw-r--r--LAPACKE/src/lapacke_slange.c2
-rw-r--r--LAPACKE/src/lapacke_slange_work.c2
-rw-r--r--LAPACKE/src/lapacke_slansy.c2
-rw-r--r--LAPACKE/src/lapacke_slansy_work.c2
-rw-r--r--LAPACKE/src/lapacke_ssytrs_aa.c2
-rw-r--r--LAPACKE/src/lapacke_zgejsv.c22
-rw-r--r--LAPACKE/src/lapacke_zgesvdx.c20
-rw-r--r--LAPACKE/src/lapacke_zgesvdx_work.c20
-rw-r--r--LAPACKE/src/lapacke_zgesvj_work.c2
-rw-r--r--LAPACKE/src/lapacke_zhetrf_rk_work.c2
-rw-r--r--LAPACKE/src/lapacke_zhetrs_3.c2
-rw-r--r--LAPACKE/src/lapacke_zlange.c2
-rw-r--r--LAPACKE/src/lapacke_zlange_work.c2
-rw-r--r--LAPACKE/src/lapacke_zlanhe.c2
-rw-r--r--LAPACKE/src/lapacke_zlanhe_work.c2
-rw-r--r--LAPACKE/src/lapacke_zlansy.c2
-rw-r--r--LAPACKE/src/lapacke_zlansy_work.c2
-rw-r--r--LAPACKE/src/lapacke_zlantr.c2
-rw-r--r--LAPACKE/src/lapacke_zsytrs_3.c2
42 files changed, 128 insertions, 128 deletions
diff --git a/LAPACKE/src/lapacke_cgejsv.c b/LAPACKE/src/lapacke_cgejsv.c
index fbf8d11c..85d31bb3 100644
--- a/LAPACKE/src/lapacke_cgejsv.c
+++ b/LAPACKE/src/lapacke_cgejsv.c
@@ -41,22 +41,22 @@ lapack_int LAPACKE_cgejsv( int matrix_layout, char joba, char jobu, char jobv,
{
lapack_int info = 0;
lapack_int lwork = (
- // 1.1
- ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
+ // 1.1
+ ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? 2*n+1 :
//1.2
- ( ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
+ ( ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? n*n+3*n :
//2.1
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
- !( LAPACKE_lsame( jobu, 'u' ) || LAPACKE_lsame( jobu, 'f' ) ) &&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ !( LAPACKE_lsame( jobu, 'u') || LAPACKE_lsame( jobu, 'f' ) )&&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? 3*n :
//2.2
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
!( LAPACKE_lsame( jobu, 'u' ) || LAPACKE_lsame( jobu, 'f' ) ) &&
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? 3*n :
@@ -81,8 +81,8 @@ lapack_int LAPACKE_cgejsv( int matrix_layout, char joba, char jobu, char jobv,
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? 4*n*n:
1) ) ) ) ) ) ) );
lapack_int lrwork = (
- // 1.1
- ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
+ // 1.1
+ ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? MAX(7,n+2*m) :
//1.2
@@ -90,13 +90,13 @@ lapack_int LAPACKE_cgejsv( int matrix_layout, char joba, char jobu, char jobv,
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? MAX(7,2*n) :
//2.1
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
- !( LAPACKE_lsame( jobu, 'u' ) || LAPACKE_lsame( jobu, 'f' ) ) &&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ !( LAPACKE_lsame( jobu, 'u') || LAPACKE_lsame( jobu, 'f' ) ) &&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? MAX( 7, n+ 2*m ) :
//2.2
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
!( LAPACKE_lsame( jobu, 'u' ) || LAPACKE_lsame( jobu, 'f' ) ) &&
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? MAX(7,2*n) :
@@ -119,7 +119,7 @@ lapack_int LAPACKE_cgejsv( int matrix_layout, char joba, char jobu, char jobv,
( ( ( LAPACKE_lsame( jobu, 'u' ) || LAPACKE_lsame( jobu, 'f' ) ) &&
( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? MAX(7,2*n) :
- 7 ))))))));
+ 7) ) ) ) ) ) ) );
lapack_int* iwork = NULL;
float* rwork = NULL;
lapack_complex_float* cwork = NULL;
diff --git a/LAPACKE/src/lapacke_cgesvdx.c b/LAPACKE/src/lapacke_cgesvdx.c
index 6882a8b8..90abe7a7 100644
--- a/LAPACKE/src/lapacke_cgesvdx.c
+++ b/LAPACKE/src/lapacke_cgesvdx.c
@@ -61,7 +61,7 @@ lapack_int LAPACKE_cgesvdx( int matrix_layout, char jobu, char jobvt, char range
#endif
/* Query optimal working array(s) size */
info = LAPACKE_cgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
ldu, vt, ldvt, &work_query, lwork, rwork, iwork );
if( info != 0 ) {
goto exit_level_0;
@@ -69,7 +69,7 @@ lapack_int LAPACKE_cgesvdx( int matrix_layout, char jobu, char jobvt, char range
lwork = LAPACK_C2INT (work_query);
/* Allocate memory for work arrays */
work = (lapack_complex_float*)
- LAPACKE_malloc( sizeof(lapack_complex_float) * lwork );
+ LAPACKE_malloc( sizeof(lapack_complex_float) * lwork );
if( work == NULL ) {
info = LAPACK_WORK_MEMORY_ERROR;
goto exit_level_1;
@@ -86,8 +86,8 @@ lapack_int LAPACKE_cgesvdx( int matrix_layout, char jobu, char jobvt, char range
}
/* Call middle-level interface */
info = LAPACKE_cgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
- ldu, vt, ldvt, work, lwork, rwork, iwork );
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ ldu, vt, ldvt, work, lwork, rwork, iwork );
/* Backup significant data from working array(s) */
for( i=0; i<12*MIN(m,n)-1; i++ ) {
superb[i] = iwork[i+1];
diff --git a/LAPACKE/src/lapacke_cgesvdx_work.c b/LAPACKE/src/lapacke_cgesvdx_work.c
index a5955ef4..ddbc0a5b 100644
--- a/LAPACKE/src/lapacke_cgesvdx_work.c
+++ b/LAPACKE/src/lapacke_cgesvdx_work.c
@@ -34,19 +34,19 @@
#include "lapacke_utils.h"
lapack_int LAPACKE_cgesvdx_work( int matrix_layout, char jobu, char jobvt, char range,
- lapack_int m, lapack_int n, lapack_complex_float* a,
- lapack_int lda, float vl, float vu,
- lapack_int il, lapack_int iu, lapack_int* ns,
- float* s, lapack_complex_float* u, lapack_int ldu,
- lapack_complex_float* vt, lapack_int ldvt,
- lapack_complex_float* work, lapack_int lwork,
- float* rwork, lapack_int* iwork )
+ lapack_int m, lapack_int n, lapack_complex_float* a,
+ lapack_int lda, float vl, float vu,
+ lapack_int il, lapack_int iu, lapack_int* ns,
+ float* s, lapack_complex_float* u, lapack_int ldu,
+ lapack_complex_float* vt, lapack_int ldvt,
+ lapack_complex_float* work, lapack_int lwork,
+ float* rwork, lapack_int* iwork )
{
lapack_int info = 0;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_cgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda, &vl, &vu,
- &il, &iu, ns, s, u, &ldu, vt, &ldvt,
+ &il, &iu, ns, s, u, &ldu, vt, &ldvt,
work, &lwork, rwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
@@ -85,7 +85,7 @@ lapack_int LAPACKE_cgesvdx_work( int matrix_layout, char jobu, char jobvt, char
/* Query optimal working array(s) size if requested */
if( lwork == -1 ) {
LAPACK_cgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u, &ldu_t, vt,
+ &il, &iu, ns, s, u, &ldu_t, vt,
&ldvt_t, work, &lwork, rwork, iwork, &info );
return (info < 0) ? (info - 1) : info;
}
@@ -116,8 +116,8 @@ lapack_int LAPACKE_cgesvdx_work( int matrix_layout, char jobu, char jobvt, char
LAPACKE_cge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
/* Call LAPACK function and adjust info */
LAPACK_cgesvdx( &jobu, &jobvt, &range, &m, &n, a_t, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u_t, &ldu_t, vt_t,
- &ldvt_t, work, &lwork, rwork, iwork, &info );
+ &il, &iu, ns, s, u_t, &ldu_t, vt_t,
+ &ldvt_t, work, &lwork, rwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
}
diff --git a/LAPACKE/src/lapacke_cgesvj_work.c b/LAPACKE/src/lapacke_cgesvj_work.c
index e2bbbfec..138e229b 100644
--- a/LAPACKE/src/lapacke_cgesvj_work.c
+++ b/LAPACKE/src/lapacke_cgesvj_work.c
@@ -76,7 +76,7 @@ lapack_int LAPACKE_cgesvj_work( int matrix_layout, char joba, char jobu,
}
if( LAPACKE_lsame( jobv, 'a' ) || LAPACKE_lsame( jobv, 'v' ) ) {
v_t = (lapack_complex_float*)
- LAPACKE_malloc( sizeof(lapack_complex_float) * ldv_t * MAX(1,n) );
+ LAPACKE_malloc( sizeof(lapack_complex_float) * ldv_t * MAX(1,n) );
if( v_t == NULL ) {
info = LAPACK_TRANSPOSE_MEMORY_ERROR;
goto exit_level_1;
diff --git a/LAPACKE/src/lapacke_cggsvd3.c b/LAPACKE/src/lapacke_cggsvd3.c
index 97995ae6..8d0b6a7a 100644
--- a/LAPACKE/src/lapacke_cggsvd3.c
+++ b/LAPACKE/src/lapacke_cggsvd3.c
@@ -45,7 +45,7 @@ lapack_int LAPACKE_cggsvd3( int matrix_layout, char jobu, char jobv, char jobq,
{
lapack_int info = 0;
float* rwork = NULL;
- lapack_int lwork = -1;
+ lapack_int lwork = -1;
lapack_complex_float* work = NULL;
lapack_complex_float work_query;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
@@ -65,9 +65,9 @@ lapack_int LAPACKE_cggsvd3( int matrix_layout, char jobu, char jobv, char jobq,
info = LAPACKE_cggsvd3_work( matrix_layout, jobu, jobv, jobq, m, n, p, k, l,
a, lda, b, ldb, alpha, beta, u, ldu, v, ldv, q,
ldq, &work_query, lwork, rwork, iwork );
- if( info != 0 )
- goto exit_level_0;
- lwork = LAPACK_C2INT( work_query );
+ if( info != 0 )
+ goto exit_level_0;
+ lwork = LAPACK_C2INT( work_query );
/* Allocate memory for working array(s) */
rwork = (float*)LAPACKE_malloc( sizeof(float) * MAX(1,2*n) );
if( rwork == NULL ) {
diff --git a/LAPACKE/src/lapacke_chbev_2stage_work.c b/LAPACKE/src/lapacke_chbev_2stage_work.c
index 075b8537..c3a2cfc4 100644
--- a/LAPACKE/src/lapacke_chbev_2stage_work.c
+++ b/LAPACKE/src/lapacke_chbev_2stage_work.c
@@ -44,7 +44,7 @@ lapack_int LAPACKE_chbev_2stage_work( int matrix_layout, char jobz, char uplo,
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_chbev_2stage( &jobz, &uplo, &n, &kd, ab, &ldab, w, z, &ldz, work, &lwork,
- rwork, &info );
+ rwork, &info );
if( info < 0 ) {
info = info - 1;
}
diff --git a/LAPACKE/src/lapacke_chetrf_rk_work.c b/LAPACKE/src/lapacke_chetrf_rk_work.c
index 1a7df7c2..58dd11c6 100644
--- a/LAPACKE/src/lapacke_chetrf_rk_work.c
+++ b/LAPACKE/src/lapacke_chetrf_rk_work.c
@@ -35,7 +35,7 @@
lapack_int LAPACKE_chetrf_rk_work( int matrix_layout, char uplo, lapack_int n,
lapack_complex_float* a, lapack_int lda,
- lapack_complex_float* e,
+ lapack_complex_float* e,
lapack_int* ipiv, lapack_complex_float* work,
lapack_int lwork )
{
diff --git a/LAPACKE/src/lapacke_chetrs_3.c b/LAPACKE/src/lapacke_chetrs_3.c
index 77a5f241..2732f61c 100644
--- a/LAPACKE/src/lapacke_chetrs_3.c
+++ b/LAPACKE/src/lapacke_chetrs_3.c
@@ -56,5 +56,5 @@ lapack_int LAPACKE_chetrs_3( int matrix_layout, char uplo, lapack_int n,
}
#endif
return LAPACKE_chetrs_3_work( matrix_layout, uplo, n, nrhs, a, lda,
- e, ipiv, b, ldb );
+ e, ipiv, b, ldb );
}
diff --git a/LAPACKE/src/lapacke_csycon_3_work.c b/LAPACKE/src/lapacke_csycon_3_work.c
index ec3a8ae6..a0acf1b2 100644
--- a/LAPACKE/src/lapacke_csycon_3_work.c
+++ b/LAPACKE/src/lapacke_csycon_3_work.c
@@ -35,7 +35,7 @@
lapack_int LAPACKE_csycon_3_work( int matrix_layout, char uplo, lapack_int n,
const lapack_complex_float* a, lapack_int lda,
- const lapack_complex_float* e,
+ const lapack_complex_float* e,
const lapack_int* ipiv, float anorm,
float* rcond, lapack_complex_float* work )
{
diff --git a/LAPACKE/src/lapacke_dbdsvdx.c b/LAPACKE/src/lapacke_dbdsvdx.c
index f61e11c4..099d59f3 100644
--- a/LAPACKE/src/lapacke_dbdsvdx.c
+++ b/LAPACKE/src/lapacke_dbdsvdx.c
@@ -71,8 +71,8 @@ lapack_int LAPACKE_dbdsvdx( int matrix_layout, char uplo, char jobz, char range,
}
/* Call middle-level interface */
info = LAPACKE_dbdsvdx_work( matrix_layout, uplo, jobz, range,
- n, d, e, vl, vu, il, iu, ns, s, z,
- ldz, work, iwork);
+ n, d, e, vl, vu, il, iu, ns, s, z,
+ ldz, work, iwork);
/* Backup significant data from working array(s) */
for( i=0; i<12*n-1; i++ ) {
superb[i] = iwork[i+1];
diff --git a/LAPACKE/src/lapacke_dbdsvdx_work.c b/LAPACKE/src/lapacke_dbdsvdx_work.c
index 90a520fe..fdee5cbb 100644
--- a/LAPACKE/src/lapacke_dbdsvdx_work.c
+++ b/LAPACKE/src/lapacke_dbdsvdx_work.c
@@ -34,17 +34,17 @@
#include "lapacke_utils.h"
lapack_int LAPACKE_dbdsvdx_work( int matrix_layout, char uplo, char jobz, char range,
- lapack_int n, double* d, double* e,
- double vl, double vu,
- lapack_int il, lapack_int iu, lapack_int* ns,
- double* s, double* z, lapack_int ldz,
- double* work, lapack_int* iwork )
+ lapack_int n, double* d, double* e,
+ double vl, double vu,
+ lapack_int il, lapack_int iu, lapack_int* ns,
+ double* s, double* z, lapack_int ldz,
+ double* work, lapack_int* iwork )
{
lapack_int info = 0;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_dbdsvdx( &uplo, &jobz, &range, &n, d, e, &vl, &vu,
- &il, &iu, ns, s, z, &ldz,
+ &il, &iu, ns, s, z, &ldz,
work, iwork, &info );
if( info < 0 ) {
info = info - 1;
@@ -72,8 +72,8 @@ lapack_int LAPACKE_dbdsvdx_work( int matrix_layout, char uplo, char jobz, char r
}
/* Call LAPACK function and adjust info */
LAPACK_dbdsvdx( &uplo, &jobz, &range, &n, d, e, &vl, &vu,
- &il, &iu, ns, s, z_t, &ldz_t, work,
- iwork, &info );
+ &il, &iu, ns, s, z_t, &ldz_t, work,
+ iwork, &info );
if( info < 0 ) {
info = info - 1;
}
diff --git a/LAPACKE/src/lapacke_dgesvdx.c b/LAPACKE/src/lapacke_dgesvdx.c
index ca82202d..bb0fa9bf 100644
--- a/LAPACKE/src/lapacke_dgesvdx.c
+++ b/LAPACKE/src/lapacke_dgesvdx.c
@@ -59,7 +59,7 @@ lapack_int LAPACKE_dgesvdx( int matrix_layout, char jobu, char jobvt, char range
#endif
/* Query optimal working array(s) size */
info = LAPACKE_dgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
ldu, vt, ldvt, &work_query, lwork, iwork );
if( info != 0 ) {
goto exit_level_0;
@@ -78,8 +78,8 @@ lapack_int LAPACKE_dgesvdx( int matrix_layout, char jobu, char jobvt, char range
}
/* Call middle-level interface */
info = LAPACKE_dgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
- ldu, vt, ldvt, work, lwork, iwork );
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ ldu, vt, ldvt, work, lwork, iwork );
/* Backup significant data from working array(s) */
for( i=0; i<12*MIN(m,n)-1; i++ ) {
superb[i] = iwork[i+1];
diff --git a/LAPACKE/src/lapacke_dgesvdx_work.c b/LAPACKE/src/lapacke_dgesvdx_work.c
index a5a2cb65..b326cca9 100644
--- a/LAPACKE/src/lapacke_dgesvdx_work.c
+++ b/LAPACKE/src/lapacke_dgesvdx_work.c
@@ -34,18 +34,18 @@
#include "lapacke_utils.h"
lapack_int LAPACKE_dgesvdx_work( int matrix_layout, char jobu, char jobvt, char range,
- lapack_int m, lapack_int n, double* a,
- lapack_int lda, double vl, double vu,
- lapack_int il, lapack_int iu, lapack_int* ns,
- double* s, double* u, lapack_int ldu,
- double* vt, lapack_int ldvt,
- double* work, lapack_int lwork, lapack_int* iwork )
+ lapack_int m, lapack_int n, double* a,
+ lapack_int lda, double vl, double vu,
+ lapack_int il, lapack_int iu, lapack_int* ns,
+ double* s, double* u, lapack_int ldu,
+ double* vt, lapack_int ldvt,
+ double* work, lapack_int lwork, lapack_int* iwork )
{
lapack_int info = 0;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_dgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda, &vl, &vu,
- &il, &iu, ns, s, u, &ldu, vt, &ldvt,
+ &il, &iu, ns, s, u, &ldu, vt, &ldvt,
work, &lwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
@@ -84,7 +84,7 @@ lapack_int LAPACKE_dgesvdx_work( int matrix_layout, char jobu, char jobvt, char
/* Query optimal working array(s) size if requested */
if( lwork == -1 ) {
LAPACK_dgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u, &ldu_t, vt,
+ &il, &iu, ns, s, u, &ldu_t, vt,
&ldvt_t, work, &lwork, iwork, &info );
return (info < 0) ? (info - 1) : info;
}
@@ -114,8 +114,8 @@ lapack_int LAPACKE_dgesvdx_work( int matrix_layout, char jobu, char jobvt, char
LAPACKE_dge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
/* Call LAPACK function and adjust info */
LAPACK_dgesvdx( &jobu, &jobvt, &range, &m, &n, a_t, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u_t, &ldu_t, vt_t,
- &ldvt_t, work, &lwork, iwork, &info );
+ &il, &iu, ns, s, u_t, &ldu_t, vt_t,
+ &ldvt_t, work, &lwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
}
diff --git a/LAPACKE/src/lapacke_dlange.c b/LAPACKE/src/lapacke_dlange.c
index 4d0cea1b..0ab71362 100644
--- a/LAPACKE/src/lapacke_dlange.c
+++ b/LAPACKE/src/lapacke_dlange.c
@@ -37,7 +37,7 @@ double LAPACKE_dlange( int matrix_layout, char norm, lapack_int m,
lapack_int n, const double* a, lapack_int lda )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
double* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_dlange", -1 );
diff --git a/LAPACKE/src/lapacke_dlange_work.c b/LAPACKE/src/lapacke_dlange_work.c
index d3a478c1..932d9ee1 100644
--- a/LAPACKE/src/lapacke_dlange_work.c
+++ b/LAPACKE/src/lapacke_dlange_work.c
@@ -38,7 +38,7 @@ double LAPACKE_dlange_work( int matrix_layout, char norm, lapack_int m,
double* work )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
res = LAPACK_dlange( &norm, &m, &n, a, &lda, work );
diff --git a/LAPACKE/src/lapacke_dlansy.c b/LAPACKE/src/lapacke_dlansy.c
index e970fec0..97d2240d 100644
--- a/LAPACKE/src/lapacke_dlansy.c
+++ b/LAPACKE/src/lapacke_dlansy.c
@@ -37,7 +37,7 @@ double LAPACKE_dlansy( int matrix_layout, char norm, char uplo, lapack_int n,
const double* a, lapack_int lda )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
double* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_dlansy", -1 );
diff --git a/LAPACKE/src/lapacke_dlansy_work.c b/LAPACKE/src/lapacke_dlansy_work.c
index 6468c91a..b464469d 100644
--- a/LAPACKE/src/lapacke_dlansy_work.c
+++ b/LAPACKE/src/lapacke_dlansy_work.c
@@ -38,7 +38,7 @@ double LAPACKE_dlansy_work( int matrix_layout, char norm, char uplo,
double* work )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
res = LAPACK_dlansy( &norm, &uplo, &n, a, &lda, work );
diff --git a/LAPACKE/src/lapacke_dlantr.c b/LAPACKE/src/lapacke_dlantr.c
index 480f31d9..87f0ee9d 100644
--- a/LAPACKE/src/lapacke_dlantr.c
+++ b/LAPACKE/src/lapacke_dlantr.c
@@ -38,7 +38,7 @@ double LAPACKE_dlantr( int matrix_layout, char norm, char uplo, char diag,
lapack_int lda )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
double* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_dlantr", -1 );
diff --git a/LAPACKE/src/lapacke_dsytrs_3.c b/LAPACKE/src/lapacke_dsytrs_3.c
index 59b83f9a..eb63ffa5 100644
--- a/LAPACKE/src/lapacke_dsytrs_3.c
+++ b/LAPACKE/src/lapacke_dsytrs_3.c
@@ -55,5 +55,5 @@ lapack_int LAPACKE_dsytrs_3( int matrix_layout, char uplo, lapack_int n,
}
#endif
return LAPACKE_dsytrs_3_work( matrix_layout, uplo, n, nrhs, a, lda,
- e, ipiv, b, ldb );
+ e, ipiv, b, ldb );
}
diff --git a/LAPACKE/src/lapacke_dsytrs_aa.c b/LAPACKE/src/lapacke_dsytrs_aa.c
index 6adb343a..8971d1e5 100644
--- a/LAPACKE/src/lapacke_dsytrs_aa.c
+++ b/LAPACKE/src/lapacke_dsytrs_aa.c
@@ -60,7 +60,7 @@ lapack_int LAPACKE_dsytrs_aa( int matrix_layout, char uplo, lapack_int n,
if( info != 0 ) {
goto exit_level_0;
}
- lwork = (lapack_int)work_query;
+ lwork = (lapack_int)work_query;
/* Allocate memory for work arrays */
work = (double*)
LAPACKE_malloc( sizeof(double) * lwork );
diff --git a/LAPACKE/src/lapacke_sbdsvdx.c b/LAPACKE/src/lapacke_sbdsvdx.c
index 127417fc..0c48bb85 100644
--- a/LAPACKE/src/lapacke_sbdsvdx.c
+++ b/LAPACKE/src/lapacke_sbdsvdx.c
@@ -71,8 +71,8 @@ lapack_int LAPACKE_sbdsvdx( int matrix_layout, char uplo, char jobz, char range,
}
/* Call middle-level interface */
info = LAPACKE_sbdsvdx_work( matrix_layout, uplo, jobz, range,
- n, d, e, vl, vu, il, iu, ns, s, z,
- ldz, work, iwork);
+ n, d, e, vl, vu, il, iu, ns, s, z,
+ ldz, work, iwork);
/* Backup significant data from working array(s) */
for( i=0; i<12*n-1; i++ ) {
superb[i] = iwork[i+1];
diff --git a/LAPACKE/src/lapacke_sgesvdx.c b/LAPACKE/src/lapacke_sgesvdx.c
index 6387451a..b078eb18 100644
--- a/LAPACKE/src/lapacke_sgesvdx.c
+++ b/LAPACKE/src/lapacke_sgesvdx.c
@@ -59,7 +59,7 @@ lapack_int LAPACKE_sgesvdx( int matrix_layout, char jobu, char jobvt, char range
#endif
/* Query optimal working array(s) size */
info = LAPACKE_sgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
ldu, vt, ldvt, &work_query, lwork, iwork );
if( info != 0 ) {
goto exit_level_0;
@@ -78,8 +78,8 @@ lapack_int LAPACKE_sgesvdx( int matrix_layout, char jobu, char jobvt, char range
}
/* Call middle-level interface */
info = LAPACKE_sgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
- ldu, vt, ldvt, work, lwork, iwork );
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ ldu, vt, ldvt, work, lwork, iwork );
/* Backup significant data from working array(s) */
for( i=0; i<12*MIN(m,n)-1; i++ ) {
superb[i] = iwork[i+1];
diff --git a/LAPACKE/src/lapacke_sgesvdx_work.c b/LAPACKE/src/lapacke_sgesvdx_work.c
index f7973f01..8f4739d5 100644
--- a/LAPACKE/src/lapacke_sgesvdx_work.c
+++ b/LAPACKE/src/lapacke_sgesvdx_work.c
@@ -34,18 +34,18 @@
#include "lapacke_utils.h"
lapack_int LAPACKE_sgesvdx_work( int matrix_layout, char jobu, char jobvt, char range,
- lapack_int m, lapack_int n, float* a,
- lapack_int lda, float vl, float vu,
- lapack_int il, lapack_int iu, lapack_int* ns,
- float* s, float* u, lapack_int ldu,
- float* vt, lapack_int ldvt,
- float* work, lapack_int lwork, lapack_int* iwork )
+ lapack_int m, lapack_int n, float* a,
+ lapack_int lda, float vl, float vu,
+ lapack_int il, lapack_int iu, lapack_int* ns,
+ float* s, float* u, lapack_int ldu,
+ float* vt, lapack_int ldvt,
+ float* work, lapack_int lwork, lapack_int* iwork )
{
lapack_int info = 0;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_sgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda, &vl, &vu,
- &il, &iu, ns, s, u, &ldu, vt, &ldvt,
+ &il, &iu, ns, s, u, &ldu, vt, &ldvt,
work, &lwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
@@ -84,7 +84,7 @@ lapack_int LAPACKE_sgesvdx_work( int matrix_layout, char jobu, char jobvt, char
/* Query optimal working array(s) size if requested */
if( lwork == -1 ) {
LAPACK_sgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u, &ldu_t, vt,
+ &il, &iu, ns, s, u, &ldu_t, vt,
&ldvt_t, work, &lwork, iwork, &info );
return (info < 0) ? (info - 1) : info;
}
@@ -114,8 +114,8 @@ lapack_int LAPACKE_sgesvdx_work( int matrix_layout, char jobu, char jobvt, char
LAPACKE_sge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
/* Call LAPACK function and adjust info */
LAPACK_sgesvdx( &jobu, &jobvt, &range, &m, &n, a_t, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u_t, &ldu_t, vt_t,
- &ldvt_t, work, &lwork, iwork, &info );
+ &il, &iu, ns, s, u_t, &ldu_t, vt_t,
+ &ldvt_t, work, &lwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
}
diff --git a/LAPACKE/src/lapacke_slange.c b/LAPACKE/src/lapacke_slange.c
index 8d1e172f..17611364 100644
--- a/LAPACKE/src/lapacke_slange.c
+++ b/LAPACKE/src/lapacke_slange.c
@@ -37,7 +37,7 @@ float LAPACKE_slange( int matrix_layout, char norm, lapack_int m,
lapack_int n, const float* a, lapack_int lda )
{
lapack_int info = 0;
- float res = 0.;
+ float res = 0.;
float* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_slange", -1 );
diff --git a/LAPACKE/src/lapacke_slange_work.c b/LAPACKE/src/lapacke_slange_work.c
index dc03fdfb..31ac8c97 100644
--- a/LAPACKE/src/lapacke_slange_work.c
+++ b/LAPACKE/src/lapacke_slange_work.c
@@ -38,7 +38,7 @@ float LAPACKE_slange_work( int matrix_layout, char norm, lapack_int m,
float* work )
{
lapack_int info = 0;
- float res = 0.;
+ float res = 0.;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
res = LAPACK_slange( &norm, &m, &n, a, &lda, work );
diff --git a/LAPACKE/src/lapacke_slansy.c b/LAPACKE/src/lapacke_slansy.c
index a2711fa8..453ebefa 100644
--- a/LAPACKE/src/lapacke_slansy.c
+++ b/LAPACKE/src/lapacke_slansy.c
@@ -37,7 +37,7 @@ float LAPACKE_slansy( int matrix_layout, char norm, char uplo, lapack_int n,
const float* a, lapack_int lda )
{
lapack_int info = 0;
- float res = 0.;
+ float res = 0.;
float* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_slansy", -1 );
diff --git a/LAPACKE/src/lapacke_slansy_work.c b/LAPACKE/src/lapacke_slansy_work.c
index 9e14a5f9..09abd308 100644
--- a/LAPACKE/src/lapacke_slansy_work.c
+++ b/LAPACKE/src/lapacke_slansy_work.c
@@ -38,7 +38,7 @@ float LAPACKE_slansy_work( int matrix_layout, char norm, char uplo,
float* work )
{
lapack_int info = 0;
- float res = 0.;
+ float res = 0.;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
res = LAPACK_slansy( &norm, &uplo, &n, a, &lda, work );
diff --git a/LAPACKE/src/lapacke_ssytrs_aa.c b/LAPACKE/src/lapacke_ssytrs_aa.c
index 6e384095..6d88050f 100644
--- a/LAPACKE/src/lapacke_ssytrs_aa.c
+++ b/LAPACKE/src/lapacke_ssytrs_aa.c
@@ -60,7 +60,7 @@ lapack_int LAPACKE_ssytrs_aa( int matrix_layout, char uplo, lapack_int n,
if( info != 0 ) {
goto exit_level_0;
}
- lwork = (lapack_int)work_query;
+ lwork = (lapack_int)work_query;
/* Allocate memory for work arrays */
work = (float*)
LAPACKE_malloc( sizeof(float) * lwork );
diff --git a/LAPACKE/src/lapacke_zgejsv.c b/LAPACKE/src/lapacke_zgejsv.c
index 6eababe5..73c6f952 100644
--- a/LAPACKE/src/lapacke_zgejsv.c
+++ b/LAPACKE/src/lapacke_zgejsv.c
@@ -41,22 +41,22 @@ lapack_int LAPACKE_zgejsv( int matrix_layout, char joba, char jobu, char jobv,
{
lapack_int info = 0;
lapack_int lwork = (
- // 1.1
- ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
+ // 1.1
+ ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? 2*n+1 :
//1.2
- ( ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
+ ( ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? n*n+3*n :
//2.1
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
- (!( LAPACKE_lsame( jobu, 'u') || LAPACKE_lsame( jobu, 'f' ) )&&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ (!( LAPACKE_lsame( jobu, 'u') || LAPACKE_lsame( jobu, 'f' ) )&&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? 3*n :
//2.2
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
!( LAPACKE_lsame( jobu, 'u' ) || LAPACKE_lsame( jobu, 'f' ) ) &&
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? 3*n :
@@ -81,8 +81,8 @@ lapack_int LAPACKE_zgejsv( int matrix_layout, char joba, char jobu, char jobv,
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? 4*n*n:
1) ) ) ) ) ) ) ) );
lapack_int lrwork = (
- // 1.1
- ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
+ // 1.1
+ ( LAPACKE_lsame( jobu, 'n' ) && LAPACKE_lsame( jobv, 'n' ) &&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? MAX(7,n+2*m) :
//1.2
@@ -90,13 +90,13 @@ lapack_int LAPACKE_zgejsv( int matrix_layout, char joba, char jobu, char jobv,
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) )) ? MAX(7,2*n) :
//2.1
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
- (!( LAPACKE_lsame( jobu, 'u') || LAPACKE_lsame( jobu, 'f' ) ) &&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ (!( LAPACKE_lsame( jobu, 'u') || LAPACKE_lsame( jobu, 'f' ) ) &&
( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? MAX( 7, n+ 2*m ) :
//2.2
- ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
+ ( ( ( LAPACKE_lsame( jobv, 'v' ) || LAPACKE_lsame( jobv, 'j' ) ) &&
!( LAPACKE_lsame( jobu, 'u' ) || LAPACKE_lsame( jobu, 'f' ) ) &&
!( LAPACKE_lsame( jobt, 't' ) || LAPACKE_lsame( joba, 'f' ) || LAPACKE_lsame( joba, 'g' ) ))? MAX(7,2*n) :
diff --git a/LAPACKE/src/lapacke_zgesvdx.c b/LAPACKE/src/lapacke_zgesvdx.c
index 4847dbf1..f36907ea 100644
--- a/LAPACKE/src/lapacke_zgesvdx.c
+++ b/LAPACKE/src/lapacke_zgesvdx.c
@@ -34,12 +34,12 @@
#include "lapacke_utils.h"
lapack_int LAPACKE_zgesvdx( int matrix_layout, char jobu, char jobvt, char range,
- lapack_int m, lapack_int n, lapack_complex_double* a,
- lapack_int lda, double vl, double vu,
- lapack_int il, lapack_int iu, lapack_int* ns,
- double* s, lapack_complex_double* u, lapack_int ldu,
- lapack_complex_double* vt, lapack_int ldvt,
- lapack_int* superb )
+ lapack_int m, lapack_int n, lapack_complex_double* a,
+ lapack_int lda, double vl, double vu,
+ lapack_int il, lapack_int iu, lapack_int* ns,
+ double* s, lapack_complex_double* u, lapack_int ldu,
+ lapack_complex_double* vt, lapack_int ldvt,
+ lapack_int* superb )
{
lapack_int info = 0;
lapack_int lwork = -1;
@@ -61,7 +61,7 @@ lapack_int LAPACKE_zgesvdx( int matrix_layout, char jobu, char jobvt, char range
#endif
/* Query optimal working array(s) size */
info = LAPACKE_zgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
ldu, vt, ldvt, &work_query, lwork, rwork, iwork );
if( info != 0 ) {
goto exit_level_0;
@@ -69,7 +69,7 @@ lapack_int LAPACKE_zgesvdx( int matrix_layout, char jobu, char jobvt, char range
lwork = LAPACK_Z2INT (work_query);
/* Allocate memory for work arrays */
work = (lapack_complex_double*)
- LAPACKE_malloc( sizeof(lapack_complex_double) * lwork );
+ LAPACKE_malloc( sizeof(lapack_complex_double) * lwork );
if( work == NULL ) {
info = LAPACK_WORK_MEMORY_ERROR;
goto exit_level_1;
@@ -86,8 +86,8 @@ lapack_int LAPACKE_zgesvdx( int matrix_layout, char jobu, char jobvt, char range
}
/* Call middle-level interface */
info = LAPACKE_zgesvdx_work( matrix_layout, jobu, jobvt, range,
- m, n, a, lda, vl, vu, il, iu, ns, s, u,
- ldu, vt, ldvt, work, lwork, rwork, iwork );
+ m, n, a, lda, vl, vu, il, iu, ns, s, u,
+ ldu, vt, ldvt, work, lwork, rwork, iwork );
/* Backup significant data from working array(s) */
for( i=0; i<12*MIN(m,n)-1; i++ ) {
superb[i] = iwork[i+1];
diff --git a/LAPACKE/src/lapacke_zgesvdx_work.c b/LAPACKE/src/lapacke_zgesvdx_work.c
index 3070687a..d9e9cb65 100644
--- a/LAPACKE/src/lapacke_zgesvdx_work.c
+++ b/LAPACKE/src/lapacke_zgesvdx_work.c
@@ -34,19 +34,19 @@
#include "lapacke_utils.h"
lapack_int LAPACKE_zgesvdx_work( int matrix_layout, char jobu, char jobvt, char range,
- lapack_int m, lapack_int n, lapack_complex_double* a,
- lapack_int lda, double vl, double vu,
- lapack_int il, lapack_int iu, lapack_int* ns,
- double* s, lapack_complex_double* u, lapack_int ldu,
- lapack_complex_double* vt, lapack_int ldvt,
- lapack_complex_double* work, lapack_int lwork,
- double* rwork, lapack_int* iwork )
+ lapack_int m, lapack_int n, lapack_complex_double* a,
+ lapack_int lda, double vl, double vu,
+ lapack_int il, lapack_int iu, lapack_int* ns,
+ double* s, lapack_complex_double* u, lapack_int ldu,
+ lapack_complex_double* vt, lapack_int ldvt,
+ lapack_complex_double* work, lapack_int lwork,
+ double* rwork, lapack_int* iwork )
{
lapack_int info = 0;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_zgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda, &vl, &vu,
- &il, &iu, ns, s, u, &ldu, vt, &ldvt,
+ &il, &iu, ns, s, u, &ldu, vt, &ldvt,
work, &lwork, rwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
@@ -85,7 +85,7 @@ lapack_int LAPACKE_zgesvdx_work( int matrix_layout, char jobu, char jobvt, char
/* Query optimal working array(s) size if requested */
if( lwork == -1 ) {
LAPACK_zgesvdx( &jobu, &jobvt, &range, &m, &n, a, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u, &ldu_t, vt,
+ &il, &iu, ns, s, u, &ldu_t, vt,
&ldvt_t, work, &lwork, rwork, iwork, &info );
return (info < 0) ? (info - 1) : info;
}
@@ -116,7 +116,7 @@ lapack_int LAPACKE_zgesvdx_work( int matrix_layout, char jobu, char jobvt, char
LAPACKE_zge_trans( matrix_layout, m, n, a, lda, a_t, lda_t );
/* Call LAPACK function and adjust info */
LAPACK_zgesvdx( &jobu, &jobvt, &range, &m, &n, a_t, &lda_t, &vl, &vu,
- &il, &iu, ns, s, u_t, &ldu_t, vt_t,
+ &il, &iu, ns, s, u_t, &ldu_t, vt_t,
&ldvt_t, work, &lwork, rwork, iwork, &info );
if( info < 0 ) {
info = info - 1;
diff --git a/LAPACKE/src/lapacke_zgesvj_work.c b/LAPACKE/src/lapacke_zgesvj_work.c
index 37e6c1ee..1a46cfae 100644
--- a/LAPACKE/src/lapacke_zgesvj_work.c
+++ b/LAPACKE/src/lapacke_zgesvj_work.c
@@ -76,7 +76,7 @@ lapack_int LAPACKE_zgesvj_work( int matrix_layout, char joba, char jobu,
}
if( LAPACKE_lsame( jobv, 'a' ) || LAPACKE_lsame( jobv, 'v' ) ) {
v_t = (lapack_complex_double*)
- LAPACKE_malloc( sizeof(lapack_complex_double) * ldv_t * MAX(1,n) );
+ LAPACKE_malloc( sizeof(lapack_complex_double) * ldv_t * MAX(1,n) );
if( v_t == NULL ) {
info = LAPACK_TRANSPOSE_MEMORY_ERROR;
goto exit_level_1;
diff --git a/LAPACKE/src/lapacke_zhetrf_rk_work.c b/LAPACKE/src/lapacke_zhetrf_rk_work.c
index 45d6964a..f42528aa 100644
--- a/LAPACKE/src/lapacke_zhetrf_rk_work.c
+++ b/LAPACKE/src/lapacke_zhetrf_rk_work.c
@@ -35,7 +35,7 @@
lapack_int LAPACKE_zhetrf_rk_work( int matrix_layout, char uplo, lapack_int n,
lapack_complex_double* a, lapack_int lda,
- lapack_complex_double* e,
+ lapack_complex_double* e,
lapack_int* ipiv, lapack_complex_double* work,
lapack_int lwork )
{
diff --git a/LAPACKE/src/lapacke_zhetrs_3.c b/LAPACKE/src/lapacke_zhetrs_3.c
index 016bc792..85c5a133 100644
--- a/LAPACKE/src/lapacke_zhetrs_3.c
+++ b/LAPACKE/src/lapacke_zhetrs_3.c
@@ -56,5 +56,5 @@ lapack_int LAPACKE_zhetrs_3( int matrix_layout, char uplo, lapack_int n,
}
#endif
return LAPACKE_zhetrs_3_work( matrix_layout, uplo, n, nrhs, a, lda,
- e, ipiv, b, ldb );
+ e, ipiv, b, ldb );
}
diff --git a/LAPACKE/src/lapacke_zlange.c b/LAPACKE/src/lapacke_zlange.c
index 6ea73194..38c4e031 100644
--- a/LAPACKE/src/lapacke_zlange.c
+++ b/LAPACKE/src/lapacke_zlange.c
@@ -38,7 +38,7 @@ double LAPACKE_zlange( int matrix_layout, char norm, lapack_int m,
lapack_int lda )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
double* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zlange", -1 );
diff --git a/LAPACKE/src/lapacke_zlange_work.c b/LAPACKE/src/lapacke_zlange_work.c
index 60d1812e..34331d8e 100644
--- a/LAPACKE/src/lapacke_zlange_work.c
+++ b/LAPACKE/src/lapacke_zlange_work.c
@@ -38,7 +38,7 @@ double LAPACKE_zlange_work( int matrix_layout, char norm, lapack_int m,
lapack_int lda, double* work )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
res = LAPACK_zlange( &norm, &m, &n, a, &lda, work );
diff --git a/LAPACKE/src/lapacke_zlanhe.c b/LAPACKE/src/lapacke_zlanhe.c
index 233231ae..82b52a25 100644
--- a/LAPACKE/src/lapacke_zlanhe.c
+++ b/LAPACKE/src/lapacke_zlanhe.c
@@ -37,7 +37,7 @@ double LAPACKE_zlanhe( int matrix_layout, char norm, char uplo, lapack_int n,
const lapack_complex_double* a, lapack_int lda )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
double* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zlanhe", -1 );
diff --git a/LAPACKE/src/lapacke_zlanhe_work.c b/LAPACKE/src/lapacke_zlanhe_work.c
index b3e4de5d..94b59eb7 100644
--- a/LAPACKE/src/lapacke_zlanhe_work.c
+++ b/LAPACKE/src/lapacke_zlanhe_work.c
@@ -38,7 +38,7 @@ double LAPACKE_zlanhe_work( int matrix_layout, char norm, char uplo,
lapack_int lda, double* work )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
res = LAPACK_zlanhe( &norm, &uplo, &n, a, &lda, work );
diff --git a/LAPACKE/src/lapacke_zlansy.c b/LAPACKE/src/lapacke_zlansy.c
index 491a6290..b3ebb36d 100644
--- a/LAPACKE/src/lapacke_zlansy.c
+++ b/LAPACKE/src/lapacke_zlansy.c
@@ -37,7 +37,7 @@ double LAPACKE_zlansy( int matrix_layout, char norm, char uplo, lapack_int n,
const lapack_complex_double* a, lapack_int lda )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
double* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zlansy", -1 );
diff --git a/LAPACKE/src/lapacke_zlansy_work.c b/LAPACKE/src/lapacke_zlansy_work.c
index 6088b442..9ae2d9bd 100644
--- a/LAPACKE/src/lapacke_zlansy_work.c
+++ b/LAPACKE/src/lapacke_zlansy_work.c
@@ -38,7 +38,7 @@ double LAPACKE_zlansy_work( int matrix_layout, char norm, char uplo,
lapack_int lda, double* work )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
res = LAPACK_zlansy( &norm, &uplo, &n, a, &lda, work );
diff --git a/LAPACKE/src/lapacke_zlantr.c b/LAPACKE/src/lapacke_zlantr.c
index 29f7cf27..cd8c34b9 100644
--- a/LAPACKE/src/lapacke_zlantr.c
+++ b/LAPACKE/src/lapacke_zlantr.c
@@ -38,7 +38,7 @@ double LAPACKE_zlantr( int matrix_layout, char norm, char uplo, char diag,
const lapack_complex_double* a, lapack_int lda )
{
lapack_int info = 0;
- double res = 0.;
+ double res = 0.;
double* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_zlantr", -1 );
diff --git a/LAPACKE/src/lapacke_zsytrs_3.c b/LAPACKE/src/lapacke_zsytrs_3.c
index 47b3c36d..26d1eb4d 100644
--- a/LAPACKE/src/lapacke_zsytrs_3.c
+++ b/LAPACKE/src/lapacke_zsytrs_3.c
@@ -56,5 +56,5 @@ lapack_int LAPACKE_zsytrs_3( int matrix_layout, char uplo, lapack_int n,
}
#endif
return LAPACKE_zsytrs_3_work( matrix_layout, uplo, n, nrhs, a, lda,
- e, ipiv, b, ldb );
+ e, ipiv, b, ldb );
}