Edit

Share via


Vector512.CountWhereAllBitsSet<T>(Vector512<T>) Method

Definition

Determines the number of elements in a vector that have all their bits set.

public:
generic <typename T>
 static int CountWhereAllBitsSet(System::Runtime::Intrinsics::Vector512<T> vector);
public static int CountWhereAllBitsSet<T>(System.Runtime.Intrinsics.Vector512<T> vector);
static member CountWhereAllBitsSet : System.Runtime.Intrinsics.Vector512<'T> -> int
Public Function CountWhereAllBitsSet(Of T) (vector As Vector512(Of T)) As Integer

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector512<T>

The vector whose elements are being checked.

Returns

The number of elements in vector that have all their bits set.

Applies to