clag2z

Converts a complex single precision matrix to a complex double precision matrix.

Syntax

call clag2z( m, n, sa, ldsa, a, lda, info )

C:

lapack_int LAPACKE_clag2z (int matrix_layout, lapack_int m, lapack_int n, const lapack_complex_float * sa, lapack_int ldsa, lapack_complex_double * a, lapack_int lda);

Include Files

  • Fortran: mkl.fi
  • C: mkl.h

Description

This routine converts a complex single precision matrix SA to a complex double precision 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.

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).

ldsa

INTEGER. The leading dimension of the array sa; ldsa ≥ max(1, m).

a

DOUBLE PRECISION 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).

Output Parameters

sa

REAL array, DIMENSION (ldsa, n).

On exit, contains the m-by-n coefficient matrix SA.

info

INTEGER.

If info = 0, the execution is successful.

For more complete information about compiler optimizations, see our Optimization Notice.