Vector512.WithUpper<T>(Vector512<T>, Vector256<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新版本 Vector512<T> ,將上 256 位元設為指定值,下 256 位元設為與給定向量相同的值。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector512<T> WithUpper(System::Runtime::Intrinsics::Vector512<T> vector, System::Runtime::Intrinsics::Vector256<T> value);
public static System.Runtime.Intrinsics.Vector512<T> WithUpper<T>(this System.Runtime.Intrinsics.Vector512<T> vector, System.Runtime.Intrinsics.Vector256<T> value);
static member WithUpper : System.Runtime.Intrinsics.Vector512<'T> * System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector512<'T>
<Extension()>
Public Function WithUpper(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類型。