Vector128.WithLower<T>(Vector128<T>, Vector64<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新版本 Vector128<T> ,將較低的 64 位元設為指定值,上方 64 位元設為與給定向量相同的值。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector128<T> WithLower(System::Runtime::Intrinsics::Vector128<T> vector, System::Runtime::Intrinsics::Vector64<T> value);
public:
generic <typename T>
where T : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector128<T> WithLower(System::Runtime::Intrinsics::Vector128<T> vector, System::Runtime::Intrinsics::Vector64<T> value);
public static System.Runtime.Intrinsics.Vector128<T> WithLower<T>(this System.Runtime.Intrinsics.Vector128<T> vector, System.Runtime.Intrinsics.Vector64<T> value);
public static System.Runtime.Intrinsics.Vector128<T> WithLower<T>(this System.Runtime.Intrinsics.Vector128<T> vector, System.Runtime.Intrinsics.Vector64<T> value) where T : struct;
static member WithLower : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector128<'T>
static member WithLower : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
<Extension()>
Public Function WithLower(Of T) (vector As Vector128(Of T), value As Vector64(Of T)) As Vector128(Of T)
<Extension()>
Public Function WithLower(Of T As Structure) (vector As Vector128(Of T), value As Vector64(Of T)) As Vector128(Of T)
類型參數
- T
輸入向量的類型。
參數
- vector
- Vector128<T>
取上 64 位元的向量。
- value
- Vector64<T>
較低 64 位元 Vector64<T>的值為 。
傳回
新 Vector128<T> 64 位元設為指定值,上 64 位元設為與 中 vector相同的值。
例外狀況
不支援()的vectorT類型。