slag2d

Converts a single precision matrix to a double precision matrix.

Syntax

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

Include Files

The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file (to be used in Fortran programs) and in the mkl_lapack.h include file (to be used in C programs).

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.


Submit feedback on this help topic

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.