Method YGroup2Zip_AlignRight
- Namespace
- Zyl.VectorTraits.Impl.AVector128
- Assembly
- VectorTraits.dll
YGroup2Zip_AlignRight(Vector128<double>, Vector128<double>, out Vector128<double>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector128<double> YGroup2Zip_AlignRight(Vector128<double> x, Vector128<double> y, out Vector128<double> data1)
Parameters
x
Vector128<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector128<double>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_AlignRight(Vector128<long>, Vector128<long>, out Vector128<long>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector128<long> YGroup2Zip_AlignRight(Vector128<long> x, Vector128<long> y, out Vector128<long> data1)
Parameters
x
Vector128<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector128<long>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_AlignRight(Vector128<ulong>, Vector128<ulong>, out Vector128<ulong>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static Vector128<ulong> YGroup2Zip_AlignRight(Vector128<ulong> x, Vector128<ulong> y, out Vector128<ulong> data1)
Parameters
x
Vector128<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector128<ulong>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also