Method YGroup2Unzip
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YGroup2Unzip(IWVectorTraits256, Vector256<Int128>, Vector256<Int128>, out Vector256<Int128>)
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 Vector256<Int128> YGroup2Unzip(this IWVectorTraits256 athis, Vector256<Int128> data0, Vector256<Int128> data1, out Vector256<Int128> y)
Parameters
athis
IWVectorTraits256data0
Vector256<Int128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<Int128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector256<Int128>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- See Also
YGroup2Unzip(IWVectorTraits256, Vector256<UInt128>, Vector256<UInt128>, out Vector256<UInt128>)
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 Vector256<UInt128> YGroup2Unzip(this IWVectorTraits256 athis, Vector256<UInt128> data0, Vector256<UInt128> data1, out Vector256<UInt128> y)
Parameters
athis
IWVectorTraits256data0
Vector256<UInt128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<UInt128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
y
Vector256<UInt128>Returns the vector made of the Y-components (返回Y分量所组成的向量).
Returns
- See Also
YGroup2Unzip<T>(IWVectorTraits256, Vector256<T>, Vector256<T>)
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)]
[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector256<T> X, Vector256<T> Y) YGroup2Unzip<T>(this IWVectorTraits256 athis, Vector256<T> data0, Vector256<T> data1) where T : struct
Parameters
athis
IWVectorTraits256data0
Vector256<T>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<T>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<T> args0, Vector256<T> args1)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
YGroup2Unzip(IWVectorTraits256, Vector256<float>, Vector256<float>)
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 (Vector256<float> X, Vector256<float> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<float> data0, Vector256<float> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<float>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<float>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<float> Result0, Vector256<float> Result1)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<double>, Vector256<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)
.
[CLSCompliant(false)]
public static (Vector256<double> X, Vector256<double> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<double> data0, Vector256<double> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<double>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<double>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<double> Lower, Vector256<double> Upper)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<sbyte>, Vector256<sbyte>)
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 (Vector256<sbyte> X, Vector256<sbyte> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<sbyte> data0, Vector256<sbyte> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<sbyte>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<sbyte>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<sbyte> args0, Vector256<sbyte> args1)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<byte>, Vector256<byte>)
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 (Vector256<byte> X, Vector256<byte> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<byte> data0, Vector256<byte> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<byte>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<byte>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<byte> args0, Vector256<byte> args1)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<short>, Vector256<short>)
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 (Vector256<short> X, Vector256<short> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<short> data0, Vector256<short> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<short>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<short>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<short> Lower, Vector256<short> Upper)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<ushort>, Vector256<ushort>)
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 (Vector256<ushort> X, Vector256<ushort> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<ushort> data0, Vector256<ushort> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<ushort>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<ushort>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<ushort> Lower, Vector256<ushort> Upper)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<int>, Vector256<int>)
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 (Vector256<int> X, Vector256<int> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<int> data0, Vector256<int> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<int>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<int>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<int> Lower, Vector256<int> Upper)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<uint>, Vector256<uint>)
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 (Vector256<uint> X, Vector256<uint> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<uint> data0, Vector256<uint> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<uint>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<uint>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<uint> Lower, Vector256<uint> Upper)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<long>, Vector256<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)
.
[CLSCompliant(false)]
public static (Vector256<long> X, Vector256<long> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<long> data0, Vector256<long> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<long>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<long>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<long> Lower, Vector256<long> Upper)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<ulong>, Vector256<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 (Vector256<ulong> X, Vector256<ulong> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<ulong> data0, Vector256<ulong> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<ulong>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<ulong>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<ulong> Lower, Vector256<ulong> Upper)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<ExInt128>, Vector256<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)
.
[CLSCompliant(false)]
public static (Vector256<ExInt128> X, Vector256<ExInt128> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<ExInt128> data0, Vector256<ExInt128> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<ExInt128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<ExInt128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<ExInt128> X, Vector256<ExInt128> Y)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<ExUInt128>, Vector256<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 (Vector256<ExUInt128> X, Vector256<ExUInt128> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<ExUInt128> data0, Vector256<ExUInt128> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<ExUInt128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<ExUInt128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<ExUInt128> X, Vector256<ExUInt128> Y)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<Int128>, Vector256<Int128>)
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 (Vector256<Int128> X, Vector256<Int128> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<Int128> data0, Vector256<Int128> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<Int128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<Int128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- (Vector256<Int128> X, Vector256<Int128> Y)
Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).
YGroup2Unzip(IWVectorTraits256, Vector256<UInt128>, Vector256<UInt128>)
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 (Vector256<UInt128> X, Vector256<UInt128> Y) YGroup2Unzip(this IWVectorTraits256 athis, Vector256<UInt128> data0, Vector256<UInt128> data1)
Parameters
athis
IWVectorTraits256data0
Vector256<UInt128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector256<UInt128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).