Table of Contents

Method YGroup2Zip

Namespace
Zyl.VectorTraits.Impl.AVector256
Assembly
VectorTraits.dll

YGroup2Zip(Vector256<float>, Vector256<float>, out Vector256<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 virtual Vector256<float> YGroup2Zip(Vector256<float> x, Vector256<float> y, out Vector256<float> data1)

Parameters

x Vector256<float>

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

y Vector256<float>

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

data1 Vector256<float>

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

Returns

Vector256<float>

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

See Also

YGroup2Zip(Vector256<double>, Vector256<double>, out Vector256<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 virtual Vector256<double> YGroup2Zip(Vector256<double> x, Vector256<double> y, out Vector256<double> data1)

Parameters

x Vector256<double>

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

y Vector256<double>

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

data1 Vector256<double>

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

Returns

Vector256<double>

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

See Also

YGroup2Zip(Vector256<sbyte>, Vector256<sbyte>, out Vector256<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 virtual Vector256<sbyte> YGroup2Zip(Vector256<sbyte> x, Vector256<sbyte> y, out Vector256<sbyte> data1)

Parameters

x Vector256<sbyte>

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

y Vector256<sbyte>

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

data1 Vector256<sbyte>

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

Returns

Vector256<sbyte>

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

See Also

YGroup2Zip(Vector256<byte>, Vector256<byte>, out Vector256<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 virtual Vector256<byte> YGroup2Zip(Vector256<byte> x, Vector256<byte> y, out Vector256<byte> data1)

Parameters

x Vector256<byte>

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

y Vector256<byte>

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

data1 Vector256<byte>

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

Returns

Vector256<byte>

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

See Also

YGroup2Zip(Vector256<short>, Vector256<short>, out Vector256<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 virtual Vector256<short> YGroup2Zip(Vector256<short> x, Vector256<short> y, out Vector256<short> data1)

Parameters

x Vector256<short>

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

y Vector256<short>

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

data1 Vector256<short>

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

Returns

Vector256<short>

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

See Also

YGroup2Zip(Vector256<ushort>, Vector256<ushort>, out Vector256<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 virtual Vector256<ushort> YGroup2Zip(Vector256<ushort> x, Vector256<ushort> y, out Vector256<ushort> data1)

Parameters

x Vector256<ushort>

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

y Vector256<ushort>

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

data1 Vector256<ushort>

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

Returns

Vector256<ushort>

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

See Also

YGroup2Zip(Vector256<int>, Vector256<int>, out Vector256<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 virtual Vector256<int> YGroup2Zip(Vector256<int> x, Vector256<int> y, out Vector256<int> data1)

Parameters

x Vector256<int>

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

y Vector256<int>

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

data1 Vector256<int>

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

Returns

Vector256<int>

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

See Also

YGroup2Zip(Vector256<uint>, Vector256<uint>, out Vector256<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 virtual Vector256<uint> YGroup2Zip(Vector256<uint> x, Vector256<uint> y, out Vector256<uint> data1)

Parameters

x Vector256<uint>

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

y Vector256<uint>

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

data1 Vector256<uint>

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

Returns

Vector256<uint>

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

See Also

YGroup2Zip(Vector256<long>, Vector256<long>, out Vector256<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 virtual Vector256<long> YGroup2Zip(Vector256<long> x, Vector256<long> y, out Vector256<long> data1)

Parameters

x Vector256<long>

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

y Vector256<long>

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

data1 Vector256<long>

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

Returns

Vector256<long>

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

See Also

YGroup2Zip(Vector256<ulong>, Vector256<ulong>, out Vector256<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 virtual Vector256<ulong> YGroup2Zip(Vector256<ulong> x, Vector256<ulong> y, out Vector256<ulong> data1)

Parameters

x Vector256<ulong>

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

y Vector256<ulong>

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

data1 Vector256<ulong>

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

Returns

Vector256<ulong>

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

See Also

YGroup2Zip(Vector256<ExInt128>, Vector256<ExInt128>, out Vector256<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 virtual Vector256<ExInt128> YGroup2Zip(Vector256<ExInt128> x, Vector256<ExInt128> y, out Vector256<ExInt128> data1)

Parameters

x Vector256<ExInt128>

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

y Vector256<ExInt128>

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

data1 Vector256<ExInt128>

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

Returns

Vector256<ExInt128>

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

See Also

YGroup2Zip(Vector256<ExUInt128>, Vector256<ExUInt128>, out Vector256<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 virtual Vector256<ExUInt128> YGroup2Zip(Vector256<ExUInt128> x, Vector256<ExUInt128> y, out Vector256<ExUInt128> data1)

Parameters

x Vector256<ExUInt128>

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

y Vector256<ExUInt128>

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

data1 Vector256<ExUInt128>

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

Returns

Vector256<ExUInt128>

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

See Also