Method YGroup2Zip_Basic
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YGroup2Zip_Basic(Vector<float>, Vector<float>, out Vector<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 Vector<float> YGroup2Zip_Basic(Vector<float> x, Vector<float> y, out Vector<float> data1)
Parameters
x
Vector<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<float>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<double>, Vector<double>, out Vector<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 Vector<double> YGroup2Zip_Basic(Vector<double> x, Vector<double> y, out Vector<double> data1)
Parameters
x
Vector<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<double>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<sbyte>, Vector<sbyte>, out Vector<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 Vector<sbyte> YGroup2Zip_Basic(Vector<sbyte> x, Vector<sbyte> y, out Vector<sbyte> data1)
Parameters
x
Vector<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<sbyte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<byte>, Vector<byte>, out Vector<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 Vector<byte> YGroup2Zip_Basic(Vector<byte> x, Vector<byte> y, out Vector<byte> data1)
Parameters
x
Vector<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<byte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<short>, Vector<short>, out Vector<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 Vector<short> YGroup2Zip_Basic(Vector<short> x, Vector<short> y, out Vector<short> data1)
Parameters
x
Vector<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<short>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<ushort>, Vector<ushort>, out Vector<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 Vector<ushort> YGroup2Zip_Basic(Vector<ushort> x, Vector<ushort> y, out Vector<ushort> data1)
Parameters
x
Vector<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<ushort>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<int>, Vector<int>, out Vector<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 Vector<int> YGroup2Zip_Basic(Vector<int> x, Vector<int> y, out Vector<int> data1)
Parameters
x
Vector<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<int>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<uint>, Vector<uint>, out Vector<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 Vector<uint> YGroup2Zip_Basic(Vector<uint> x, Vector<uint> y, out Vector<uint> data1)
Parameters
x
Vector<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<uint>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<long>, Vector<long>, out Vector<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 Vector<long> YGroup2Zip_Basic(Vector<long> x, Vector<long> y, out Vector<long> data1)
Parameters
x
Vector<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<long>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<ulong>, Vector<ulong>, out Vector<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 Vector<ulong> YGroup2Zip_Basic(Vector<ulong> x, Vector<ulong> y, out Vector<ulong> data1)
Parameters
x
Vector<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<ulong>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<ExInt128>, Vector<ExInt128>, out Vector<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 Vector<ExInt128> YGroup2Zip_Basic(Vector<ExInt128> x, Vector<ExInt128> y, out Vector<ExInt128> data1)
Parameters
x
Vector<ExInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ExInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<ExInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also
YGroup2Zip_Basic(Vector<ExUInt128>, Vector<ExUInt128>, out Vector<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 Vector<ExUInt128> YGroup2Zip_Basic(Vector<ExUInt128> x, Vector<ExUInt128> y, out Vector<ExUInt128> data1)
Parameters
x
Vector<ExUInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ExUInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
data1
Vector<ExUInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
Returns
- See Also