Table of Contents

Method YGroup3ZipX2

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup3ZipX2<T>(IWVectorTraits256, Vector256<T>, Vector256<T>, Vector256<T>, Vector256<T>, Vector256<T>, Vector256<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 (Vector256<T> Data0, Vector256<T> Data1, Vector256<T> Data2, Vector256<T> Data3, Vector256<T> Data4, Vector256<T> Data5) YGroup3ZipX2<T>(this IWVectorTraits256 athis, Vector256<T> x, Vector256<T> xB, Vector256<T> y, Vector256<T> yB, Vector256<T> z, Vector256<T> zB) where T : struct

Parameters

athis IWVectorTraits256
x Vector256<T>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<T>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<T>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<T>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<T>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<T>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<T> X, Vector256<T> XB, Vector256<T> Y, Vector256<T> YB, Vector256<T> Z, Vector256<T> ZB)

Returns the interleaved data (返回交织后数据).

Type Parameters

T

The element type of the input parameter (输入参数的元素类型).

YGroup3ZipX2(IWVectorTraits256, Vector256<float>, Vector256<float>, Vector256<float>, Vector256<float>, Vector256<float>, Vector256<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 (Vector256<float> Data0, Vector256<float> Data1, Vector256<float> Data2, Vector256<float> Data3, Vector256<float> Data4, Vector256<float> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<float> x, Vector256<float> xB, Vector256<float> y, Vector256<float> yB, Vector256<float> z, Vector256<float> zB)

Parameters

athis IWVectorTraits256
x Vector256<float>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<float>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<float>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<float>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<float>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<float>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<float> X, Vector256<float> XB, Vector256<float> Y, Vector256<float> YB, Vector256<float> Z, Vector256<float> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<double>, Vector256<double>, Vector256<double>, Vector256<double>, Vector256<double>, Vector256<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 (Vector256<double> Data0, Vector256<double> Data1, Vector256<double> Data2, Vector256<double> Data3, Vector256<double> Data4, Vector256<double> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<double> x, Vector256<double> xB, Vector256<double> y, Vector256<double> yB, Vector256<double> z, Vector256<double> zB)

Parameters

athis IWVectorTraits256
x Vector256<double>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<double>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<double>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<double>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<double>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<double>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<double> X, Vector256<double> XB, Vector256<double> Y, Vector256<double> YB, Vector256<double> Z, Vector256<double> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<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 (Vector256<sbyte> Data0, Vector256<sbyte> Data1, Vector256<sbyte> Data2, Vector256<sbyte> Data3, Vector256<sbyte> Data4, Vector256<sbyte> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<sbyte> x, Vector256<sbyte> xB, Vector256<sbyte> y, Vector256<sbyte> yB, Vector256<sbyte> z, Vector256<sbyte> zB)

Parameters

athis IWVectorTraits256
x Vector256<sbyte>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<sbyte>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<sbyte>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<sbyte>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<sbyte>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<sbyte>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<sbyte> X, Vector256<sbyte> XB, Vector256<sbyte> Y, Vector256<sbyte> YB, Vector256<sbyte> Z, Vector256<sbyte> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<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 (Vector256<byte> Data0, Vector256<byte> Data1, Vector256<byte> Data2, Vector256<byte> Data3, Vector256<byte> Data4, Vector256<byte> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<byte> x, Vector256<byte> xB, Vector256<byte> y, Vector256<byte> yB, Vector256<byte> z, Vector256<byte> zB)

Parameters

athis IWVectorTraits256
x Vector256<byte>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<byte>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<byte>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<byte>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<byte>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<byte>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<byte> X, Vector256<byte> XB, Vector256<byte> Y, Vector256<byte> YB, Vector256<byte> Z, Vector256<byte> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<short>, Vector256<short>, Vector256<short>, Vector256<short>, Vector256<short>, Vector256<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 (Vector256<short> Data0, Vector256<short> Data1, Vector256<short> Data2, Vector256<short> Data3, Vector256<short> Data4, Vector256<short> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<short> x, Vector256<short> xB, Vector256<short> y, Vector256<short> yB, Vector256<short> z, Vector256<short> zB)

Parameters

athis IWVectorTraits256
x Vector256<short>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<short>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<short>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<short>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<short>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<short>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<short> X, Vector256<short> XB, Vector256<short> Y, Vector256<short> YB, Vector256<short> Z, Vector256<short> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<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 (Vector256<ushort> Data0, Vector256<ushort> Data1, Vector256<ushort> Data2, Vector256<ushort> Data3, Vector256<ushort> Data4, Vector256<ushort> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<ushort> x, Vector256<ushort> xB, Vector256<ushort> y, Vector256<ushort> yB, Vector256<ushort> z, Vector256<ushort> zB)

Parameters

athis IWVectorTraits256
x Vector256<ushort>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<ushort>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<ushort>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<ushort>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<ushort>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<ushort>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<ushort> X, Vector256<ushort> XB, Vector256<ushort> Y, Vector256<ushort> YB, Vector256<ushort> Z, Vector256<ushort> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<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 (Vector256<int> Data0, Vector256<int> Data1, Vector256<int> Data2, Vector256<int> Data3, Vector256<int> Data4, Vector256<int> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<int> x, Vector256<int> xB, Vector256<int> y, Vector256<int> yB, Vector256<int> z, Vector256<int> zB)

Parameters

athis IWVectorTraits256
x Vector256<int>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<int>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<int>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<int>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<int>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<int>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<int> X, Vector256<int> XB, Vector256<int> Y, Vector256<int> YB, Vector256<int> Z, Vector256<int> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<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 (Vector256<uint> Data0, Vector256<uint> Data1, Vector256<uint> Data2, Vector256<uint> Data3, Vector256<uint> Data4, Vector256<uint> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<uint> x, Vector256<uint> xB, Vector256<uint> y, Vector256<uint> yB, Vector256<uint> z, Vector256<uint> zB)

Parameters

athis IWVectorTraits256
x Vector256<uint>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<uint>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<uint>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<uint>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<uint>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<uint>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<uint> X, Vector256<uint> XB, Vector256<uint> Y, Vector256<uint> YB, Vector256<uint> Z, Vector256<uint> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<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 (Vector256<long> Data0, Vector256<long> Data1, Vector256<long> Data2, Vector256<long> Data3, Vector256<long> Data4, Vector256<long> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<long> x, Vector256<long> xB, Vector256<long> y, Vector256<long> yB, Vector256<long> z, Vector256<long> zB)

Parameters

athis IWVectorTraits256
x Vector256<long>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<long>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<long>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<long>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<long>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<long>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<long> X, Vector256<long> XB, Vector256<long> Y, Vector256<long> YB, Vector256<long> Z, Vector256<long> ZB)

