Vector.CountWhereAllBitsSet<T>(Vector<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
決定向量中所有位元都設定為的元素數量。
public:
generic <typename T>
static int CountWhereAllBitsSet(System::Numerics::Vector<T> vector);
public static int CountWhereAllBitsSet<T>(System.Numerics.Vector<T> vector);
static member CountWhereAllBitsSet : System.Numerics.Vector<'T> -> int
Public Function CountWhereAllBitsSet(Of T) (vector As Vector(Of T)) As Integer
類型參數
- T
向量中專案的型別。
參數
- vector
- Vector<T>
被檢查元素的向量。
傳回
其中元素的數量 vector 是所有位元都被設定的。