version 1.3, 2010/08/06 15:28:35
|
version 1.12, 2012/12/14 12:30:20
|
Line 1
|
Line 1
|
|
*> \brief \b CLAG2Z converts a complex single precision matrix to a complex double precision matrix. |
|
* |
|
* =========== DOCUMENTATION =========== |
|
* |
|
* Online html documentation available at |
|
* http://www.netlib.org/lapack/explore-html/ |
|
* |
|
*> \htmlonly |
|
*> Download CLAG2Z + dependencies |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/clag2z.f"> |
|
*> [TGZ]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/clag2z.f"> |
|
*> [ZIP]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/clag2z.f"> |
|
*> [TXT]</a> |
|
*> \endhtmlonly |
|
* |
|
* Definition: |
|
* =========== |
|
* |
|
* SUBROUTINE CLAG2Z( M, N, SA, LDSA, A, LDA, INFO ) |
|
* |
|
* .. Scalar Arguments .. |
|
* INTEGER INFO, LDA, LDSA, M, N |
|
* .. |
|
* .. Array Arguments .. |
|
* COMPLEX SA( LDSA, * ) |
|
* COMPLEX*16 A( LDA, * ) |
|
* .. |
|
* |
|
* |
|
*> \par Purpose: |
|
* ============= |
|
*> |
|
*> \verbatim |
|
*> |
|
*> CLAG2Z converts a COMPLEX matrix, SA, to a COMPLEX*16 matrix, A. |
|
*> |
|
*> Note that while it is possible to overflow while converting |
|
*> from double to single, it is not possible to overflow when |
|
*> converting from single to double. |
|
*> |
|
*> This is an auxiliary routine so there is no argument checking. |
|
*> \endverbatim |
|
* |
|
* Arguments: |
|
* ========== |
|
* |
|
*> \param[in] M |
|
*> \verbatim |
|
*> M is INTEGER |
|
*> The number of lines of the matrix A. M >= 0. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] N |
|
*> \verbatim |
|
*> N is INTEGER |
|
*> The number of columns of the matrix A. N >= 0. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] SA |
|
*> \verbatim |
|
*> SA is COMPLEX array, dimension (LDSA,N) |
|
*> On entry, the M-by-N coefficient matrix SA. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] LDSA |
|
*> \verbatim |
|
*> LDSA is INTEGER |
|
*> The leading dimension of the array SA. LDSA >= max(1,M). |
|
*> \endverbatim |
|
*> |
|
*> \param[out] A |
|
*> \verbatim |
|
*> A is COMPLEX*16 array, dimension (LDA,N) |
|
*> On exit, the M-by-N coefficient matrix A. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] LDA |
|
*> \verbatim |
|
*> LDA is INTEGER |
|
*> The leading dimension of the array A. LDA >= max(1,M). |
|
*> \endverbatim |
|
*> |
|
*> \param[out] INFO |
|
*> \verbatim |
|
*> INFO is INTEGER |
|
*> = 0: successful exit |
|
*> \endverbatim |
|
* |
|
* Authors: |
|
* ======== |
|
* |
|
*> \author Univ. of Tennessee |
|
*> \author Univ. of California Berkeley |
|
*> \author Univ. of Colorado Denver |
|
*> \author NAG Ltd. |
|
* |
|
*> \date September 2012 |
|
* |
|
*> \ingroup complex16OTHERauxiliary |
|
* |
|
* ===================================================================== |
SUBROUTINE CLAG2Z( M, N, SA, LDSA, A, LDA, INFO ) |
SUBROUTINE CLAG2Z( M, N, SA, LDSA, A, LDA, INFO ) |
* |
* |
* -- LAPACK PROTOTYPE auxiliary routine (version 3.1.2) -- |
* -- LAPACK auxiliary routine (version 3.4.2) -- |
* -- 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..-- |
* August 2007 |
* September 2012 |
* |
* |
* .. |
|
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER INFO, LDA, LDSA, M, N |
INTEGER INFO, LDA, LDSA, M, N |
* .. |
* .. |
Line 14
|
Line 116
|
COMPLEX*16 A( LDA, * ) |
COMPLEX*16 A( LDA, * ) |
* .. |
* .. |
* |
* |
* Purpose |
* ===================================================================== |
* ======= |
|
* |
|
* CLAG2Z converts a COMPLEX matrix, SA, to a COMPLEX*16 matrix, A. |
|
* |
|
* Note that while it is possible to overflow while converting |
|
* from double to single, it is not possible to overflow when |
|
* converting from single to double. |
|
* |
|
* This is an auxiliary routine so there is no argument checking. |
|
* |
|
* Arguments |
|
* ========= |
|
* |
|
* M (input) INTEGER |
|
* The number of lines of the matrix A. M >= 0. |
|
* |
|
* N (input) INTEGER |
|
* The number of columns of the matrix A. N >= 0. |
|
* |
|
* SA (input) COMPLEX array, dimension (LDSA,N) |
|
* On entry, the M-by-N coefficient matrix SA. |
|
* |
|
* LDSA (input) INTEGER |
|
* The leading dimension of the array SA. LDSA >= max(1,M). |
|
* |
|
* A (output) COMPLEX*16 array, dimension (LDA,N) |
|
* On exit, the M-by-N coefficient matrix A. |
|
* |
|
* LDA (input) INTEGER |
|
* The leading dimension of the array A. LDA >= max(1,M). |
|
* |
|
* INFO (output) INTEGER |
|
* = 0: successful exit |
|
* ========= |
|
* |
* |
* .. Local Scalars .. |
* .. Local Scalars .. |
INTEGER I, J |
INTEGER I, J |