Table of Contents

Method ExAsInt64

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExAsInt64<T>(Vector512<T>)

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

public static Vector512<long> ExAsInt64<T>(this Vector512<T> vector) where T : struct

Parameters

vector Vector512<T>

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

Returns

Vector512<long>

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

Type Parameters

T

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

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