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

Definice

Vrátí hodnotu, která určuje, zda je některý prvek v prvním vektoru větší než odpovídající prvek ve druhém vektoru.

public:
generic <typename T>
 where T : value class static bool GreaterThanAny(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static bool GreaterThanAny<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
static member GreaterThanAny : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> bool (requires 'T : struct)
Public Shared Function GreaterThanAny(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Boolean
Public Function GreaterThanAny(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ý prvek větší left než odpovídající prvek v right; v opačném případě false.

Platí pro