語言

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

定義

建立一個新版本 Vector512<T> ,將較低的 256 位元設為指定值,上方 256 位元設為與給定向量相同的值。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector512<T> WithLower(System::Runtime::Intrinsics::Vector512<T> vector, System::Runtime::Intrinsics::Vector256<T> value);
public static System.Runtime.Intrinsics.Vector512<T> WithLower<T>(this System.Runtime.Intrinsics.Vector512<T> vector, System.Runtime.Intrinsics.Vector256<T> value);
static member WithLower : System.Runtime.Intrinsics.Vector512<'T> * System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector512<'T>
<Extension()>
Public Function WithLower(Of T) (vector As Vector512(Of T), value As Vector256(Of T)) As Vector512(Of T)

類型參數

T

輸入向量的類型。

參數

vector
Vector512<T>

取上方256位元的向量。

value
Vector256<T>

較低 256 位元 Vector256<T>的值為 。

傳回

新設 Vector512<T> 的 256 位元設為 , value 上 256 位元設為與 中的 vector值相同。

例外狀況

不支援()的vectorT類型。

適用於