Click or drag to resize

DLADIVRun Method

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.CSLapack
Assembly: 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
)
Request Example View Source

Parameters

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