Method YIsPositive
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YIsPositive(Vector512<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]))
.
Vector512<int> YIsPositive(Vector512<float> value)
Parameters
Returns
- Vector512<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(Vector512<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]))
.
Vector512<long> YIsPositive(Vector512<double> value)
Parameters
Returns
- Vector512<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(Vector512<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]))
.
Vector512<sbyte> YIsPositive(Vector512<sbyte> value)
Parameters
Returns
- Vector512<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(Vector512<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]))
.
Vector512<short> YIsPositive(Vector512<short> value)
Parameters
Returns
- Vector512<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(Vector512<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]))
.
Vector512<int> YIsPositive(Vector512<int> value)
Parameters
Returns
- Vector512<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(Vector512<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]))
.
Vector512<long> YIsPositive(Vector512<long> value)
Parameters
Returns
- Vector512<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