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

Definice

Vytvoří nový Vector128<T> s horní 64bitovou hodnotou nastavenou na zadanou hodnotu a dolní 64bitovou hodnotou 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::Vector128<T> WithUpper(System::Runtime::Intrinsics::Vector128<T> vector, System::Runtime::Intrinsics::Vector64<T> value);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<T> WithUpper(System::Runtime::Intrinsics::Vector128<T> vector, System::Runtime::Intrinsics::Vector64<T> value);
public static System.Runtime.Intrinsics.Vector128<T> WithUpper<T> (this System.Runtime.Intrinsics.Vector128<T> vector, System.Runtime.Intrinsics.Vector64<T> value) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> WithUpper<T> (this System.Runtime.Intrinsics.Vector128<T> vector, System.Runtime.Intrinsics.Vector64<T> value);
static member WithUpper : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member WithUpper : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector128<'T>
<Extension()>
Public Function WithUpper(Of T As Structure) (vector As Vector128(Of T), value As Vector64(Of T)) As Vector128(Of T)
<Extension()>
Public Function WithUpper(Of T) (vector As Vector128(Of T), value As Vector64(Of T)) As Vector128(Of T)

Parametry typu

T

Typ vstupního vektoru.

Parametry

vector
Vector128<T>

Vektor, ze který se má získat nižších 64 bitů.

value
Vector64<T>

Horních 64 bitů.

Návraty

Novinka Vector128<T> s horní 64bitovou hodnotou nastavenou na zadanou hodnotu a nižší 64bitovou hodnotou nastavenou na hodnoty v vector.

Výjimky

Typ vector (T) není podporován.

Platí pro