Table of Contents

Method YGroup3ZipX2

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

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

Parameters

athis IWVectorTraits128
x Vector128<T>

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

xB Vector128<T>

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

y Vector128<T>

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

yB Vector128<T>

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

z Vector128<T>

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

zB Vector128<T>

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

Returns

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

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

Type Parameters

T

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

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

Parameters

athis IWVectorTraits128
x Vector128<float>

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

xB Vector128<float>

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

y Vector128<float>

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

yB Vector128<float>

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

z Vector128<float>

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

zB Vector128<float>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<double>

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

xB Vector128<double>

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

y Vector128<double>

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

yB Vector128<double>

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

z Vector128<double>

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

zB Vector128<double>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<sbyte>

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

xB Vector128<sbyte>

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

y Vector128<sbyte>

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

yB Vector128<sbyte>

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

z Vector128<sbyte>

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

zB Vector128<sbyte>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<byte>

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

xB Vector128<byte>

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

y Vector128<byte>

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

yB Vector128<byte>

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

z Vector128<byte>

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

zB Vector128<byte>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<short>

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

xB Vector128<short>

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

y Vector128<short>

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

yB Vector128<short>

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

z Vector128<short>

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

zB Vector128<short>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<ushort>

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

xB Vector128<ushort>

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

y Vector128<ushort>

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

yB Vector128<ushort>

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

z Vector128<ushort>

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

zB Vector128<ushort>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<int>

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

xB Vector128<int>

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

y Vector128<int>

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

yB Vector128<int>

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

z Vector128<int>

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

zB Vector128<int>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<uint>

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

xB Vector128<uint>

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

y Vector128<uint>

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

yB Vector128<uint>

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

z Vector128<uint>

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

zB Vector128<uint>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<long>

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

xB Vector128<long>

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

y Vector128<long>

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

yB Vector128<long>

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

z Vector128<long>

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

zB Vector128<long>

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

Returns

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

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

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

Parameters

athis IWVectorTraits128
x Vector128<ulong>

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

xB Vector128<ulong>

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

y Vector128<ulong>

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

yB Vector128<ulong>

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

z Vector128<ulong>

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

zB Vector128<ulong>

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

Returns

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

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