Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public
Document Table of Contents

clag2z

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

Syntax

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

Include Files

  • mkl.fi

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.