Purpose
=======
DLADIV performs complex division in real arithmetic
a + i*b
p + i*q = ---------
c + i*d
The algorithm is due to Robert L. Smith and can be found
in D. Knuth, The art of Computer Programming, Vol.2, p.195
Namespace: DotNumerics.LinearAlgebra.CSLapackAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
double A,
double B,
double C,
double D,
ref double P,
ref double Q
)
Public Sub Run (
A As Double,
B As Double,
C As Double,
D As Double,
ByRef P As Double,
ByRef Q As Double
)
Request Example
View SourceParameters
- A Double
-
+ i*b
- B Double
-
(input) DOUBLE PRECISION
- C Double
-
+ i*d
- D Double
-
(input) DOUBLE PRECISION
The scalars a, b, c, and d in the above expression.
- P Double
-
(output) DOUBLE PRECISION
- Q Double
-
(output) DOUBLE PRECISION
The scalars p and q in the above expression.
See Also