Indicates whether a DoubleComplex number is undefined.

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function IsNaN ( _
	z As DoubleComplex _
) As Boolean
C#
public static bool IsNaN (
	DoubleComplex z
)
C++
public:
static bool IsNaN (
	DoubleComplex z
)

Parameters

z (Extreme.Mathematics.DoubleComplex)
A DoubleComplex number.

Return Value

true if the real or imaginary part is NaN; otherwise false.

Remarks

Use this method rather than testing for equality with NaN. By definition, NaN is not equal to any other number, including itself.