ComplexIsNaN Method

Determines if the given complex number is not-a-number.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static bool IsNaN(
	Complex z
)

Parameters

z  Complex
The complex number.

Return Value

Boolean
if the argument is not-a-number, otherwise .

Remarks

The NaN value is used to signal the result of a failed or impossible calculation, such as dividing zero by zero. A Complex value is considered to be not-a-number if either its real or imaginary part is not-a-number. This method tests for such an occurance.

See Also