diff options
Diffstat (limited to 'lapacke/src/lapacke_stgsna.c')
-rw-r--r-- | lapacke/src/lapacke_stgsna.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lapacke/src/lapacke_stgsna.c b/lapacke/src/lapacke_stgsna.c index a44bc614..d4666a3d 100644 --- a/lapacke/src/lapacke_stgsna.c +++ b/lapacke/src/lapacke_stgsna.c @@ -1,5 +1,5 @@ /***************************************************************************** - Copyright (c) 2011, Intel Corp. + Copyright (c) 2014, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -33,7 +33,7 @@ #include "lapacke_utils.h" -lapack_int LAPACKE_stgsna( int matrix_order, char job, char howmny, +lapack_int LAPACKE_stgsna( int matrix_layout, char job, char howmny, const lapack_logical* select, lapack_int n, const float* a, lapack_int lda, const float* b, lapack_int ldb, const float* vl, lapack_int ldvl, @@ -45,25 +45,25 @@ lapack_int LAPACKE_stgsna( int matrix_order, char job, char howmny, lapack_int* iwork = NULL; float* work = NULL; float work_query; - if( matrix_order != LAPACK_COL_MAJOR && matrix_order != LAPACK_ROW_MAJOR ) { + if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) { LAPACKE_xerbla( "LAPACKE_stgsna", -1 ); return -1; } #ifndef LAPACK_DISABLE_NAN_CHECK /* Optionally check input matrices for NaNs */ - if( LAPACKE_sge_nancheck( matrix_order, n, n, a, lda ) ) { + if( LAPACKE_sge_nancheck( matrix_layout, n, n, a, lda ) ) { return -6; } - if( LAPACKE_sge_nancheck( matrix_order, n, n, b, ldb ) ) { + if( LAPACKE_sge_nancheck( matrix_layout, n, n, b, ldb ) ) { return -8; } if( LAPACKE_lsame( job, 'b' ) || LAPACKE_lsame( job, 'e' ) ) { - if( LAPACKE_sge_nancheck( matrix_order, n, mm, vl, ldvl ) ) { + if( LAPACKE_sge_nancheck( matrix_layout, n, mm, vl, ldvl ) ) { return -10; } } if( LAPACKE_lsame( job, 'b' ) || LAPACKE_lsame( job, 'e' ) ) { - if( LAPACKE_sge_nancheck( matrix_order, n, mm, vr, ldvr ) ) { + if( LAPACKE_sge_nancheck( matrix_layout, n, mm, vr, ldvr ) ) { return -12; } } @@ -77,7 +77,7 @@ lapack_int LAPACKE_stgsna( int matrix_order, char job, char howmny, } } /* Query optimal working array(s) size */ - info = LAPACKE_stgsna_work( matrix_order, job, howmny, select, n, a, lda, b, + info = LAPACKE_stgsna_work( matrix_layout, job, howmny, select, n, a, lda, b, ldb, vl, ldvl, vr, ldvr, s, dif, mm, m, &work_query, lwork, iwork ); if( info != 0 ) { @@ -93,7 +93,7 @@ lapack_int LAPACKE_stgsna( int matrix_order, char job, char howmny, } } /* Call middle-level interface */ - info = LAPACKE_stgsna_work( matrix_order, job, howmny, select, n, a, lda, b, + info = LAPACKE_stgsna_work( matrix_layout, job, howmny, select, n, a, lda, b, ldb, vl, ldvl, vr, ldvr, s, dif, mm, m, work, lwork, iwork ); /* Release memory and exit */ |