adding link to individual download, the links will appear directly in Doxygen html...
[platform/upstream/lapack.git] / SRC / clag2z.f
1 *> \brief \b CLAG2Z
2 *
3 *  =========== DOCUMENTATION ===========
4 *
5 * Online html documentation available at 
6 *            http://www.netlib.org/lapack/explore-html/ 
7 *
8 *> Download CLAG2Z + dependencies 
9 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/clag2z.f"> 
10 *> [TGZ]</a> 
11 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/clag2z.f"> 
12 *> [ZIP]</a> 
13 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/clag2z.f"> 
14 *> [TXT]</a> 
15 *
16 *  Definition
17 *  ==========
18 *
19 *       SUBROUTINE CLAG2Z( M, N, SA, LDSA, A, LDA, INFO )
20
21 *       .. Scalar Arguments ..
22 *       INTEGER            INFO, LDA, LDSA, M, N
23 *       ..
24 *       .. Array Arguments ..
25 *       COMPLEX            SA( LDSA, * )
26 *       COMPLEX*16         A( LDA, * )
27 *       ..
28 *  
29 *  Purpose
30 *  =======
31 *
32 *>\details \b Purpose:
33 *>\verbatim
34 *>
35 *> CLAG2Z converts a COMPLEX matrix, SA, to a COMPLEX*16 matrix, A.
36 *>
37 *> Note that while it is possible to overflow while converting
38 *> from double to single, it is not possible to overflow when
39 *> converting from single to double.
40 *>
41 *> This is an auxiliary routine so there is no argument checking.
42 *>
43 *>\endverbatim
44 *
45 *  Arguments
46 *  =========
47 *
48 *> \param[in] M
49 *> \verbatim
50 *>          M is INTEGER
51 *>          The number of lines of the matrix A.  M >= 0.
52 *> \endverbatim
53 *>
54 *> \param[in] N
55 *> \verbatim
56 *>          N is INTEGER
57 *>          The number of columns of the matrix A.  N >= 0.
58 *> \endverbatim
59 *>
60 *> \param[in] SA
61 *> \verbatim
62 *>          SA is COMPLEX array, dimension (LDSA,N)
63 *>          On entry, the M-by-N coefficient matrix SA.
64 *> \endverbatim
65 *>
66 *> \param[in] LDSA
67 *> \verbatim
68 *>          LDSA is INTEGER
69 *>          The leading dimension of the array SA.  LDSA >= max(1,M).
70 *> \endverbatim
71 *>
72 *> \param[out] A
73 *> \verbatim
74 *>          A is COMPLEX*16 array, dimension (LDA,N)
75 *>          On exit, the M-by-N coefficient matrix A.
76 *> \endverbatim
77 *>
78 *> \param[in] LDA
79 *> \verbatim
80 *>          LDA is INTEGER
81 *>          The leading dimension of the array A.  LDA >= max(1,M).
82 *> \endverbatim
83 *>
84 *> \param[out] INFO
85 *> \verbatim
86 *>          INFO is INTEGER
87 *>          = 0:  successful exit
88 *> \endverbatim
89 *>
90 *
91 *  Authors
92 *  =======
93 *
94 *> \author Univ. of Tennessee 
95 *> \author Univ. of California Berkeley 
96 *> \author Univ. of Colorado Denver 
97 *> \author NAG Ltd. 
98 *
99 *> \date November 2011
100 *
101 *> \ingroup complex16OTHERauxiliary
102 *
103 *  =====================================================================
104       SUBROUTINE CLAG2Z( M, N, SA, LDSA, A, LDA, INFO )
105 *
106 *  -- LAPACK auxiliary routine (version 3.3.1) --
107 *  -- LAPACK is a software package provided by Univ. of Tennessee,    --
108 *  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
109 *     November 2011
110 *
111 *     .. Scalar Arguments ..
112       INTEGER            INFO, LDA, LDSA, M, N
113 *     ..
114 *     .. Array Arguments ..
115       COMPLEX            SA( LDSA, * )
116       COMPLEX*16         A( LDA, * )
117 *     ..
118 *
119 *  =====================================================================
120 *
121 *     .. Local Scalars ..
122       INTEGER            I, J
123 *     ..
124 *     .. Executable Statements ..
125 *
126       INFO = 0
127       DO 20 J = 1, N
128          DO 10 I = 1, M
129             A( I, J ) = SA( I, J )
130    10    CONTINUE
131    20 CONTINUE
132       RETURN
133 *
134 *     End of CLAG2Z
135 *
136       END