Sdílet prostřednictvím


Vector256.GetUpper<T>(Vector256<T>) Metoda

Definice

Získá hodnotu horních 128 bitů jako nový Vector128<T>.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<T> GetUpper(System::Runtime::Intrinsics::Vector256<T> vector);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<T> GetUpper(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> GetUpper<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> GetUpper<T> (this System.Runtime.Intrinsics.Vector256<T> vector);
static member GetUpper : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member GetUpper : System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector128<'T>
<Extension()>
Public Function GetUpper(Of T As Structure) (vector As Vector256(Of T)) As Vector128(Of T)
<Extension()>
Public Function GetUpper(Of T) (vector As Vector256(Of T)) As Vector128(Of T)

Parametry typu

T

Typ vstupního vektoru.

Parametry

vector
Vector256<T>

Vektor, ze který se má získat horních 128 bitů.

Návraty

Hodnota horních 128 bitů jako nový vektor.

Výjimky

Typ vector (T) není podporován.

Platí pro