ILNumerics Ultimate VS

complexDivision Operator (complex, fcomplex)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Divide two numbers

[ILNumerics Core Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static complex operator /(
	complex A,
	fcomplex B
)

Parameters

A
Type: ILNumericscomplex
Divident
B
Type: ILNumericsfcomplex
Divisor

Return Value

Type: complex
Result
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)

[ILNumerics Core Module]

See Also

Reference