語言

Vector.CountWhereAllBitsSet<T>(Vector<T>) 方法

定義

決定向量中所有位元都設定為的元素數量。

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 是所有位元都被設定的。

適用於