LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ clag2z()

subroutine clag2z ( integer m,
integer n,
complex, dimension( ldsa, * ) sa,
integer ldsa,
complex*16, dimension( lda, * ) a,
integer lda,
integer info )

CLAG2Z converts a complex single precision matrix to a complex double precision matrix.

Download CLAG2Z + dependencies [TGZ] [ZIP] [TXT]

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.
!> 
Parameters
[in]M
!>          M is INTEGER
!>          The number of lines of the matrix A.  M >= 0.
!> 
[in]N
!>          N is INTEGER
!>          The number of columns of the matrix A.  N >= 0.
!> 
[in]SA
!>          SA is COMPLEX array, dimension (LDSA,N)
!>          On entry, the M-by-N coefficient matrix SA.
!> 
[in]LDSA
!>          LDSA is INTEGER
!>          The leading dimension of the array SA.  LDSA >= max(1,M).
!> 
[out]A
!>          A is COMPLEX*16 array, dimension (LDA,N)
!>          On exit, the M-by-N coefficient matrix A.
!> 
[in]LDA
!>          LDA is INTEGER
!>          The leading dimension of the array A.  LDA >= max(1,M).
!> 
[out]INFO
!>          INFO is INTEGER
!>          = 0:  successful exit
!> 
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.

Definition at line 100 of file clag2z.f.

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*
Here is the caller graph for this function: