LAPACK
3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
clag2z.f
Go to the documentation of this file.
1
*> \brief \b CLAG2Z converts a complex single precision matrix to a complex double precision matrix.
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
*
30
*> \par Purpose:
31
* =============
32
*>
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
*> \endverbatim
43
*
44
* Arguments:
45
* ==========
46
*
47
*> \param[in] M
48
*> \verbatim
49
*> M is INTEGER
50
*> The number of lines of the matrix A. M >= 0.
51
*> \endverbatim
52
*>
53
*> \param[in] N
54
*> \verbatim
55
*> N is INTEGER
56
*> The number of columns of the matrix A. N >= 0.
57
*> \endverbatim
58
*>
59
*> \param[in] SA
60
*> \verbatim
61
*> SA is COMPLEX array, dimension (LDSA,N)
62
*> On entry, the M-by-N coefficient matrix SA.
63
*> \endverbatim
64
*>
65
*> \param[in] LDSA
66
*> \verbatim
67
*> LDSA is INTEGER
68
*> The leading dimension of the array SA. LDSA >= max(1,M).
69
*> \endverbatim
70
*>
71
*> \param[out] A
72
*> \verbatim
73
*> A is COMPLEX*16 array, dimension (LDA,N)
74
*> On exit, the M-by-N coefficient matrix A.
75
*> \endverbatim
76
*>
77
*> \param[in] LDA
78
*> \verbatim
79
*> LDA is INTEGER
80
*> The leading dimension of the array A. LDA >= max(1,M).
81
*> \endverbatim
82
*>
83
*> \param[out] INFO
84
*> \verbatim
85
*> INFO is INTEGER
86
*> = 0: successful exit
87
*> \endverbatim
88
*
89
* Authors:
90
* ========
91
*
92
*> \author Univ. of Tennessee
93
*> \author Univ. of California Berkeley
94
*> \author Univ. of Colorado Denver
95
*> \author NAG Ltd.
96
*
97
*> \ingroup _lag2_
98
*
99
* =====================================================================
100
SUBROUTINE
clag2z
( M, N, SA, LDSA, A, LDA, INFO )
101
*
102
* -- LAPACK auxiliary routine --
103
* -- LAPACK is a software package provided by Univ. of Tennessee, --
104
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
105
*
106
* .. Scalar Arguments ..
107
INTEGER
INFO, LDA, LDSA, M, N
108
* ..
109
* .. Array Arguments ..
110
COMPLEX
SA( LDSA, * )
111
COMPLEX*16
A( LDA, * )
112
* ..
113
*
114
* =====================================================================
115
*
116
* .. Local Scalars ..
117
INTEGER
I, J
118
* ..
119
* .. Executable Statements ..
120
*
121
info = 0
122
DO
20 j = 1, n
123
DO
10 i = 1, m
124
a( i, j ) = sa( i, j )
125
10
CONTINUE
126
20
CONTINUE
127
RETURN
128
*
129
* End of CLAG2Z
130
*
131
END
clag2z
subroutine clag2z(m, n, sa, ldsa, a, lda, info)
CLAG2Z converts a complex single precision matrix to a complex double precision matrix.
Definition
clag2z.f:101
SRC
clag2z.f
Generated on Mon Jan 20 2025 17:18:08 for LAPACK by
1.11.0