version 1.12, 2016/08/27 15:34:32
|
version 1.16, 2023/08/07 08:39:00
|
Line 2
|
Line 2
|
* |
* |
* =========== DOCUMENTATION =========== |
* =========== DOCUMENTATION =========== |
* |
* |
* Online html documentation available at |
* Online html documentation available at |
* http://www.netlib.org/lapack/explore-html/ |
* http://www.netlib.org/lapack/explore-html/ |
* |
* |
*> \htmlonly |
*> \htmlonly |
*> Download DLAT2S + dependencies |
*> Download DLAT2S + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlat2s.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlat2s.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlat2s.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlat2s.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlat2s.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlat2s.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
* |
* |
* SUBROUTINE DLAT2S( UPLO, N, A, LDA, SA, LDSA, INFO ) |
* SUBROUTINE DLAT2S( UPLO, N, A, LDA, SA, LDSA, INFO ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* CHARACTER UPLO |
* CHARACTER UPLO |
* INTEGER INFO, LDA, LDSA, N |
* INTEGER INFO, LDA, LDSA, N |
Line 28
|
Line 28
|
* REAL SA( LDSA, * ) |
* REAL SA( LDSA, * ) |
* DOUBLE PRECISION A( LDA, * ) |
* DOUBLE PRECISION A( LDA, * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
Line 40
|
Line 40
|
*> |
*> |
*> RMAX is the overflow for the SINGLE PRECISION arithmetic |
*> RMAX is the overflow for the SINGLE PRECISION arithmetic |
*> DLAS2S checks that all the entries of A are between -RMAX and |
*> DLAS2S checks that all the entries of A are between -RMAX and |
*> RMAX. If not the convertion is aborted and a flag is raised. |
*> RMAX. If not the conversion is aborted and a flag is raised. |
*> |
*> |
*> This is an auxiliary routine so there is no argument checking. |
*> This is an auxiliary routine so there is no argument checking. |
*> \endverbatim |
*> \endverbatim |
Line 99
|
Line 99
|
* Authors: |
* Authors: |
* ======== |
* ======== |
* |
* |
*> \author Univ. of Tennessee |
*> \author Univ. of Tennessee |
*> \author Univ. of California Berkeley |
*> \author Univ. of California Berkeley |
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
|
*> \date September 2012 |
|
* |
* |
*> \ingroup doubleOTHERauxiliary |
*> \ingroup doubleOTHERauxiliary |
* |
* |
* ===================================================================== |
* ===================================================================== |
SUBROUTINE DLAT2S( UPLO, N, A, LDA, SA, LDSA, INFO ) |
SUBROUTINE DLAT2S( UPLO, N, A, LDA, SA, LDSA, INFO ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.4.2) -- |
* -- LAPACK auxiliary routine -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* September 2012 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
CHARACTER UPLO |
CHARACTER UPLO |
Line 137
|
Line 134
|
LOGICAL LSAME |
LOGICAL LSAME |
EXTERNAL SLAMCH, LSAME |
EXTERNAL SLAMCH, LSAME |
* .. |
* .. |
|
* .. Intrinsic Functions .. |
|
INTRINSIC REAL |
|
* .. |
* .. Executable Statements .. |
* .. Executable Statements .. |
* |
* |
RMAX = SLAMCH( 'O' ) |
RMAX = SLAMCH( 'O' ) |
Line 149
|
Line 149
|
INFO = 1 |
INFO = 1 |
GO TO 50 |
GO TO 50 |
END IF |
END IF |
SA( I, J ) = A( I, J ) |
SA( I, J ) = REAL( A( I, J ) ) |
10 CONTINUE |
10 CONTINUE |
20 CONTINUE |
20 CONTINUE |
ELSE |
ELSE |
Line 160
|
Line 160
|
INFO = 1 |
INFO = 1 |
GO TO 50 |
GO TO 50 |
END IF |
END IF |
SA( I, J ) = A( I, J ) |
SA( I, J ) = REAL( A( I, J ) ) |
30 CONTINUE |
30 CONTINUE |
40 CONTINUE |
40 CONTINUE |
END IF |
END IF |