Vector.EqualsAny<T>(Vector<T>, Vector<T>) Metoda

Definice

Vrátí hodnotu, která určuje, zda je jakýkoli jeden pár prvků v daných vektorech roven.

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

Parametry typu

T

Typ vektoru. T může být libovolný primitivní číselný typ.

Parametry

left
Vector<T>

První vektor, který chcete porovnat.

right
Vector<T>

Druhý vektor, který se má porovnat.

Návraty

Boolean

true je-li některý pár prvků v left a right je roven; v opačném případě , false.

Platí pro