Method YGroup2Unzip_Bit128
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup2Unzip_Bit128<T>(Vector<T>, Vector<T>, out Vector<T>)
De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). It is specialized for process 128-bit element (它专门用于处理128位元素).
Mnemonic: x[i] =: element_ref(2i, data0, data1)
, y[i] =: element_ref(2i+1, data0, data1)
.
public static Vector<T> YGroup2Unzip_Bit128<T>(Vector<T> data0, Vector<T> data1, out Vector<T> y) where T : struct
Parameters
data0
Vector<T>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<T>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector<T>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- Vector<T>
Returns the vector made of the X-components (返回X分量所组成的向量).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
- See Also