Sdílet prostřednictvím


Vector256.WithUpper<T>(Vector256<T>, Vector128<T>) Metoda

Definice

Vytvoří nový Vector256<T> s horními 128 bity nastavenými na zadanou hodnotu a dolních 128 bitů nastavenou na stejnou hodnotu jako v daném vektoru.

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

Parametry typu

T

Typ vstupního vektoru.

Parametry

vector
Vector256<T>

Vektor, ze které se má získat dolních 128 bitů.

value
Vector128<T>

Horních 128 bitů.

Návraty

Nový vektor s horními 128 bity nastavenými na zadanou hodnotu a dolních 128 bitů nastavenou na stejnou hodnotu jako v vector.

Výjimky

Typ vector (T) není podporován.

Platí pro