Table of Contents

Method ExGetUpper

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExGetUpper<T>(Vector512<T>)

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

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

Parameters

vector Vector512<T>

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

Returns

Vector256<T>

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

Type Parameters

T

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