Vector256.GetUpper<T>(Vector256<T>) 方法

定義

取得上層 128 位元值作為新的 Vector128<T>

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<T> GetUpper(System::Runtime::Intrinsics::Vector256<T> vector);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<T> GetUpper(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> GetUpper<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> GetUpper<T> (this System.Runtime.Intrinsics.Vector256<T> vector);
static member GetUpper : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member GetUpper : System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector128<'T>
<Extension()>
Public Function GetUpper(Of T As Structure) (vector As Vector256(Of T)) As Vector128(Of T)
<Extension()>
Public Function GetUpper(Of T) (vector As Vector256(Of T)) As Vector128(Of T)

類型參數

T

輸入向量的類型。

參數

vector
Vector256<T>

上層 128 位元的取得來源向量。

傳回

作為新向量的上層 128 位元值。

例外狀況

不支援 vector (T) 的類型。

適用於