Table of Contents

Method ExAsUInt128

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExAsUInt128<T>(Vector256<T>)

(ExType) Reinterprets a Vector256<T> as a new Vector256<T> of type UInt128 (将 Vector256<T> 重新解释为 UInt128 类型的新 Vector256<T>).

[CLSCompliant(false)]
public static Vector256<UInt128> ExAsUInt128<T>(this Vector256<T> vector) where T : struct

Parameters

vector Vector256<T>

The vector to reinterpret (要重新解释的向量).

Returns

Vector256<UInt128>

vector reinterpreted as a new Vector256<T> of type UInt128 (重新解释为 UInt128 类型的 Vector256<T> 向量).

Type Parameters

T

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

See Also
ExAs<TFrom, TTo>(Vector256<TFrom>)