1DLADIV(1) LAPACK auxiliary routine (version 3.2) DLADIV(1)
2
3
4
6 DLADIV - performs complex division in real arithmetic a + i*b p +
7 i*q = --------- c + i*d The algorithm is due to Robert L
8
10 SUBROUTINE DLADIV( A, B, C, D, P, Q )
11
12 DOUBLE PRECISION A, B, C, D, P, Q
13
15 DLADIV performs complex division in real arithmetic in D. Knuth, The
16 art of Computer Programming, Vol.2, p.195
17
19 A (input) DOUBLE PRECISION
20 B (input) DOUBLE PRECISION C (input) DOUBLE PRECIā
21 SION D (input) DOUBLE PRECISION The scalars a, b, c, and
22 d in the above expression.
23
24 P (output) DOUBLE PRECISION
25 Q (output) DOUBLE PRECISION The scalars p and q in the
26 above expression.
27
28
29
30 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 DLADIV(1)