1DLADIV(1) LAPACK auxiliary routine (version 3.1) DLADIV(1)
2
3
4
6 DLADIV - complex division in real arithmetic a + i*b p + i*q =
7 --------- 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
18
20 A (input) DOUBLE PRECISION
21 B (input) DOUBLE PRECISION C (input) DOUBLE PRECIā
22 SION D (input) DOUBLE PRECISION The scalars a, b, c, and
23 d in the above expression.
24
25 P (output) DOUBLE PRECISION
26 Q (output) DOUBLE PRECISION The scalars p and q in the
27 above expression.
28
29
30
31 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 DLADIV(1)