Method YGroup2UnzipEven
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YGroup2UnzipEven<T>(IVectorTraits, 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>(this IVectorTraits athis, Vector<T> data0, Vector<T> data1) where T : struct
Parameters
athis
IVectorTraitsdata0
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(IVectorTraits, 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)
.
[CLSCompliant(false)]
public static Vector<Int128> YGroup2UnzipEven(this IVectorTraits athis, Vector<Int128> data0, Vector<Int128> data1)
Parameters
athis
IVectorTraitsdata0
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(IVectorTraits, 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(this IVectorTraits athis, Vector<UInt128> data0, Vector<UInt128> data1)
Parameters
athis
IVectorTraitsdata0
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