Sdílet prostřednictvím


Vector128.GreaterThan<T>(Vector128<T>, Vector128<T>) Metoda

Definice

Porovná dva vektory a určí, který z těchto vektorů je větší pro jednotlivé prvky.

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

Parametry typu

T

Typ prvků ve vektoru.

Parametry

left
Vector128<T>

Vektor pro porovnání s left.

right
Vector128<T>

Vektor pro porovnání s right.

Návraty

Vektor, jehož prvky jsou nastaveny všechny bity nebo nula, v závislosti na tom, jestli byly odpovídající prvky v left a right větší.

Výjimky

Typ left a right (T) není podporován.

Platí pro