Share via


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>

傳回

下層 256 位設定value為 的新 Vector512<T> ,而上層 256 位則設定為 與 中vector相同的值。

例外狀況

不支援 vector (T) 的類型。

適用於