Redigera

Dela via


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

Definition

Compares two vectors to determine if any elements are equal.

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

Type Parameters

T

The type of the elements in the vector.

Parameters

left
Vector512<T>

The vector to compare with right.

right
Vector512<T>

The vector to compare with left.

Returns

true if any elements in left was equal to the corresponding element in right.

Exceptions

The type of left and right (T) is not supported.

Applies to