Table of Contents

Method YIsPositive

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YIsPositive(Vector256<float>)

Determines if a element represents zero or a positive number (确定元素是否为零或正数). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

Vector256<int> YIsPositive(Vector256<float> value)

Parameters

value Vector256<float>

The vectors that will be checked (将进行检查的向量).

Returns

Vector256<int>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is zero or a positive number (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为零或正数).

See Also

YIsPositive(Vector256<double>)

Determines if a element represents zero or a positive number (确定元素是否为零或正数). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

Vector256<long> YIsPositive(Vector256<double> value)

Parameters

value Vector256<double>

The vectors that will be checked (将进行检查的向量).

Returns

Vector256<long>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is zero or a positive number (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为零或正数).

See Also

YIsPositive(Vector256<sbyte>)

Determines if a element represents zero or a positive number (确定元素是否为零或正数). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

Vector256<sbyte> YIsPositive(Vector256<sbyte> value)

Parameters

value Vector256<sbyte>

The vectors that will be checked (将进行检查的向量).

Returns

Vector256<sbyte>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is zero or a positive number (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为零或正数).

See Also

YIsPositive(Vector256<short>)

Determines if a element represents zero or a positive number (确定元素是否为零或正数). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

Vector256<short> YIsPositive(Vector256<short> value)

Parameters

value Vector256<short>

The vectors that will be checked (将进行检查的向量).

Returns

Vector256<short>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is zero or a positive number (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为零或正数).

See Also

YIsPositive(Vector256<int>)

Determines if a element represents zero or a positive number (确定元素是否为零或正数). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

Vector256<int> YIsPositive(Vector256<int> value)

Parameters

value Vector256<int>

The vectors that will be checked (将进行检查的向量).

Returns

Vector256<int>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is zero or a positive number (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为零或正数).

See Also

YIsPositive(Vector256<long>)

Determines if a element represents zero or a positive number (确定元素是否为零或正数). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

Vector256<long> YIsPositive(Vector256<long> value)

Parameters

value Vector256<long>

The vectors that will be checked (将进行检查的向量).

Returns

Vector256<long>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is zero or a positive number (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为零或正数).

See Also