Method ExGetUpper
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
ExGetUpper<T>(Vector128<T>)
Gets the value of the upper 64-bits as a new Vector64<T> (获取高 64 位的值作为新的 Vector64<T>).
public static Vector64<T> ExGetUpper<T>(this Vector128<T> vector) where T : struct
Parameters
vector
Vector128<T>The vector to get the upper 64-bits from (要从中获取高 64 位的向量).
Returns
- Vector64<T>
The value of the upper 64-bits as a new Vector64<T> (高 64 位的值作为新的 Vector64<T>).
Type Parameters
T
The type of the input vector element (输入向量元素的类型).