共用方式為


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) 的類型。

適用於