---
name: "clag2z.f"
section: "3"
platform: "linux"
package: "lapack-doc"
version: "3.12.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/clag2z.f"
---

# clag2z.f(3)

## NAME

SRC/clag2z.f

## SYNOPSIS

### Functions/Subroutines

subroutine **clag2z** (m, n, sa, ldsa, a, lda, info)\
 **CLAG2Z** converts a complex single precision matrix to a complex double precision matrix.

## Function/Subroutine Documentation

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

**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**

*M*

```
!>          M is INTEGER
!>          The number of lines of the matrix A.  M >= 0.
!>
```

*N*

```
!>          N is INTEGER
!>          The number of columns of the matrix A.  N >= 0.
!>
```

*SA*

```
!>          SA is COMPLEX array, dimension (LDSA,N)
!>          On entry, the M-by-N coefficient matrix SA.
!>
```

*LDSA*

```
!>          LDSA is INTEGER
!>          The leading dimension of the array SA.  LDSA >= max(1,M).
!>
```

*A*

```
!>          A is COMPLEX*16 array, dimension (LDA,N)
!>          On exit, the M-by-N coefficient matrix A.
!>
```

*LDA*

```
!>          LDA is INTEGER
!>          The leading dimension of the array A.  LDA >= max(1,M).
!>
```

*INFO*

```
!>          INFO is INTEGER
!>          = 0:  successful exit
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **102** of file **clag2z.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
