Method GetMaskBits_SByte
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
GetMaskBits_SByte(int)
Get bits mask by index (根据索引获取位集掩码) - SByte. The index value ranges from 0 to sizeof(T)*8-1
(索引值的范围是 0 ~ sizeof(T)*8-1
).
The equivalent of Vector128s<T>.GetMaskBits(index)
.
[CLSCompliant(false)]
public static Vector128<sbyte> GetMaskBits_SByte(int index)
Parameters
index
intThe index (索引). The index value ranges from 0 to
sizeof(T)*8-1
(索引值的范围是 0 ~sizeof(T)*8-1
). 为了性能, 本函数不做范围检查, 调用者请确保它的值在范围内 (For performance purposes, this function does not do range checking; the caller should ensure that its value is within the range).
Returns
Remarks
It performs better than GetMaskBits(int) when running net5+.
- See Also