Table of Contents

Method YGroup2Zip

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup2Zip(Vector128<float>, Vector128<float>, out Vector128<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.

Vector128<float> YGroup2Zip(Vector128<float> x, Vector128<float> y, out Vector128<float> data1)

Parameters

x Vector128<float>

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

y Vector128<float>

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

data1 Vector128<float>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<float>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<double>, Vector128<double>, out Vector128<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.

Vector128<double> YGroup2Zip(Vector128<double> x, Vector128<double> y, out Vector128<double> data1)

Parameters

x Vector128<double>

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

y Vector128<double>

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

data1 Vector128<double>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<double>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<sbyte>, Vector128<sbyte>, out Vector128<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.

Vector128<sbyte> YGroup2Zip(Vector128<sbyte> x, Vector128<sbyte> y, out Vector128<sbyte> data1)

Parameters

x Vector128<sbyte>

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

y Vector128<sbyte>

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

data1 Vector128<sbyte>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<sbyte>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<byte>, Vector128<byte>, out Vector128<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.

Vector128<byte> YGroup2Zip(Vector128<byte> x, Vector128<byte> y, out Vector128<byte> data1)

Parameters

x Vector128<byte>

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

y Vector128<byte>

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

data1 Vector128<byte>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<byte>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<short>, Vector128<short>, out Vector128<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.

Vector128<short> YGroup2Zip(Vector128<short> x, Vector128<short> y, out Vector128<short> data1)

Parameters

x Vector128<short>

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

y Vector128<short>

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

data1 Vector128<short>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<short>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<ushort>, Vector128<ushort>, out Vector128<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.

Vector128<ushort> YGroup2Zip(Vector128<ushort> x, Vector128<ushort> y, out Vector128<ushort> data1)

Parameters

x Vector128<ushort>

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

y Vector128<ushort>

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

data1 Vector128<ushort>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<ushort>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<int>, Vector128<int>, out Vector128<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.

Vector128<int> YGroup2Zip(Vector128<int> x, Vector128<int> y, out Vector128<int> data1)

Parameters

x Vector128<int>

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

y Vector128<int>

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

data1 Vector128<int>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<int>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<uint>, Vector128<uint>, out Vector128<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.

Vector128<uint> YGroup2Zip(Vector128<uint> x, Vector128<uint> y, out Vector128<uint> data1)

Parameters

x Vector128<uint>

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

y Vector128<uint>

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

data1 Vector128<uint>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<uint>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<long>, Vector128<long>, out Vector128<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.

Vector128<long> YGroup2Zip(Vector128<long> x, Vector128<long> y, out Vector128<long> data1)

Parameters

x Vector128<long>

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

y Vector128<long>

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

data1 Vector128<long>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<long>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<ulong>, Vector128<ulong>, out Vector128<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.

Vector128<ulong> YGroup2Zip(Vector128<ulong> x, Vector128<ulong> y, out Vector128<ulong> data1)

Parameters

x Vector128<ulong>

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

y Vector128<ulong>

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

data1 Vector128<ulong>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<ulong>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<ExInt128>, Vector128<ExInt128>, out Vector128<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.

Vector128<ExInt128> YGroup2Zip(Vector128<ExInt128> x, Vector128<ExInt128> y, out Vector128<ExInt128> data1)

Parameters

x Vector128<ExInt128>

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

y Vector128<ExInt128>

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

data1 Vector128<ExInt128>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<ExInt128>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also

YGroup2Zip(Vector128<ExUInt128>, Vector128<ExUInt128>, out Vector128<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.

Vector128<ExUInt128> YGroup2Zip(Vector128<ExUInt128> x, Vector128<ExUInt128> y, out Vector128<ExUInt128> data1)

Parameters

x Vector128<ExUInt128>

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

y Vector128<ExUInt128>

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

data1 Vector128<ExUInt128>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

Returns

Vector128<ExUInt128>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

See Also