语言

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

定义

确定向量的所有元素是否都设置了其所有位。

public:
generic <typename T>
 static bool AllWhereAllBitsSet(System::Numerics::Vector<T> vector);
public static bool AllWhereAllBitsSet<T>(System.Numerics.Vector<T> vector);
static member AllWhereAllBitsSet : System.Numerics.Vector<'T> -> bool
Public Function AllWhereAllBitsSet(Of T) (vector As Vector(Of T)) As Boolean

类型参数

T

向量中的元素的类型。

参数

vector
Vector<T>

要检查其元素的向量。

返回

true 如果所有元素 vector 都设置了其所有位,则为 ;否则为 false。

适用于