Table of Contents

Method ExGetUpper

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExGetUpper<T>(Vector256<T>)

Gets the value of the upper 128-bits as a new Vector128<T> (获取高 128 位的值作为新的 Vector128<T>).

public static Vector128<T> ExGetUpper<T>(this Vector256<T> vector) where T : struct

Parameters

vector Vector256<T>

The vector to get the upper 128-bits from (要从中获取高 128 位的向量).

Returns

Vector128<T>

The value of the upper 128-bits as a new Vector128<T> (高 128 位的值作为新的 Vector128<T>).

Type Parameters

T

The type of the input vector element (输入向量元素的类型).