Table of Contents

Method ExToVector128Unsafe

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExToVector128Unsafe<T>(Vector64<T>)

Converts the given vector to a new Vector128<T> with the lower 64-bits set to the value of the given vector and the upper 64-bits left uninitialized (将给定向量转换为新 Vector128<T> 向量,其中低 64 位设置为给定向量的值,而高 64 位则未初始化).

public static Vector128<T> ExToVector128Unsafe<T>(this Vector64<T> vector) where T : struct

Parameters

vector Vector64<T>

The vector to extend (要扩展的向量).

Returns

Vector128<T>

A new Vector128<T> with the lower 64-bits set to the value of vector and the upper 64-bits left uninitialized (一个新的 Vector128<T>, 将较低的 64 位设置为 vector的值, 而高 64 位保留未初始化).

Type Parameters

T

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