Imaginary<T>.Is Na N Method
Indicates whether an imaginary number is
undefined.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
true if the real or imaginary part is T.NaN; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static bool IsNaN(
Imaginary<T> z
)
Parameters
Return Value
Booleantrue if the real or imaginary part is T.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.
If the operand type does not support IEEE special values, this method returns false.