ILNumerics.Net
Division Operator

ILNumerics.Net - numeric computing and plotting for .NET

ILNumericsfcomplexDivision(fcomplex, fcomplex)
ILNumerics.Net - numeric computing for .NET
Operator dividing the specified inputs.
Declaration Syntax
C#Visual BasicVisual C++
public static fcomplex operator /(
	fcomplex in1,
	fcomplex in2
)
Public Shared Operator / ( _
	in1 As fcomplex, _
	in2 As fcomplex _
) As fcomplex
public:
static fcomplex operator /(
	fcomplex in1, 
	fcomplex in2
)
Parameters
in1 (fcomplex)
The divident.
in2 (fcomplex)
The divisor.
Return Value
Result of operation in1 / in2
Remarks

Unless the operator must handle special inputs (Inf or 0 values), the algorithm described in [1] is used for division. This is considered to be more robust against floating point overflow than the naive approach of simple cartesian division.

References: [1]: Smith, R.L., Algorithm 116: Complex division. Commun.ACM 5,8 (1962),435
[2]: Stewart, G.W., A note on complex division, ACM trans.on math software, Vol.11, N.3 (1985)

Assembly: ILNumerics.Net (Module: ILNumerics.Net) Version: 1.4.1.1 (0.10.2.0)