.TH "_lag2_" 3 "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME _lag2_ \- lag2: general matrix, convert double <=> single .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "subroutine \fBclag2z\fP (m, n, sa, ldsa, a, lda, info)" .br .RI "\fBCLAG2Z\fP converts a complex single precision matrix to a complex double precision matrix\&. " .ti -1c .RI "subroutine \fBdlag2s\fP (m, n, a, lda, sa, ldsa, info)" .br .RI "\fBDLAG2S\fP converts a double precision matrix to a single precision matrix\&. " .ti -1c .RI "subroutine \fBslag2d\fP (m, n, sa, ldsa, a, lda, info)" .br .RI "\fBSLAG2D\fP converts a single precision matrix to a double precision matrix\&. " .ti -1c .RI "subroutine \fBzlag2c\fP (m, n, a, lda, sa, ldsa, info)" .br .RI "\fBZLAG2C\fP converts a complex double precision matrix to a complex single precision matrix\&. " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "subroutine clag2z (integer m, integer n, complex, dimension( ldsa, * ) sa, integer ldsa, complex*16, dimension( lda, * ) a, integer lda, integer info)" .PP \fBCLAG2Z\fP converts a complex single precision matrix to a complex double precision matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf 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\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIM\fP .PP .nf M is INTEGER The number of lines of the matrix A\&. M >= 0\&. .fi .PP .br \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. N >= 0\&. .fi .PP .br \fISA\fP .PP .nf SA is COMPLEX array, dimension (LDSA,N) On entry, the M-by-N coefficient matrix SA\&. .fi .PP .br \fILDSA\fP .PP .nf LDSA is INTEGER The leading dimension of the array SA\&. LDSA >= max(1,M)\&. .fi .PP .br \fIA\fP .PP .nf A is COMPLEX*16 array, dimension (LDA,N) On exit, the M-by-N coefficient matrix A\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. LDA >= max(1,M)\&. .fi .PP .br \fIINFO\fP .PP .nf INFO is INTEGER = 0: successful exit .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP .PP Definition at line \fB102\fP of file \fBclag2z\&.f\fP\&. .SS "subroutine dlag2s (integer m, integer n, double precision, dimension( lda, * ) a, integer lda, real, dimension( ldsa, * ) sa, integer ldsa, integer info)" .PP \fBDLAG2S\fP converts a double precision matrix to a single precision matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf DLAG2S converts a DOUBLE PRECISION matrix, A, to a SINGLE PRECISION matrix, SA\&. RMAX is the overflow for the SINGLE PRECISION arithmetic DLAG2S checks that all the entries of A are between -RMAX and RMAX\&. If not the conversion is aborted and a flag is raised\&. This is an auxiliary routine so there is no argument checking\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIM\fP .PP .nf M is INTEGER The number of lines of the matrix A\&. M >= 0\&. .fi .PP .br \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. N >= 0\&. .fi .PP .br \fIA\fP .PP .nf A is DOUBLE PRECISION array, dimension (LDA,N) On entry, the M-by-N coefficient matrix A\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. LDA >= max(1,M)\&. .fi .PP .br \fISA\fP .PP .nf SA is REAL array, dimension (LDSA,N) On exit, if INFO=0, the M-by-N coefficient matrix SA; if INFO>0, the content of SA is unspecified\&. .fi .PP .br \fILDSA\fP .PP .nf LDSA is INTEGER The leading dimension of the array SA\&. LDSA >= max(1,M)\&. .fi .PP .br \fIINFO\fP .PP .nf INFO is INTEGER = 0: successful exit\&. = 1: an entry of the matrix A is greater than the SINGLE PRECISION overflow threshold, in this case, the content of SA in exit is unspecified\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP .PP Definition at line \fB107\fP of file \fBdlag2s\&.f\fP\&. .SS "subroutine slag2d (integer m, integer n, real, dimension( ldsa, * ) sa, integer ldsa, double precision, dimension( lda, * ) a, integer lda, integer info)" .PP \fBSLAG2D\fP converts a single precision matrix to a double precision matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf SLAG2D 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\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIM\fP .PP .nf M is INTEGER The number of lines of the matrix A\&. M >= 0\&. .fi .PP .br \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. N >= 0\&. .fi .PP .br \fISA\fP .PP .nf SA is REAL array, dimension (LDSA,N) On entry, the M-by-N coefficient matrix SA\&. .fi .PP .br \fILDSA\fP .PP .nf LDSA is INTEGER The leading dimension of the array SA\&. LDSA >= max(1,M)\&. .fi .PP .br \fIA\fP .PP .nf A is DOUBLE PRECISION array, dimension (LDA,N) On exit, the M-by-N coefficient matrix A\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. LDA >= max(1,M)\&. .fi .PP .br \fIINFO\fP .PP .nf INFO is INTEGER = 0: successful exit .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP .PP Definition at line \fB103\fP of file \fBslag2d\&.f\fP\&. .SS "subroutine zlag2c (integer m, integer n, complex*16, dimension( lda, * ) a, integer lda, complex, dimension( ldsa, * ) sa, integer ldsa, integer info)" .PP \fBZLAG2C\fP converts a complex double precision matrix to a complex single precision matrix\&. .PP \fBPurpose:\fP .RS 4 .PP .nf ZLAG2C converts a COMPLEX*16 matrix, SA, to a COMPLEX matrix, A\&. RMAX is the overflow for the SINGLE PRECISION arithmetic ZLAG2C checks that all the entries of A are between -RMAX and RMAX\&. If not the conversion is aborted and a flag is raised\&. This is an auxiliary routine so there is no argument checking\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIM\fP .PP .nf M is INTEGER The number of lines of the matrix A\&. M >= 0\&. .fi .PP .br \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. N >= 0\&. .fi .PP .br \fIA\fP .PP .nf A is COMPLEX*16 array, dimension (LDA,N) On entry, the M-by-N coefficient matrix A\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. LDA >= max(1,M)\&. .fi .PP .br \fISA\fP .PP .nf SA is COMPLEX array, dimension (LDSA,N) On exit, if INFO=0, the M-by-N coefficient matrix SA; if INFO>0, the content of SA is unspecified\&. .fi .PP .br \fILDSA\fP .PP .nf LDSA is INTEGER The leading dimension of the array SA\&. LDSA >= max(1,M)\&. .fi .PP .br \fIINFO\fP .PP .nf INFO is INTEGER = 0: successful exit\&. = 1: an entry of the matrix A is greater than the SINGLE PRECISION overflow threshold, in this case, the content of SA in exit is unspecified\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP .PP Definition at line \fB106\fP of file \fBzlag2c\&.f\fP\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.