Edit

Share via


Vector512.All<T>(Vector512<T>, T) Method

Definition

Determines if all elements of a vector are equal to a given value.

public:
generic <typename T>
 static bool All(System::Runtime::Intrinsics::Vector512<T> vector, T value);
public static bool All<T>(System.Runtime.Intrinsics.Vector512<T> vector, T value);
static member All : System.Runtime.Intrinsics.Vector512<'T> * 'T -> bool
Public Function All(Of T) (vector As Vector512(Of T), value As T) As Boolean

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector512<T>

The vector whose elements are being checked.

value
T

The value to check for in vector

Returns

true if all elements of vector are equal to value; otherwise, false.

Applies to