Complex.IsPositive(Complex) 方法

定义

确定值是否为正值。

public:
 static bool IsPositive(System::Numerics::Complex value) = System::Numerics::INumberBase<System::Numerics::Complex>::IsPositive;
public static bool IsPositive(System.Numerics.Complex value);
static member IsPositive : System.Numerics.Complex -> bool
Public Shared Function IsPositive (value As Complex) As Boolean

参数

value
Complex

要检查的值。

返回

true 如果 value 为正,则为正;否则为 false

实现

注解

返回值 false 并不表示 IsNegative(TSelf) 将返回 true。 对于非零a + bi,复数不是正数或负数b

适用于