Method YGroup2UnzipEven
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup2UnzipEven<T>(Vector<T>, Vector<T>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, 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 Vector<T> YGroup2UnzipEven<T>(Vector<T> data0, Vector<T> data1) where T : struct
Parameters
data0
Vector<T>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<T>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- Vector<T>
Returns the vector made of the X-components (返回X分量所组成的向量).
Type Parameters
T
- See Also
YGroup2UnzipEven(Vector<Int128>, Vector<Int128>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<Int128> YGroup2UnzipEven(Vector<Int128> data0, Vector<Int128> data1)
Parameters
data0
Vector<Int128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<Int128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<UInt128>, Vector<UInt128>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
[CLSCompliant(false)]
public static Vector<UInt128> YGroup2UnzipEven(Vector<UInt128> data0, Vector<UInt128> data1)
Parameters
data0
Vector<UInt128>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<UInt128>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<float>, Vector<float>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<float> YGroup2UnzipEven(Vector<float> data0, Vector<float> data1)
Parameters
data0
Vector<float>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<float>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<double>, Vector<double>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<double> YGroup2UnzipEven(Vector<double> data0, Vector<double> data1)
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部分).
Returns
- See Also
YGroup2UnzipEven(Vector<sbyte>, Vector<sbyte>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
[CLSCompliant(false)]
public static Vector<sbyte> YGroup2UnzipEven(Vector<sbyte> data0, Vector<sbyte> data1)
Parameters
data0
Vector<sbyte>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<sbyte>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<byte>, Vector<byte>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<byte> YGroup2UnzipEven(Vector<byte> data0, Vector<byte> data1)
Parameters
data0
Vector<byte>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<byte>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<short>, Vector<short>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<short> YGroup2UnzipEven(Vector<short> data0, Vector<short> data1)
Parameters
data0
Vector<short>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<short>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<ushort>, Vector<ushort>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
[CLSCompliant(false)]
public static Vector<ushort> YGroup2UnzipEven(Vector<ushort> data0, Vector<ushort> data1)
Parameters
data0
Vector<ushort>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<ushort>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<int>, Vector<int>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<int> YGroup2UnzipEven(Vector<int> data0, Vector<int> data1)
Parameters
data0
Vector<int>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<int>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<uint>, Vector<uint>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
[CLSCompliant(false)]
public static Vector<uint> YGroup2UnzipEven(Vector<uint> data0, Vector<uint> data1)
Parameters
data0
Vector<uint>A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).
data1
Vector<uint>A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).
Returns
- See Also
YGroup2UnzipEven(Vector<long>, Vector<long>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<long> YGroup2UnzipEven(Vector<long> data0, Vector<long> data1)
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部分).
Returns
- See Also
YGroup2UnzipEven(Vector<ulong>, Vector<ulong>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
[CLSCompliant(false)]
public static Vector<ulong> YGroup2UnzipEven(Vector<ulong> data0, Vector<ulong> data1)
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部分).
Returns
- See Also
YGroup2UnzipEven(Vector<ExInt128>, Vector<ExInt128>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
public static Vector<ExInt128> YGroup2UnzipEven(Vector<ExInt128> data0, Vector<ExInt128> data1)
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部分).
Returns
- See Also
YGroup2UnzipEven(Vector<ExUInt128>, Vector<ExUInt128>)
De-Interleave the 2-element groups into 2 vectors, and return the vector of even positions (将2-元素组解交织为2个向量, 并返回偶数位置的数据).
Mnemonic: rt[i] =: element_ref(2*i, data0, data1)
.
[CLSCompliant(false)]
public static Vector<ExUInt128> YGroup2UnzipEven(Vector<ExUInt128> data0, Vector<ExUInt128> data1)
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部分).
Returns
- See Also