Method YGroup3ZipX2
- Namespace
- Zyl.Vector
Traits .Impl
- Assembly
- VectorTraits.dll
YGroup3ZipX2<T>(IVectorTraits, Vector<T>, Vector<T>, Vector<T>, Vector<T>, Vector<T>, Vector<T>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[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> Data0, Vector<T> Data1, Vector<T> Data2, Vector<T> Data3, Vector<T> Data4, Vector<T> Data5) YGroup3ZipX2<T>(this IVectorTraits athis, Vector<T> x, Vector<T> xB, Vector<T> y, Vector<T> yB, Vector<T> z, Vector<T> zB) where T : struct
Parameters
athis
IVectorTraits x
Vector<T>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<T>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<T>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<T>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<T>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<T>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<T> X, Vector<T> XB, Vector<T> Y, Vector<T> YB, Vector<T> Z, Vector<T> ZB)
Returns the interleaved data (返回交织后数据).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
YGroup3ZipX2(IVectorTraits, Vector<float>, Vector<float>, Vector<float>, Vector<float>, Vector<float>, Vector<float>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<float> Data0, Vector<float> Data1, Vector<float> Data2, Vector<float> Data3, Vector<float> Data4, Vector<float> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<float> x, Vector<float> xB, Vector<float> y, Vector<float> yB, Vector<float> z, Vector<float> zB)
Parameters
athis
IVectorTraits x
Vector<float>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<float>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<float>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<float>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<float>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<float>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<float> X, Vector<float> XB, Vector<float> Y, Vector<float> YB, Vector<float> Z, Vector<float> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<double>, Vector<double>, Vector<double>, Vector<double>, Vector<double>, Vector<double>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<double> Data0, Vector<double> Data1, Vector<double> Data2, Vector<double> Data3, Vector<double> Data4, Vector<double> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<double> x, Vector<double> xB, Vector<double> y, Vector<double> yB, Vector<double> z, Vector<double> zB)
Parameters
athis
IVectorTraits x
Vector<double>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<double>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<double>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<double>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<double>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<double>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<double> X, Vector<double> XB, Vector<double> Y, Vector<double> YB, Vector<double> Z, Vector<double> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<sbyte> Data0, Vector<sbyte> Data1, Vector<sbyte> Data2, Vector<sbyte> Data3, Vector<sbyte> Data4, Vector<sbyte> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<sbyte> x, Vector<sbyte> xB, Vector<sbyte> y, Vector<sbyte> yB, Vector<sbyte> z, Vector<sbyte> zB)
Parameters
athis
IVectorTraits x
Vector<sbyte>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<sbyte>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<sbyte>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<sbyte>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<sbyte>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<sbyte>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<sbyte> X, Vector<sbyte> XB, Vector<sbyte> Y, Vector<sbyte> YB, Vector<sbyte> Z, Vector<sbyte> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<byte> Data0, Vector<byte> Data1, Vector<byte> Data2, Vector<byte> Data3, Vector<byte> Data4, Vector<byte> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<byte> x, Vector<byte> xB, Vector<byte> y, Vector<byte> yB, Vector<byte> z, Vector<byte> zB)
Parameters
athis
IVectorTraits x
Vector<byte>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<byte>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<byte>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<byte>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<byte>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<byte>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<byte> X, Vector<byte> XB, Vector<byte> Y, Vector<byte> YB, Vector<byte> Z, Vector<byte> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<short>, Vector<short>, Vector<short>, Vector<short>, Vector<short>, Vector<short>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<short> Data0, Vector<short> Data1, Vector<short> Data2, Vector<short> Data3, Vector<short> Data4, Vector<short> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<short> x, Vector<short> xB, Vector<short> y, Vector<short> yB, Vector<short> z, Vector<short> zB)
Parameters
athis
IVectorTraits x
Vector<short>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<short>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<short>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<short>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<short>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<short>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<short> X, Vector<short> XB, Vector<short> Y, Vector<short> YB, Vector<short> Z, Vector<short> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<ushort> Data0, Vector<ushort> Data1, Vector<ushort> Data2, Vector<ushort> Data3, Vector<ushort> Data4, Vector<ushort> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<ushort> x, Vector<ushort> xB, Vector<ushort> y, Vector<ushort> yB, Vector<ushort> z, Vector<ushort> zB)
Parameters
athis
IVectorTraits x
Vector<ushort>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<ushort>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<ushort>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<ushort>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<ushort>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<ushort>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<ushort> X, Vector<ushort> XB, Vector<ushort> Y, Vector<ushort> YB, Vector<ushort> Z, Vector<ushort> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<int>, Vector<int>, Vector<int>, Vector<int>, Vector<int>, Vector<int>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<int> Data0, Vector<int> Data1, Vector<int> Data2, Vector<int> Data3, Vector<int> Data4, Vector<int> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<int> x, Vector<int> xB, Vector<int> y, Vector<int> yB, Vector<int> z, Vector<int> zB)
Parameters
athis
IVectorTraits x
Vector<int>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<int>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<int>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<int>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<int>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<int>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<int> X, Vector<int> XB, Vector<int> Y, Vector<int> YB, Vector<int> Z, Vector<int> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<uint>, Vector<uint>, Vector<uint>, Vector<uint>, Vector<uint>, Vector<uint>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<uint> Data0, Vector<uint> Data1, Vector<uint> Data2, Vector<uint> Data3, Vector<uint> Data4, Vector<uint> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<uint> x, Vector<uint> xB, Vector<uint> y, Vector<uint> yB, Vector<uint> z, Vector<uint> zB)
Parameters
athis
IVectorTraits x
Vector<uint>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<uint>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<uint>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<uint>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<uint>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<uint>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<uint> X, Vector<uint> XB, Vector<uint> Y, Vector<uint> YB, Vector<uint> Z, Vector<uint> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<long>, Vector<long>, Vector<long>, Vector<long>, Vector<long>, Vector<long>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<long> Data0, Vector<long> Data1, Vector<long> Data2, Vector<long> Data3, Vector<long> Data4, Vector<long> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<long> x, Vector<long> xB, Vector<long> y, Vector<long> yB, Vector<long> z, Vector<long> zB)
Parameters
athis
IVectorTraits x
Vector<long>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<long>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<long>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<long>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<long>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<long>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).
Returns
- (Vector<long> X, Vector<long> XB, Vector<long> Y, Vector<long> YB, Vector<long> Z, Vector<long> ZB)
Returns the interleaved data (返回交织后数据).
YGroup3ZipX2(IVectorTraits, Vector<ulong>, Vector<ulong>, Vector<ulong>, Vector<ulong>, Vector<ulong>, Vector<ulong>)
Interleave 3 vectors into 3-element groups and process 2x data (将3个向量交织为3-元素组, 且处理2倍数据).
Mnemonic: (data0, data1, data2) = YGroup3Zip(x, y, z)
, (data3, data4, data5) = YGroup3Zip(xB, yB, zB)
.
[CLSCompliant(false)]
public static (Vector<ulong> Data0, Vector<ulong> Data1, Vector<ulong> Data2, Vector<ulong> Data3, Vector<ulong> Data4, Vector<ulong> Data5) YGroup3ZipX2(this IVectorTraits athis, Vector<ulong> x, Vector<ulong> xB, Vector<ulong> y, Vector<ulong> yB, Vector<ulong> z, Vector<ulong> zB)
Parameters
athis
IVectorTraits x
Vector<ulong>A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).
xB
Vector<ulong>A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).
y
Vector<ulong>A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).
yB
Vector<ulong>A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).
z
Vector<ulong>A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).
zB
Vector<ulong>A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).