Vector64.CountWhereAllBitsSet<T>(Vector64<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the number of elements in a vector that have all their bits set.
public:
generic <typename T>
static int CountWhereAllBitsSet(System::Runtime::Intrinsics::Vector64<T> vector);
public static int CountWhereAllBitsSet<T>(System.Runtime.Intrinsics.Vector64<T> vector);
static member CountWhereAllBitsSet : System.Runtime.Intrinsics.Vector64<'T> -> int
Public Function CountWhereAllBitsSet(Of T) (vector As Vector64(Of T)) As Integer
Type Parameters
- T
The type of the elements in the vector.
Parameters
- vector
- Vector64<T>
The vector whose elements are being checked.
Returns
The number of elements in vector that have all their bits set.
Exceptions
The type of vector (T) is not supported.