Table of Contents

Method ExAsUInt64

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExAsUInt64<T>(Vector<T>)

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

[CLSCompliant(false)]
public static Vector<ulong> ExAsUInt64<T>(this Vector<T> vector) where T : struct

Parameters

vector Vector<T>

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

Returns

Vector<ulong>

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

Type Parameters

T

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

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