Method YIsInfinityOrNaN
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YIsInfinityOrNaN(Vector<float>)
Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).
Mnemonic: rt[i] := to_mask(isInfinityOrNaN(value[i]))
.
public static Vector<int> YIsInfinityOrNaN(Vector<float> value)
Parameters
Returns
- Vector<int>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
value
were is infinite or NaN (一个向量,其元素是全位为1或0,取决于value
的对应元素中是否为无穷大或非数).
- See Also
YIsInfinityOrNaN(Vector<double>)
Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).
Mnemonic: rt[i] := to_mask(isInfinityOrNaN(value[i]))
.
public static Vector<long> YIsInfinityOrNaN(Vector<double> value)
Parameters
Returns
- Vector<long>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
value
were is infinite or NaN (一个向量,其元素是全位为1或0,取决于value
的对应元素中是否为无穷大或非数).
- See Also