Method YGroup2Unzip
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YGroup2Unzip(Vector<double>, Vector<double>, out Vector<double>)
De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组).
Mnemonic: x[i] =: element_ref(2i, data0, data1)
, y[i] =: element_ref(2i+1, data0, data1)
.
public static Vector<double> YGroup2Unzip(Vector<double> data0, Vector<double> data1, out Vector<double> y)
Parameters
data0
Vector<double>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<double>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector<double>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- See Also
YGroup2Unzip(Vector<long>, Vector<long>, out Vector<long>)
De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组).
Mnemonic: x[i] =: element_ref(2i, data0, data1)
, y[i] =: element_ref(2i+1, data0, data1)
.
public static Vector<long> YGroup2Unzip(Vector<long> data0, Vector<long> data1, out Vector<long> y)
Parameters
data0
Vector<long>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<long>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector<long>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- See Also
YGroup2Unzip(Vector<ulong>, Vector<ulong>, out Vector<ulong>)
De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组).
Mnemonic: x[i] =: element_ref(2i, data0, data1)
, y[i] =: element_ref(2i+1, data0, data1)
.
[CLSCompliant(false)]
public static Vector<ulong> YGroup2Unzip(Vector<ulong> data0, Vector<ulong> data1, out Vector<ulong> y)
Parameters
data0
Vector<ulong>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<ulong>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector<ulong>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- See Also
YGroup2Unzip(Vector<ExInt128>, Vector<ExInt128>, out Vector<ExInt128>)
De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组).
Mnemonic: x[i] =: element_ref(2i, data0, data1)
, y[i] =: element_ref(2i+1, data0, data1)
.
public static Vector<ExInt128> YGroup2Unzip(Vector<ExInt128> data0, Vector<ExInt128> data1, out Vector<ExInt128> y)
Parameters
data0
Vector<ExInt128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<ExInt128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector<ExInt128>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- See Also
YGroup2Unzip(Vector<ExUInt128>, Vector<ExUInt128>, out Vector<ExUInt128>)
De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组).
Mnemonic: x[i] =: element_ref(2i, data0, data1)
, y[i] =: element_ref(2i+1, data0, data1)
.
[CLSCompliant(false)]
public static Vector<ExUInt128> YGroup2Unzip(Vector<ExUInt128> data0, Vector<ExUInt128> data1, out Vector<ExUInt128> y)
Parameters
data0
Vector<ExUInt128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<ExUInt128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector<ExUInt128>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- See Also