--- rpl/lapack/lapack/clag2z.f 2011/07/22 07:38:04 1.8 +++ rpl/lapack/lapack/clag2z.f 2011/11/21 20:42:49 1.9 @@ -1,11 +1,113 @@ +*> \brief \b CLAG2Z +* +* =========== DOCUMENTATION =========== +* +* Online html documentation available at +* http://www.netlib.org/lapack/explore-html/ +* +*> \htmlonly +*> Download CLAG2Z + dependencies +*> +*> [TGZ] +*> +*> [ZIP] +*> +*> [TXT] +*> \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 November 2011 +* +*> \ingroup complex16OTHERauxiliary +* +* ===================================================================== SUBROUTINE CLAG2Z( M, N, SA, LDSA, A, LDA, INFO ) * -* -- LAPACK PROTOTYPE auxiliary routine (version 3.3.1) -- +* -- LAPACK auxiliary routine (version 3.4.0) -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- -* -- April 2011 -- +* November 2011 * -* .. * .. Scalar Arguments .. INTEGER INFO, LDA, LDSA, M, N * .. @@ -14,41 +116,6 @@ 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 ..