Complex<T>.Reciprocal Method

Returns the reciprocal of a complex number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public static Complex<T> Reciprocal(
	Complex<T> z
)

Parameters

z  Complex<T>
The complex number.

Return Value

Complex<T>
A complex number that equals one divided by the complex number.

Remarks

This method requires that the operand type supports division.

This method has the same behavior as dividing one by z. For IEEE floating-point components, the reciprocal of complex zero has an infinite real component carrying the real input zero's sign, and a NaN imaginary component. For example, (+0, +0) gives (+Infinity, NaN), while (-0, +0) gives (-Infinity, NaN), in (real, imaginary) notation. The imaginary input zero's sign does not change this result. This differs from the zero-to-zero convention in Microsoft's generic complex reference tests.

See Also