Vector256.WithLower<T>(Vector256<T>, Vector128<T>) 方法

定义

创建一个新的 Vector256<T>,将低 128 位设置为指定值,并将高 128 位设置为与给定向量中的值相同的值。

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

适用于