Table of Contents

Method IsPositive

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

IsPositive(float)

Determines if a element represents zero or a positive number (确定元素是否为正零或正数).

public static bool IsPositive(float value)

Parameters

value float

The value to be checked (要检查的值).

Returns

bool

Return true if value represents positive zero or a positive real number, otherwise is false (如果值表示正零或正实数,则返回 true,否则返回 false).

See Also
IsPositive(TSelf)

IsPositive(double)

Determines if a element represents zero or a positive number (确定元素是否为正零或正数).

public static bool IsPositive(double value)

Parameters

value double

The value to be checked (要检查的值).

Returns

bool

Return true if value represents positive zero or a positive real number, otherwise is false (如果值表示正零或正实数,则返回 true,否则返回 false).

See Also
IsPositive(TSelf)

IsPositive(Half)

Determines if a element represents zero or a positive number (确定元素是否为正零或正数).

public static bool IsPositive(Half value)

Parameters

value Half

The value to be checked (要检查的值).

Returns

bool

Return true if value represents positive zero or a positive real number, otherwise is false (如果值表示正零或正实数,则返回 true,否则返回 false).

See Also
IsPositive(TSelf)

IsPositive(sbyte)

Determines if a element represents zero or a positive number (确定元素是否为正零或正数).

[CLSCompliant(false)]
public static bool IsPositive(sbyte value)

Parameters

value sbyte

The value to be checked (要检查的值).

Returns

bool

Return true if value represents positive zero or a positive real number, otherwise is false (如果值表示正零或正实数,则返回 true,否则返回 false).

See Also
IsPositive(TSelf)

IsPositive(short)

Determines if a element represents zero or a positive number (确定元素是否为正零或正数).

public static bool IsPositive(short value)

Parameters

value short

The value to be checked (要检查的值).

Returns

bool

Return true if value represents positive zero or a positive real number, otherwise is false (如果值表示正零或正实数,则返回 true,否则返回 false).

See Also
IsPositive(TSelf)

IsPositive(int)

Determines if a element represents zero or a positive number (确定元素是否为正零或正数).

public static bool IsPositive(int value)

Parameters

value int

The value to be checked (要检查的值).

Returns

bool

Return true if value represents positive zero or a positive real number, otherwise is false (如果值表示正零或正实数,则返回 true,否则返回 false).

See Also
IsPositive(TSelf)

IsPositive(long)

Determines if a element represents zero or a positive number (确定元素是否为正零或正数).

public static bool IsPositive(long value)

Parameters

value long

The value to be checked (要检查的值).

Returns

bool

Return true if value represents positive zero or a positive real number, otherwise is false (如果值表示正零或正实数,则返回 true,否则返回 false).

See Also
IsPositive(TSelf)