Method YGroup2UnzipEven
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YGroup2UnzipEven<T>(IWVectorTraits256, Vector256<T>, Vector256<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 Vector256<T> YGroup2UnzipEven<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>
Returns the vector made of the X-components (返回X分量所组成的向量).
Type Parameters
T
- See Also
YGroup2UnzipEven(IWVectorTraits256, Vector256<Int128>, Vector256<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 Vector256<Int128> YGroup2UnzipEven(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
- See Also
YGroup2UnzipEven(IWVectorTraits256, Vector256<UInt128>, Vector256<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 Vector256<UInt128> YGroup2UnzipEven(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部分).
Returns
- See Also