INumberBase<TSelf>.IsComplexNumber(TSelf) Method

Definition

Determines if a value represents a complex number.

C#
public static abstract bool IsComplexNumber(TSelf value);

Parameters

value
TSelf

The value to be checked.

Returns

true if value is a complex number; otherwise, false.

Remarks

This function returns false for a complex number a + bi where a or b is zero. In other words, it excludes real numbers and pure imaginary numbers.

Applies to

Produkt Verzie
.NET 7, 8, 9, 10