Method YGroup6Zip_Bit128
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup6Zip_Bit128<T>(Vector256<T>, Vector256<T>, Vector256<T>, Vector256<T>, Vector256<T>, Vector256<T>, out Vector256<T>, out Vector256<T>, out Vector256<T>, out Vector256<T>, out Vector256<T>)
Interleave 6 vectors into 6-element groups. It converts the 6-element groups SoA to AoS (将6个向量交织为6-元素组. 它能将6元素组的 结构体数组 转为 数组结构体. It is specialized for process 128-bit element (它专门用于处理128位元素).
Mnemonic: element_ref(i, data0, data1, data2, data3, data4, data5) := (0==(i%6))?( x[i2] ):( (1==(i%6))?( y[i2] ):( (2==(i%6))?( z[i2] ):( (3==(i%6))?( w[i2] ):( (4==(i%6))?( u[i2] ):( v[i2] ) ) ) ) )
, i2 := i/6
.
public static Vector256<T> YGroup6Zip_Bit128<T>(Vector256<T> x, Vector256<T> y, Vector256<T> z, Vector256<T> w, Vector256<T> u, Vector256<T> v, out Vector256<T> data1, out Vector256<T> data2, out Vector256<T> data3, out Vector256<T> data4, out Vector256<T> data5) where T : struct
Parameters
x
Vector256<T>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector256<T>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector256<T>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector256<T>A vector consisting purely of W-components (纯由W分量所组成的向量).
u
Vector256<T>A vector consisting purely of U-components (纯由U分量所组成的向量).
v
Vector256<T>A vector consisting purely of V-components (纯由V分量所组成的向量).
data1
Vector256<T>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector256<T>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector256<T>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
data4
Vector256<T>Returns part 4 of the interleaved data (返回交织后数据的第4部分).
data5
Vector256<T>Returns part 5 of the interleaved data (返回交织后数据的第5部分).
Returns
- Vector256<T>
Returns part 0 of the interleaved data (返回交织后数据的第0部分).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
- See Also