Bewerken

Share via


Vector512.GetUpper<T>(Vector512<T>) Method

Definition

Gets the value of the upper 256-bits as a new Vector256<T>.

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

Type Parameters

T

The type of the input vector.

Parameters

vector
Vector512<T>

The vector to get the upper 256-bits from.

Returns

The value of the upper 256-bits as a new Vector256<T>.

Exceptions

The type of vector (T) is not supported.

Applies to