Determines if the given complex number is not-a-number.
Namespace:
Meta.Numerics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static bool IsNaN(
Complex z
)
Public Shared Function IsNaN (
z As Complex
) As Boolean
public:
static bool IsNaN(
Complex z
)
static member IsNaN :
z : Complex -> bool
Parameters
- z
- Type: Meta.NumericsComplex
The complex number.
Return Value
Type:
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