1SLADIV(1)           LAPACK auxiliary routine (version 3.2)           SLADIV(1)
2
3
4

NAME

6       SLADIV  -  performs  complex division in real arithmetic   a + i*b  p +
7       i*q = ---------  c + i*d  The algorithm is due to Robert L
8

SYNOPSIS

10       SUBROUTINE SLADIV( A, B, C, D, P, Q )
11
12           REAL           A, B, C, D, P, Q
13

PURPOSE

15       SLADIV performs complex division in  real arithmetic in D.  Knuth,  The
16       art of Computer Programming, Vol.2, p.195
17

ARGUMENTS

19       A       (input) REAL
20               B        (input) REAL C       (input) REAL D       (input) REAL
21               The scalars a, b, c, and d in the above expression.
22
23       P       (output) REAL
24               Q       (output) REAL The scalars p and q in the above  expres‐
25               sion.
26
27
28
29 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008                       SLADIV(1)
Impressum