Method YGroup6Zip_Bit128
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup6Zip_Bit128<T>(Vector512<T>, Vector512<T>, Vector512<T>, Vector512<T>, Vector512<T>, Vector512<T>, out Vector512<T>, out Vector512<T>, out Vector512<T>, out Vector512<T>, out Vector512<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 Vector512<T> YGroup6Zip_Bit128<T>(Vector512<T> x, Vector512<T> y, Vector512<T> z, Vector512<T> w, Vector512<T> u, Vector512<T> v, out Vector512<T> data1, out Vector512<T> data2, out Vector512<T> data3, out Vector512<T> data4, out Vector512<T> data5) where T : struct
Parameters
x
Vector512<T>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<T>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<T>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector512<T>A vector consisting purely of W-components (纯由W分量所组成的向量).
u
Vector512<T>A vector consisting purely of U-components (纯由U分量所组成的向量).
v
Vector512<T>A vector consisting purely of V-components (纯由V分量所组成的向量).
data1
Vector512<T>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<T>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector512<T>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
data4
Vector512<T>Returns part 4 of the interleaved data (返回交织后数据的第4部分).
data5
Vector512<T>Returns part 5 of the interleaved data (返回交织后数据的第5部分).
Returns
- Vector512<T>
Returns part 0 of the interleaved data (返回交织后数据的第0部分).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
- See Also