Method YIsFinite
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YIsFinite(Vector<float>)
Determines if a element is finite. It contains zero, subnormal, and normal. It does not contain infinity, NaN (确定元素是否为有限值. 它包含 零、次正规数、正规数. 它不含无穷大、非数).
Mnemonic: rt[i] := to_mask(isFinite(value[i]))
.
Vector<int> YIsFinite(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 finite (一个向量,其元素是全位为1或0,取决于value
的对应元素中是否为有限的).
- See Also
YIsFinite(Vector<double>)
Determines if a element is finite. It contains zero, subnormal, and normal. It does not contain infinity, NaN (确定元素是否为有限值. 它包含 零、次正规数、正规数. 它不含无穷大、非数).
Mnemonic: rt[i] := to_mask(isFinite(value[i]))
.
Vector<long> YIsFinite(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 finite (一个向量,其元素是全位为1或0,取决于value
的对应元素中是否为有限的).
- See Also