Method YGroup2Zip
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup2Zip(Vector512<Int128>, Vector512<Int128>, out Vector512<Int128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<Int128> YGroup2Zip(Vector512<Int128> x, Vector512<Int128> y, out Vector512<Int128> data1)
Parameters
x
Vector512<Int128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<Int128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<Int128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<UInt128>, Vector512<UInt128>, out Vector512<UInt128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static Vector512<UInt128> YGroup2Zip(Vector512<UInt128> x, Vector512<UInt128> y, out Vector512<UInt128> data1)
Parameters
x
Vector512<UInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<UInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<UInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip<T>(Vector512<T>, Vector512<T>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[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 (Vector512<T> Data0, Vector512<T> Data1) YGroup2Zip<T>(Vector512<T> x, Vector512<T> y) where T : struct
Parameters
x
Vector512<T>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<T>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
YGroup2Zip(Vector512<float>, Vector512<float>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<float> Data0, Vector512<float> Data1) YGroup2Zip(Vector512<float> x, Vector512<float> y)
Parameters
x
Vector512<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<double>, Vector512<double>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<double> Data0, Vector512<double> Data1) YGroup2Zip(Vector512<double> x, Vector512<double> y)
Parameters
x
Vector512<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<sbyte>, Vector512<sbyte>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static (Vector512<sbyte> Data0, Vector512<sbyte> Data1) YGroup2Zip(Vector512<sbyte> x, Vector512<sbyte> y)
Parameters
x
Vector512<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<byte>, Vector512<byte>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<byte> Data0, Vector512<byte> Data1) YGroup2Zip(Vector512<byte> x, Vector512<byte> y)
Parameters
x
Vector512<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<short>, Vector512<short>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<short> Data0, Vector512<short> Data1) YGroup2Zip(Vector512<short> x, Vector512<short> y)
Parameters
x
Vector512<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<ushort>, Vector512<ushort>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static (Vector512<ushort> Data0, Vector512<ushort> Data1) YGroup2Zip(Vector512<ushort> x, Vector512<ushort> y)
Parameters
x
Vector512<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<int>, Vector512<int>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<int> Data0, Vector512<int> Data1) YGroup2Zip(Vector512<int> x, Vector512<int> y)
Parameters
x
Vector512<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<uint>, Vector512<uint>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static (Vector512<uint> Data0, Vector512<uint> Data1) YGroup2Zip(Vector512<uint> x, Vector512<uint> y)
Parameters
x
Vector512<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<long>, Vector512<long>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<long> Data0, Vector512<long> Data1) YGroup2Zip(Vector512<long> x, Vector512<long> y)
Parameters
x
Vector512<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<ulong>, Vector512<ulong>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static (Vector512<ulong> Data0, Vector512<ulong> Data1) YGroup2Zip(Vector512<ulong> x, Vector512<ulong> y)
Parameters
x
Vector512<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<ExInt128>, Vector512<ExInt128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<ExInt128> Data0, Vector512<ExInt128> Data1) YGroup2Zip(Vector512<ExInt128> x, Vector512<ExInt128> y)
Parameters
x
Vector512<ExInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ExInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<ExUInt128>, Vector512<ExUInt128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static (Vector512<ExUInt128> Data0, Vector512<ExUInt128> Data1) YGroup2Zip(Vector512<ExUInt128> x, Vector512<ExUInt128> y)
Parameters
x
Vector512<ExUInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ExUInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<Int128>, Vector512<Int128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static (Vector512<Int128> Data0, Vector512<Int128> Data1) YGroup2Zip(Vector512<Int128> x, Vector512<Int128> y)
Parameters
x
Vector512<Int128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<Int128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<UInt128>, Vector512<UInt128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static (Vector512<UInt128> Data0, Vector512<UInt128> Data1) YGroup2Zip(Vector512<UInt128> x, Vector512<UInt128> y)
Parameters
x
Vector512<UInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<UInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
Returns
YGroup2Zip(Vector512<float>, Vector512<float>, out Vector512<float>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<float> YGroup2Zip(Vector512<float> x, Vector512<float> y, out Vector512<float> data1)
Parameters
x
Vector512<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<float>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<double>, Vector512<double>, out Vector512<double>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<double> YGroup2Zip(Vector512<double> x, Vector512<double> y, out Vector512<double> data1)
Parameters
x
Vector512<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<double>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<sbyte>, Vector512<sbyte>, out Vector512<sbyte>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static Vector512<sbyte> YGroup2Zip(Vector512<sbyte> x, Vector512<sbyte> y, out Vector512<sbyte> data1)
Parameters
x
Vector512<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<sbyte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<byte>, Vector512<byte>, out Vector512<byte>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<byte> YGroup2Zip(Vector512<byte> x, Vector512<byte> y, out Vector512<byte> data1)
Parameters
x
Vector512<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<byte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<short>, Vector512<short>, out Vector512<short>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<short> YGroup2Zip(Vector512<short> x, Vector512<short> y, out Vector512<short> data1)
Parameters
x
Vector512<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<short>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<ushort>, Vector512<ushort>, out Vector512<ushort>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static Vector512<ushort> YGroup2Zip(Vector512<ushort> x, Vector512<ushort> y, out Vector512<ushort> data1)
Parameters
x
Vector512<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<ushort>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<int>, Vector512<int>, out Vector512<int>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<int> YGroup2Zip(Vector512<int> x, Vector512<int> y, out Vector512<int> data1)
Parameters
x
Vector512<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<int>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<uint>, Vector512<uint>, out Vector512<uint>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static Vector512<uint> YGroup2Zip(Vector512<uint> x, Vector512<uint> y, out Vector512<uint> data1)
Parameters
x
Vector512<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<uint>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<long>, Vector512<long>, out Vector512<long>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<long> YGroup2Zip(Vector512<long> x, Vector512<long> y, out Vector512<long> data1)
Parameters
x
Vector512<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<long>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<ulong>, Vector512<ulong>, out Vector512<ulong>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static Vector512<ulong> YGroup2Zip(Vector512<ulong> x, Vector512<ulong> y, out Vector512<ulong> data1)
Parameters
x
Vector512<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<ulong>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<ExInt128>, Vector512<ExInt128>, out Vector512<ExInt128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
public static Vector512<ExInt128> YGroup2Zip(Vector512<ExInt128> x, Vector512<ExInt128> y, out Vector512<ExInt128> data1)
Parameters
x
Vector512<ExInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ExInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<ExInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip(Vector512<ExUInt128>, Vector512<ExUInt128>, out Vector512<ExUInt128>)
Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体).
Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] )
, i2 := i/2
.
[CLSCompliant(false)]
public static Vector512<ExUInt128> YGroup2Zip(Vector512<ExUInt128> x, Vector512<ExUInt128> y, out Vector512<ExUInt128> data1)
Parameters
x
Vector512<ExUInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ExUInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector512<ExUInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also