Freigeben über


Vector256.Max<T>(Vector256<T>, Vector256<T>) Methode

Definition

Berechnet das Maximum von zwei Vektoren pro Element.

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

Typparameter

T

Der Typ der Elemente im Vektor.

Parameter

left
Vector256<T>

Der mit zu vergleichende rightVektor.

right
Vector256<T>

Der mit zu vergleichende leftVektor.

Gibt zurück

Ein Vektor, dessen Elemente das Maximum der entsprechenden Elemente in left und rightsind.

Ausnahmen

Der Typ von left und right (T) wird nicht unterstützt.

Gilt für: