Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

slag2d

Converts a single precision matrix to a double precision matrix.

Syntax

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

Include Files
  • mkl.fi
Description

The routine converts a single precision matrix SA to a 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).

sa

REAL array, DIMENSION (ldsa, n).

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

ldsa

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

lda

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

Output Parameters
a

DOUBLE PRECISION array, DIMENSION (lda, n).

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

info

INTEGER.

If info = 0, the execution is successful.