Edit

Share via


Vector64.IndexOfWhereAllBitsSet<T>(Vector64<T>) Method

Definition

Determines the index of the first element in a vector that has all bits set.

public:
generic <typename T>
 static int IndexOfWhereAllBitsSet(System::Runtime::Intrinsics::Vector64<T> vector);
public static int IndexOfWhereAllBitsSet<T>(System.Runtime.Intrinsics.Vector64<T> vector);
static member IndexOfWhereAllBitsSet : System.Runtime.Intrinsics.Vector64<'T> -> int
Public Function IndexOfWhereAllBitsSet(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 index into vector representing the first element that had all bits set; otherwise, -1 if no such element exists.

Exceptions

The type of vector (T) is not supported.

Applies to