version 1.13, 2012/12/14 14:22:32
|
version 1.19, 2023/08/07 08:38:54
|
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 DLAG2S + dependencies |
*> Download DLAG2S + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlag2s.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlag2s.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlag2s.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlag2s.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlag2s.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlag2s.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
* |
* |
* SUBROUTINE DLAG2S( M, N, A, LDA, SA, LDSA, INFO ) |
* SUBROUTINE DLAG2S( M, N, A, LDA, SA, LDSA, INFO ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* INTEGER INFO, LDA, LDSA, M, N |
* INTEGER INFO, LDA, LDSA, M, N |
* .. |
* .. |
Line 27
|
Line 27
|
* REAL SA( LDSA, * ) |
* REAL SA( LDSA, * ) |
* DOUBLE PRECISION A( LDA, * ) |
* DOUBLE PRECISION A( LDA, * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
*> |
*> |
*> \verbatim |
*> \verbatim |
*> |
*> |
*> DLAG2S converts a DOUBLE PRECISION matrix, SA, to a SINGLE |
*> DLAG2S converts a DOUBLE PRECISION matrix, A, to a SINGLE |
*> PRECISION matrix, A. |
*> PRECISION matrix, SA. |
*> |
*> |
*> RMAX is the overflow for the SINGLE PRECISION arithmetic |
*> RMAX is the overflow for the SINGLE PRECISION arithmetic |
*> DLAG2S checks that all the entries of A are between -RMAX and |
*> DLAG2S 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 96
|
Line 96
|
* 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 DLAG2S( M, N, A, LDA, SA, LDSA, INFO ) |
SUBROUTINE DLAG2S( M, 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 .. |
INTEGER INFO, LDA, LDSA, M, N |
INTEGER INFO, LDA, LDSA, M, N |
Line 131
|
Line 128
|
REAL SLAMCH |
REAL SLAMCH |
EXTERNAL SLAMCH |
EXTERNAL SLAMCH |
* .. |
* .. |
|
* .. Intrinsic Functions .. |
|
INTRINSIC REAL |
|
* .. |
* .. Executable Statements .. |
* .. Executable Statements .. |
* |
* |
RMAX = SLAMCH( 'O' ) |
RMAX = SLAMCH( 'O' ) |
Line 140
|
Line 140
|
INFO = 1 |
INFO = 1 |
GO TO 30 |
GO TO 30 |
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 |
INFO = 0 |
INFO = 0 |