Returns the interleaved data (返回交织后数据).

YGroup3ZipX2(IWVectorTraits256, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<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 (Vector256<ulong> Data0, Vector256<ulong> Data1, Vector256<ulong> Data2, Vector256<ulong> Data3, Vector256<ulong> Data4, Vector256<ulong> Data5) YGroup3ZipX2(this IWVectorTraits256 athis, Vector256<ulong> x, Vector256<ulong> xB, Vector256<ulong> y, Vector256<ulong> yB, Vector256<ulong> z, Vector256<ulong> zB)

Parameters

athis IWVectorTraits256
x Vector256<ulong>

A vector consisting purely of X-components - Part 0 (纯由X分量所组成的向量 - 第0部分).

xB Vector256<ulong>

A vector consisting purely of X-components - Part 1 (纯由X分量所组成的向量 - 第1部分).

y Vector256<ulong>

A vector consisting purely of Y-components - Part 0 (纯由Y分量所组成的向量 - 第0部分).

yB Vector256<ulong>

A vector consisting purely of Y-components - Part 1 (纯由Y分量所组成的向量 - 第1部分).

z Vector256<ulong>

A vector consisting purely of Z-components - Part 0 (纯由Z分量所组成的向量 - 第0部分).

zB Vector256<ulong>

A vector consisting purely of Z-components - Part 1 (纯由Z分量所组成的向量 - 第1部分).

Returns

(Vector256<ulong> X, Vector256<ulong> XB, Vector256<ulong> Y, Vector256<ulong> YB, Vector256<ulong> Z, Vector256<ulong> ZB)

Returns the interleaved data (返回交织后数据).