Bagikan melalui


Vector256.EqualsAny<T>(Vector256<T>, Vector256<T>) Metode

Definisi

Membandingkan dua vektor untuk menentukan apakah ada elemen yang sama.

public:
generic <typename T>
 where T : value class static bool EqualsAny(System::Runtime::Intrinsics::Vector256<T> left, System::Runtime::Intrinsics::Vector256<T> right);
public:
generic <typename T>
 static bool EqualsAny(System::Runtime::Intrinsics::Vector256<T> left, System::Runtime::Intrinsics::Vector256<T> right);
public static bool EqualsAny<T> (System.Runtime.Intrinsics.Vector256<T> left, System.Runtime.Intrinsics.Vector256<T> right) where T : struct;
public static bool EqualsAny<T> (System.Runtime.Intrinsics.Vector256<T> left, System.Runtime.Intrinsics.Vector256<T> right);
static member EqualsAny : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> bool (requires 'T : struct)
static member EqualsAny : System.Runtime.Intrinsics.Vector256<'T> * System.Runtime.Intrinsics.Vector256<'T> -> bool
Public Function EqualsAny(Of T As Structure) (left As Vector256(Of T), right As Vector256(Of T)) As Boolean
Public Function EqualsAny(Of T) (left As Vector256(Of T), right As Vector256(Of T)) As Boolean

Jenis parameter

T

Jenis elemen dalam vektor.

Parameter

left
Vector256<T>

Vektor untuk dibandingkan dengan right.

right
Vector256<T>

Vektor untuk dibandingkan dengan left.

Mengembalikan

true jika ada elemen di left yang sama dengan elemen yang sesuai di right.

Pengecualian

Jenis left dan right (T) tidak didukung.

Berlaku untuk