.TH "ladiv" 3 "Wed Feb 7 2024 11:30:40" "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME ladiv \- ladiv: complex divide .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "complex function \fBcladiv\fP (x, y)" .br .RI "\fBCLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. " .ti -1c .RI "subroutine \fBdladiv\fP (a, b, c, d, p, q)" .br .RI "\fBDLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. " .ti -1c .RI "subroutine \fBdladiv1\fP (a, b, c, d, p, q)" .br .ti -1c .RI "double precision function \fBdladiv2\fP (a, b, c, d, r, t)" .br .ti -1c .RI "subroutine \fBsladiv\fP (a, b, c, d, p, q)" .br .RI "\fBSLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. " .ti -1c .RI "subroutine \fBsladiv1\fP (a, b, c, d, p, q)" .br .ti -1c .RI "real function \fBsladiv2\fP (a, b, c, d, r, t)" .br .ti -1c .RI "complex *16 function \fBzladiv\fP (x, y)" .br .RI "\fBZLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "complex function cladiv (complex x, complex y)" .PP \fBCLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. .PP \fBPurpose:\fP .RS 4 .PP .nf CLADIV := X / Y, where X and Y are complex\&. The computation of X / Y will not overflow on an intermediary step unless the results overflows\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIX\fP .PP .nf X is COMPLEX .fi .PP .br \fIY\fP .PP .nf Y is COMPLEX The complex scalars X and Y\&. .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 .SS "subroutine dladiv (double precision a, double precision b, double precision c, double precision d, double precision p, double precision q)" .PP \fBDLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. .PP \fBPurpose:\fP .RS 4 .PP .nf DLADIV performs complex division in real arithmetic a + i*b p + i*q = --------- c + i*d The algorithm is due to Michael Baudin and Robert L\&. Smith and can be found in the paper 'A Robust Complex Division in Scilab' .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIA\fP .PP .nf A is DOUBLE PRECISION .fi .PP .br \fIB\fP .PP .nf B is DOUBLE PRECISION .fi .PP .br \fIC\fP .PP .nf C is DOUBLE PRECISION .fi .PP .br \fID\fP .PP .nf D is DOUBLE PRECISION The scalars a, b, c, and d in the above expression\&. .fi .PP .br \fIP\fP .PP .nf P is DOUBLE PRECISION .fi .PP .br \fIQ\fP .PP .nf Q is DOUBLE PRECISION The scalars p and q in the above expression\&. .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 .SS "subroutine sladiv (real a, real b, real c, real d, real p, real q)" .PP \fBSLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. .PP \fBPurpose:\fP .RS 4 .PP .nf SLADIV performs complex division in real arithmetic a + i*b p + i*q = --------- c + i*d The algorithm is due to Michael Baudin and Robert L\&. Smith and can be found in the paper 'A Robust Complex Division in Scilab' .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIA\fP .PP .nf A is REAL .fi .PP .br \fIB\fP .PP .nf B is REAL .fi .PP .br \fIC\fP .PP .nf C is REAL .fi .PP .br \fID\fP .PP .nf D is REAL The scalars a, b, c, and d in the above expression\&. .fi .PP .br \fIP\fP .PP .nf P is REAL .fi .PP .br \fIQ\fP .PP .nf Q is REAL The scalars p and q in the above expression\&. .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 .SS "complex*16 function zladiv (complex*16 x, complex*16 y)" .PP \fBZLADIV\fP performs complex division in real arithmetic, avoiding unnecessary overflow\&. .PP \fBPurpose:\fP .RS 4 .PP .nf ZLADIV := X / Y, where X and Y are complex\&. The computation of X / Y will not overflow on an intermediary step unless the results overflows\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIX\fP .PP .nf X is COMPLEX*16 .fi .PP .br \fIY\fP .PP .nf Y is COMPLEX*16 The complex scalars X and Y\&. .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 .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.