Visible to Intel only — GUID: GUID-E6DFC39D-CC29-4759-87B3-7E41E64ECE43
Visible to Intel only — GUID: GUID-E6DFC39D-CC29-4759-87B3-7E41E64ECE43
zlag2c
Converts a complex double precision matrix to a complex single precision matrix.
Syntax
call zlag2c( m, n, a, lda, sa, ldsa, info )
Include Files
- mkl.fi
Description
The routine converts a double precision complex matrix SA to a single precision complex matrix A.
RMAX is the overflow for the single precision arithmetic. zlag2c checks that all the entries of A are between -RMAX and RMAX. If not, the convertion is aborted and a flag is raised.
This is an auxiliary routine so there is no argument checking.
Input Parameters
- m
-
INTEGER. The number of lines of the matrix A (m≥ 0).
- n
-
INTEGER. The number of columns in the matrix A (n≥ 0).
- a
-
DOUBLE COMPLEX array, DIMENSION (lda, n).
On entry, contains the m-by-n coefficient matrix A.
- lda
-
INTEGER. The leading dimension of the array a; lda≥ max(1, m).
- ldsa
-
INTEGER. The leading dimension of the array sa; ldsa≥ max(1, m).
Output Parameters
- sa
-
COMPLEX array, DIMENSION (ldsa, n).
On exit, if info = 0, contains the m-by-n coefficient matrix SA; if info > 0, the content of sa is unspecified.
- info
-
INTEGER.
If info = 0, the execution is successful.
If info = 1, an entry of the matrix A is greater than the single precision overflow threshold; in this case, the content of sa on exit is unspecified.