Fix misc. typos

Mostly trivial source code comments.
This commit is contained in:
luzpaz
2017-12-01 06:55:48 -05:00
parent ba3779a681
commit 3fac41ca28
83 changed files with 111 additions and 111 deletions
+1 -1
View File
@@ -619,7 +619,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -991,7 +991,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -946,7 +946,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -619,7 +619,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -47,7 +47,7 @@ int main ( )
a[m*3+1] = 6;
a[m*3+2] = 7;
a[m*3+3] = 8;
/* The elemetns of x and y */
/* The elements of x and y */
x[0] = 1;
x[1] = 2;
x[2] = 1;
+1 -1
View File
@@ -577,7 +577,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -653,7 +653,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -653,7 +653,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -577,7 +577,7 @@
SUBROUTINE STEST1(SCOMP1,STRUE1,SSIZE,SFAC)
* ************************* STEST1 *****************************
*
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMODATE THE FORTRAN
* THIS IS AN INTERFACE SUBROUTINE TO ACCOMMODATE THE FORTRAN
* REQUIREMENT THAT WHEN A DUMMY ARGUMENT IS AN ARRAY, THE
* ACTUAL ARGUMENT MUST ALSO BE AN ARRAY OR AN ARRAY ELEMENT.
*
+1 -1
View File
@@ -1,4 +1,4 @@
# This module checks against various known compilers and thier respective
# This module checks against various known compilers and their respective
# flags to determine any specific flags needing to be set.
#
# 1. If FPE traps are enabled either abort or disable them
+1 -1
View File
@@ -20,7 +20,7 @@ set(CMAKE_REQUIRED_QUIET ${codecov_FIND_QUIETLY})
get_property(ENABLED_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
foreach (LANG ${ENABLED_LANGUAGES})
# Gcov evaluation is dependend on the used compiler. Check gcov support for
# Gcov evaluation is dependent on the used compiler. Check gcov support for
# each compiler that is used. If gcov binary was already found for this
# compiler, do not try to find it again.
if(NOT GCOV_${CMAKE_${LANG}_COMPILER_ID}_BIN)
+1 -1
View File
@@ -42,7 +42,7 @@ set(CMAKE_REQUIRED_QUIET ${codecov_FIND_QUIETLY})
get_property(ENABLED_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
foreach (LANG ${ENABLED_LANGUAGES})
# Coverage flags are not dependend on language, but the used compiler. So
# Coverage flags are not dependent on language, but the used compiler. So
# instead of searching flags foreach language, search flags foreach compiler
# used.
set(COMPILER ${CMAKE_${LANG}_COMPILER_ID})
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo, transr or
* matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo, transr or
* matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo, transr or
* matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo, transr or
* matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -33,7 +33,7 @@
#include "lapacke_utils.h"
/* Check a matrix for NaN entries.
* Since matrix in packed format stored continiously it just required to
* Since matrix in packed format stored continuously it just required to
* check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout.
*/
+1 -1
View File
@@ -64,7 +64,7 @@ You should then see the following files in the TESTING directory:
= LINKING YOUR PROGRAM =
========================
You just need to add the variants methods library in your linking sequence before your lapack libary.
You just need to add the variants methods library in your linking sequence before your lapack library.
Here is a quick example for LU
Default using LU Right Looking version:
+3 -3
View File
@@ -1336,7 +1336,7 @@
IF ( L2ABER ) THEN
* Standard absolute error bound suffices. All sigma_i with
* sigma_i < N*EPSLN*||A|| are flushed to zero. This is an
* agressive enforcement of lower numerical rank by introducing a
* aggressive enforcement of lower numerical rank by introducing a
* backward error of the order of N*EPSLN*||A||.
TEMP1 = SQRT(REAL(N))*EPSLN
DO 3001 p = 2, N
@@ -1348,7 +1348,7 @@
3001 CONTINUE
3002 CONTINUE
ELSE IF ( L2RANK ) THEN
* .. similarly as above, only slightly more gentle (less agressive).
* .. similarly as above, only slightly more gentle (less aggressive).
* Sudden drop on the diagonal of R1 is used as the criterion for
* close-to-rank-defficient.
TEMP1 = SQRT(SFMIN)
@@ -1718,7 +1718,7 @@
CALL CPOCON('L',NR,CWORK(2*N+1),NR,ONE,TEMP1,
$ CWORK(2*N+NR*NR+1),RWORK,IERR)
CONDR1 = ONE / SQRT(TEMP1)
* .. here need a second oppinion on the condition number
* .. here need a second opinion on the condition number
* .. then assume worst case scenario
* R1 is OK for inverse <=> CONDR1 .LT. REAL(N)
* more conservative <=> CONDR1 .LT. SQRT(REAL(N))
+2 -2
View File
@@ -322,7 +322,7 @@
*
* Factorize A as U*D*U**H using the upper triangle of A
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -676,7 +676,7 @@
*
* Factorize A as L*D*L**H using the lower triangle of A
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+1 -1
View File
@@ -139,7 +139,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if COMPZ = 'I' or
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwize, LDZ.GE.1.
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+2 -2
View File
@@ -331,7 +331,7 @@
* of A and working backwards, and compute the matrix W = U12*D
* for use in updating A11 (note that conjg(W) is actually stored)
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -789,7 +789,7 @@
* of A and working forwards, and compute the matrix W = L21*D
* for use in updating A22 (note that conjg(W) is actually stored)
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+1 -1
View File
@@ -127,7 +127,7 @@
*> \param[in,out] AUXV
*> \verbatim
*> AUXV is COMPLEX array, dimension (NB)
*> Auxiliar vector.
*> Auxiliary vector.
*> \endverbatim
*>
*> \param[in,out] F
+1 -1
View File
@@ -145,7 +145,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -153,7 +153,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+2 -2
View File
@@ -330,7 +330,7 @@
* of A and working backwards, and compute the matrix W = U12*D
* for use in updating A11
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -658,7 +658,7 @@
* of A and working forwards, and compute the matrix W = L21*D
* for use in updating A22
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+1 -1
View File
@@ -261,7 +261,7 @@
*
* Solve for U- part, lockahead for RHS(N) = +-1. This is not done
* In BSOLVE and will hopefully give us a better estimate because
* any ill-conditioning of the original matrix is transfered to U
* any ill-conditioning of the original matrix is transferred to U
* and not to L. U(N, N) is an approximation to sigma_min(LU).
*
CALL CCOPY( N-1, RHS, 1, WORK, 1 )
+2 -2
View File
@@ -321,7 +321,7 @@
*
* Factorize A as U*D*U**T using the upper triangle of A
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -632,7 +632,7 @@
*
* Factorize A as L*D*L**T using the lower triangle of A
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+3 -3
View File
@@ -953,7 +953,7 @@
IF ( L2ABER ) THEN
* Standard absolute error bound suffices. All sigma_i with
* sigma_i < N*EPSLN*||A|| are flushed to zero. This is an
* agressive enforcement of lower numerical rank by introducing a
* aggressive enforcement of lower numerical rank by introducing a
* backward error of the order of N*EPSLN*||A||.
TEMP1 = DSQRT(DBLE(N))*EPSLN
DO 3001 p = 2, N
@@ -965,7 +965,7 @@
3001 CONTINUE
3002 CONTINUE
ELSE IF ( L2RANK ) THEN
* .. similarly as above, only slightly more gentle (less agressive).
* .. similarly as above, only slightly more gentle (less aggressive).
* Sudden drop on the diagonal of R1 is used as the criterion for
* close-to-rank-deficient.
TEMP1 = DSQRT(SFMIN)
@@ -1294,7 +1294,7 @@
CALL DPOCON('Lower',NR,WORK(2*N+1),NR,ONE,TEMP1,
$ WORK(2*N+NR*NR+1),IWORK(M+2*N+1),IERR)
CONDR1 = ONE / DSQRT(TEMP1)
* .. here need a second oppinion on the condition number
* .. here need a second opinion on the condition number
* .. then assume worst case scenario
* R1 is OK for inverse <=> CONDR1 .LT. DBLE(N)
* more conservative <=> CONDR1 .LT. DSQRT(DBLE(N))
+2 -2
View File
@@ -322,7 +322,7 @@
*
IF( WNTQN ) THEN
* dbdsdc needs only 4*N (or 6*N for uplo=L for LAPACK <= 3.6)
* keep 7*N for backwards compatability.
* keep 7*N for backwards compatibility.
BDSPAC = 7*N
ELSE
BDSPAC = 3*N*N + 4*N
@@ -448,7 +448,7 @@
*
IF( WNTQN ) THEN
* dbdsdc needs only 4*N (or 6*N for uplo=L for LAPACK <= 3.6)
* keep 7*N for backwards compatability.
* keep 7*N for backwards compatibility.
BDSPAC = 7*M
ELSE
BDSPAC = 3*M*M + 4*M
+1 -1
View File
@@ -156,7 +156,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if COMPZ = 'I' or
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwize, LDZ.GE.1.
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -353,7 +353,7 @@
Z( I ) = W( INDX( I ) )
40 CONTINUE
*
* Calculate the allowable deflation tolerence
* Calculate the allowable deflation tolerance
*
IMAX = IDAMAX( N, Z, 1 )
JMAX = IDAMAX( N, D, 1 )
+1 -1
View File
@@ -127,7 +127,7 @@
*> \param[in,out] AUXV
*> \verbatim
*> AUXV is DOUBLE PRECISION array, dimension (NB)
*> Auxiliar vector.
*> Auxiliary vector.
*> \endverbatim
*>
*> \param[in,out] F
+1 -1
View File
@@ -161,7 +161,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -168,7 +168,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -400,7 +400,7 @@
VL( I ) = VLW( IDXI )
50 CONTINUE
*
* Calculate the allowable deflation tolerence
* Calculate the allowable deflation tolerance
*
EPS = DLAMCH( 'Epsilon' )
TOL = MAX( ABS( ALPHA ), ABS( BETA ) )
+2 -2
View File
@@ -321,7 +321,7 @@
* of A and working backwards, and compute the matrix W = U12*D
* for use in updating A11
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = ZERO
@@ -649,7 +649,7 @@
* of A and working forwards, and compute the matrix W = L21*D
* for use in updating A22
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = ZERO
*
+1 -1
View File
@@ -260,7 +260,7 @@
*
* Solve for U-part, look-ahead for RHS(N) = +-1. This is not done
* in BSOLVE and will hopefully give us a better estimate because
* any ill-conditioning of the original matrix is transfered to U
* any ill-conditioning of the original matrix is transferred to U
* and not to L. U(N, N) is an approximation to sigma_min(LU).
*
CALL DCOPY( N-1, RHS, 1, XP, 1 )
+2 -2
View File
@@ -312,7 +312,7 @@
*
* Factorize A as U*D*U**T using the upper triangle of A
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = ZERO
@@ -623,7 +623,7 @@
*
* Factorize A as L*D*L**T using the lower triangle of A
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = ZERO
*
+3 -3
View File
@@ -953,7 +953,7 @@
IF ( L2ABER ) THEN
* Standard absolute error bound suffices. All sigma_i with
* sigma_i < N*EPSLN*||A|| are flushed to zero. This is an
* agressive enforcement of lower numerical rank by introducing a
* aggressive enforcement of lower numerical rank by introducing a
* backward error of the order of N*EPSLN*||A||.
TEMP1 = SQRT(FLOAT(N))*EPSLN
DO 3001 p = 2, N
@@ -965,7 +965,7 @@
3001 CONTINUE
3002 CONTINUE
ELSE IF ( L2RANK ) THEN
* .. similarly as above, only slightly more gentle (less agressive).
* .. similarly as above, only slightly more gentle (less aggressive).
* Sudden drop on the diagonal of R1 is used as the criterion for
* close-to-rank-deficient.
TEMP1 = SQRT(SFMIN)
@@ -1294,7 +1294,7 @@
CALL SPOCON('Lower',NR,WORK(2*N+1),NR,ONE,TEMP1,
$ WORK(2*N+NR*NR+1),IWORK(M+2*N+1),IERR)
CONDR1 = ONE / SQRT(TEMP1)
* .. here need a second oppinion on the condition number
* .. here need a second opinion on the condition number
* .. then assume worst case scenario
* R1 is OK for inverse <=> CONDR1 .LT. FLOAT(N)
* more conservative <=> CONDR1 .LT. SQRT(FLOAT(N))
+2 -2
View File
@@ -322,7 +322,7 @@
*
IF( WNTQN ) THEN
* sbdsdc needs only 4*N (or 6*N for uplo=L for LAPACK <= 3.6)
* keep 7*N for backwards compatability.
* keep 7*N for backwards compatibility.
BDSPAC = 7*N
ELSE
BDSPAC = 3*N*N + 4*N
@@ -448,7 +448,7 @@
*
IF( WNTQN ) THEN
* sbdsdc needs only 4*N (or 6*N for uplo=L for LAPACK <= 3.6)
* keep 7*N for backwards compatability.
* keep 7*N for backwards compatibility.
BDSPAC = 7*M
ELSE
BDSPAC = 3*M*M + 4*M
+1 -1
View File
@@ -156,7 +156,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if COMPZ = 'I' or
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwize, LDZ.GE.1.
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -353,7 +353,7 @@
Z( I ) = W( INDX( I ) )
40 CONTINUE
*
* Calculate the allowable deflation tolerence
* Calculate the allowable deflation tolerance
*
IMAX = ISAMAX( N, Z, 1 )
JMAX = ISAMAX( N, D, 1 )
+1 -1
View File
@@ -127,7 +127,7 @@
*> \param[in,out] AUXV
*> \verbatim
*> AUXV is REAL array, dimension (NB)
*> Auxiliar vector.
*> Auxiliary vector.
*> \endverbatim
*>
*> \param[in,out] F
+1 -1
View File
@@ -161,7 +161,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -168,7 +168,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -400,7 +400,7 @@
VL( I ) = VLW( IDXI )
50 CONTINUE
*
* Calculate the allowable deflation tolerence
* Calculate the allowable deflation tolerance
*
EPS = SLAMCH( 'Epsilon' )
TOL = MAX( ABS( ALPHA ), ABS( BETA ) )
+2 -2
View File
@@ -321,7 +321,7 @@
* of A and working backwards, and compute the matrix W = U12*D
* for use in updating A11
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = ZERO
@@ -649,7 +649,7 @@
* of A and working forwards, and compute the matrix W = L21*D
* for use in updating A22
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = ZERO
*
+1 -1
View File
@@ -260,7 +260,7 @@
*
* Solve for U-part, look-ahead for RHS(N) = +-1. This is not done
* in BSOLVE and will hopefully give us a better estimate because
* any ill-conditioning of the original matrix is transfered to U
* any ill-conditioning of the original matrix is transferred to U
* and not to L. U(N, N) is an approximation to sigma_min(LU).
*
CALL SCOPY( N-1, RHS, 1, XP, 1 )
+2 -2
View File
@@ -312,7 +312,7 @@
*
* Factorize A as U*D*U**T using the upper triangle of A
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = ZERO
@@ -623,7 +623,7 @@
*
* Factorize A as L*D*L**T using the lower triangle of A
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = ZERO
*
+3 -3
View File
@@ -1338,7 +1338,7 @@
IF ( L2ABER ) THEN
* Standard absolute error bound suffices. All sigma_i with
* sigma_i < N*EPSLN*||A|| are flushed to zero. This is an
* agressive enforcement of lower numerical rank by introducing a
* aggressive enforcement of lower numerical rank by introducing a
* backward error of the order of N*EPSLN*||A||.
TEMP1 = SQRT(DBLE(N))*EPSLN
DO 3001 p = 2, N
@@ -1350,7 +1350,7 @@
3001 CONTINUE
3002 CONTINUE
ELSE IF ( L2RANK ) THEN
* .. similarly as above, only slightly more gentle (less agressive).
* .. similarly as above, only slightly more gentle (less aggressive).
* Sudden drop on the diagonal of R1 is used as the criterion for
* close-to-rank-deficient.
TEMP1 = SQRT(SFMIN)
@@ -1720,7 +1720,7 @@
CALL ZPOCON('L',NR,CWORK(2*N+1),NR,ONE,TEMP1,
$ CWORK(2*N+NR*NR+1),RWORK,IERR)
CONDR1 = ONE / SQRT(TEMP1)
* .. here need a second oppinion on the condition number
* .. here need a second opinion on the condition number
* .. then assume worst case scenario
* R1 is OK for inverse <=> CONDR1 .LT. DBLE(N)
* more conservative <=> CONDR1 .LT. SQRT(DBLE(N))
+2 -2
View File
@@ -322,7 +322,7 @@
*
* Factorize A as U*D*U**H using the upper triangle of A
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -676,7 +676,7 @@
*
* Factorize A as L*D*L**H using the lower triangle of A
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+1 -1
View File
@@ -139,7 +139,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if COMPZ = 'I' or
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwize, LDZ.GE.1.
*> COMPZ = 'V', then LDZ.GE.MAX(1,N). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+2 -2
View File
@@ -331,7 +331,7 @@
* Factorize the trailing columns of A using the upper triangle
* of A and working backwards, and compute the matrix W = U12*D
* for use in updating A11 (note that conjg(W) is actually stored)
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -789,7 +789,7 @@
* of A and working forwards, and compute the matrix W = L21*D
* for use in updating A22 (note that conjg(W) is actually stored)
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+1 -1
View File
@@ -127,7 +127,7 @@
*> \param[in,out] AUXV
*> \verbatim
*> AUXV is COMPLEX*16 array, dimension (NB)
*> Auxiliar vector.
*> Auxiliary vector.
*> \endverbatim
*>
*> \param[in,out] F
+1 -1
View File
@@ -146,7 +146,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+1 -1
View File
@@ -152,7 +152,7 @@
*> \verbatim
*> LDZ is INTEGER
*> The leading dimension of the array Z. if WANTZ is .TRUE.
*> then LDZ.GE.MAX(1,IHIZ). Otherwize, LDZ.GE.1.
*> then LDZ.GE.MAX(1,IHIZ). Otherwise, LDZ.GE.1.
*> \endverbatim
*>
*> \param[out] WORK
+2 -2
View File
@@ -330,7 +330,7 @@
* of A and working backwards, and compute the matrix W = U12*D
* for use in updating A11
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -658,7 +658,7 @@
* of A and working forwards, and compute the matrix W = L21*D
* for use in updating A22
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+1 -1
View File
@@ -261,7 +261,7 @@
*
* Solve for U- part, lockahead for RHS(N) = +-1. This is not done
* In BSOLVE and will hopefully give us a better estimate because
* any ill-conditioning of the original matrix is transfered to U
* any ill-conditioning of the original matrix is transferred to U
* and not to L. U(N, N) is an approximation to sigma_min(LU).
*
CALL ZCOPY( N-1, RHS, 1, WORK, 1 )
+2 -2
View File
@@ -321,7 +321,7 @@
*
* Factorize A as U*D*U**T using the upper triangle of A
*
* Initilize the first entry of array E, where superdiagonal
* Initialize the first entry of array E, where superdiagonal
* elements of D are stored
*
E( 1 ) = CZERO
@@ -632,7 +632,7 @@
*
* Factorize A as L*D*L**T using the lower triangle of A
*
* Initilize the unused last entry of the subdiagonal array E.
* Initialize the unused last entry of the subdiagonal array E.
*
E( N ) = CZERO
*
+2 -2
View File
@@ -861,7 +861,7 @@
& 0, A, LDVT, WORK, LWORK, RWORK,
& LRWORK, IINFO )
*
* CGESVJ retuns V not VT, so we transpose to use the same
* CGESVJ returns V not VT, so we transpose to use the same
* test suite.
*
DO J=1,N
@@ -923,7 +923,7 @@
& WORK, LWORK, RWORK,
& LRWORK, IWORK, IINFO )
*
* CGEJSV retuns V not VT, so we transpose to use the same
* CGEJSV returns V not VT, so we transpose to use the same
* test suite.
*
DO 133 J=1,N
+2 -2
View File
@@ -802,7 +802,7 @@
CALL DGESVJ( 'G', 'U', 'V', M, N, USAV, LDA, SSAV,
& 0, A, LDVT, WORK, LWORK, INFO )
*
* DGESVJ retuns V not VT, so we transpose to use the same
* DGESVJ returns V not VT, so we transpose to use the same
* test suite.
*
DO J=1,N
@@ -862,7 +862,7 @@
& M, N, VTSAV, LDA, SSAV, USAV, LDU, A, LDVT,
& WORK, LWORK, IWORK, INFO )
*
* DGEJSV retuns V not VT, so we transpose to use the same
* DGEJSV returns V not VT, so we transpose to use the same
* test suite.
*
DO 140 J=1,N
+1 -1
View File
@@ -194,7 +194,7 @@
VM5( 2 ) = EPS
VM5( 3 ) = SQRT( SMLNUM )
*
* Initalization
* Initialization
*
KNT = 0
RMAX = ZERO
+2 -2
View File
@@ -802,7 +802,7 @@
CALL SGESVJ( 'G', 'U', 'V', M, N, USAV, LDA, SSAV,
& 0, A, LDVT, WORK, LWORK, INFO )
*
* SGESVJ retuns V not VT, so we transpose to use the same
* SGESVJ returns V not VT, so we transpose to use the same
* test suite.
*
DO J=1,N
@@ -862,7 +862,7 @@
& M, N, VTSAV, LDA, SSAV, USAV, LDU, A, LDVT,
& WORK, LWORK, IWORK, INFO )
*
* SGEJSV retuns V not VT, so we transpose to use the same
* SGEJSV returns V not VT, so we transpose to use the same
* test suite.
*
DO 140 J=1,N
+1 -1
View File
@@ -194,7 +194,7 @@
VM5( 2 ) = EPS
VM5( 3 ) = SQRT( SMLNUM )
*
* Initalization
* Initialization
*
KNT = 0
RMAX = ZERO
+2 -2
View File
@@ -861,7 +861,7 @@
& 0, A, LDVT, WORK, LWORK, RWORK,
& LRWORK, IINFO )
*
* ZGESVJ retuns V not VT, so we transpose to use the same
* ZGESVJ returns V not VT, so we transpose to use the same
* test suite.
*
DO J=1,N
@@ -923,7 +923,7 @@
& WORK, LWORK, RWORK,
& LRWORK, IWORK, IINFO )
*
* ZGEJSV retuns V not VT, so we transpose to use the same
* ZGEJSV returns V not VT, so we transpose to use the same
* test suite.
*
DO 133 J=1,N
+2 -2
View File
@@ -678,7 +678,7 @@
*
* HK: Hermitian indefinite matrices,
* with bounded Bunch-Kaufman (rook) pivoting algorithm,
* differnet matrix storage format than HR path version.
* different matrix storage format than HR path version.
*
NTYPES = 10
CALL ALAREQ( PATH, NMATS, DOTYPE, NTYPES, NIN, NOUT )
@@ -838,7 +838,7 @@
*
* SK: symmetric indefinite matrices,
* with bounded Bunch-Kaufman (rook) pivoting algorithm,
* differnet matrix storage format than SR path version.
* different matrix storage format than SR path version.
*
NTYPES = 11
CALL ALAREQ( PATH, NMATS, DOTYPE, NTYPES, NIN, NOUT )
+1 -1
View File
@@ -674,7 +674,7 @@
*
* SK: symmetric indefinite matrices,
* with bounded Bunch-Kaufman (rook) pivoting algorithm,
* differnet matrix storage format than SR path version.
* different matrix storage format than SR path version.
*
NTYPES = 10
CALL ALAREQ( PATH, NMATS, DOTYPE, NTYPES, NIN, NOUT )
+1 -1
View File
@@ -673,7 +673,7 @@
*
* SK: symmetric indefinite matrices,
* with bounded Bunch-Kaufman (rook) pivoting algorithm,
* differnet matrix storage format than SR path version.
* different matrix storage format than SR path version.
*
NTYPES = 10
CALL ALAREQ( PATH, NMATS, DOTYPE, NTYPES, NIN, NOUT )
+2 -2
View File
@@ -679,7 +679,7 @@
*
* HK: Hermitian indefinite matrices,
* with bounded Bunch-Kaufman (rook) pivoting algorithm,
* differnet matrix storage format than HR path version.
* different matrix storage format than HR path version.
*
NTYPES = 10
CALL ALAREQ( PATH, NMATS, DOTYPE, NTYPES, NIN, NOUT )
@@ -839,7 +839,7 @@
*
* SK: symmetric indefinite matrices,
* with bounded Bunch-Kaufman (rook) pivoting algorithm,
* differnet matrix storage format than SR path version.
* different matrix storage format than SR path version.
*
NTYPES = 11
CALL ALAREQ( PATH, NMATS, DOTYPE, NTYPES, NIN, NOUT )