Vector256.WithUpper<T>(Vector256<T>, Vector128<T>) Метод

Определение

Создает новый Vector256<T> с верхними 128 битами, установленными для указанного значения, а нижние 128 биты имеют то же значение, что и в заданном векторе.

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:
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 static System.Runtime.Intrinsics.Vector256<T> WithUpper<T>(this 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;
static member WithUpper : System.Runtime.Intrinsics.Vector256<'T> * System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector256<'T>
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)
<Extension()>
Public Function WithUpper(Of T) (vector As Vector256(Of T), value As Vector128(Of T)) As Vector256(Of T)
<Extension()>
Public Function WithUpper(Of T As Structure) (vector As Vector256(Of T), value As Vector128(Of T)) As Vector256(Of T)

Параметры типа

T

Тип входного вектора.

Параметры

vector
Vector256<T>

Вектор для получения более низких 128 битов.

value
Vector128<T>

Верхние 128 бит.

Возвращаемое значение

Новый вектор с верхними 128 битами, заданными для указанного значения, а нижний 128 бит имеет то же значение, что и в vector.

Исключения

Тип vector (T) не поддерживается.

Применяется к