Table of Contents

Method GetResidueMaskBits_UInt32

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

GetResidueMaskBits_UInt32(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - UInt32. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vector512s<T>.GetMaskBits(sizeof(T)*8 - index).

[CLSCompliant(false)]
public static Vector512<uint> GetResidueMaskBits_UInt32(int index)

Parameters

index int

The 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

Vector512<uint>

Returns bits mask mask (返回位集掩码).

Remarks

It performs better than GetMaskBits(int) when running net5+.

See Also