Table of Contents

Method YGroup2Zip

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YGroup2Zip(Vector256<Int128>, Vector256<Int128>, out Vector256<Int128>)

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

Parameters

x Vector256<Int128>

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

y Vector256<Int128>

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

data1 Vector256<Int128>

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

Returns

Vector256<Int128>

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

See Also

YGroup2Zip(Vector256<UInt128>, Vector256<UInt128>, out Vector256<UInt128>)

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

Parameters

x Vector256<UInt128>

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

y Vector256<UInt128>

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

data1 Vector256<UInt128>

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

Returns

Vector256<UInt128>

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

See Also

YGroup2Zip<T>(Vector256<T>, Vector256<T>)

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.

[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) YGroup2Zip<T>(Vector256<T> x, Vector256<T> y) where T : struct

Parameters

x Vector256<T>

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

y Vector256<T>

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

Returns

(Vector256<T> args0, Vector256<T> args1)

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

Type Parameters

T

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

YGroup2Zip(Vector256<float>, 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 static (Vector256<float> Data0, Vector256<float> Data1) YGroup2Zip(Vector256<float> x, Vector256<float> y)

Parameters

x Vector256<float>

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

y Vector256<float>

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

Returns

(Vector256<float> Result0, Vector256<float> Result1)

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

YGroup2Zip(Vector256<double>, 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 static (Vector256<double> Data0, Vector256<double> Data1) YGroup2Zip(Vector256<double> x, Vector256<double> y)

Parameters

x Vector256<double>

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

y Vector256<double>

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

Returns

(Vector256<double> Lower, Vector256<double> Upper)

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

YGroup2Zip(Vector256<sbyte>, 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 static (Vector256<sbyte> Data0, Vector256<sbyte> Data1) YGroup2Zip(Vector256<sbyte> x, Vector256<sbyte> y)

Parameters

x Vector256<sbyte>

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

y Vector256<sbyte>

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

Returns

(Vector256<sbyte> args0, Vector256<sbyte> args1)

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

YGroup2Zip(Vector256<byte>, 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 static (Vector256<byte> Data0, Vector256<byte> Data1) YGroup2Zip(Vector256<byte> x, Vector256<byte> y)

Parameters

x Vector256<byte>

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

y Vector256<byte>

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

Returns

(Vector256<byte> args0, Vector256<byte> args1)

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

YGroup2Zip(Vector256<short>, 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 static (Vector256<short> Data0, Vector256<short> Data1) YGroup2Zip(Vector256<short> x, Vector256<short> y)

Parameters

x Vector256<short>

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

y Vector256<short>

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

Returns

(Vector256<short> Lower, Vector256<short> Upper)

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

YGroup2Zip(Vector256<ushort>, 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 static (Vector256<ushort> Data0, Vector256<ushort> Data1) YGroup2Zip(Vector256<ushort> x, Vector256<ushort> y)

Parameters

x Vector256<ushort>

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

y Vector256<ushort>

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

Returns

(Vector256<ushort> Lower, Vector256<ushort> Upper)

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

YGroup2Zip(Vector256<int>, 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 static (Vector256<int> Data0, Vector256<int> Data1) YGroup2Zip(Vector256<int> x, Vector256<int> y)

Parameters

x Vector256<int>

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

y Vector256<int>

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

Returns

(Vector256<int> Lower, Vector256<int> Upper)

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

YGroup2Zip(Vector256<uint>, 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 static (Vector256<uint> Data0, Vector256<uint> Data1) YGroup2Zip(Vector256<uint> x, Vector256<uint> y)

Parameters

x Vector256<uint>

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

y Vector256<uint>

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

Returns

(Vector256<uint> Lower, Vector256<uint> Upper)

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

YGroup2Zip(Vector256<long>, 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 static (Vector256<long> Data0, Vector256<long> Data1) YGroup2Zip(Vector256<long> x, Vector256<long> y)

Parameters

x Vector256<long>

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

y Vector256<long>

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

Returns

(Vector256<long> Lower, Vector256<long> Upper)

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

YGroup2Zip(Vector256<ulong>, 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 static (Vector256<ulong> Data0, Vector256<ulong> Data1) YGroup2Zip(Vector256<ulong> x, Vector256<ulong> y)

Parameters

x Vector256<ulong>

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

y Vector256<ulong>

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

Returns

(Vector256<ulong> Lower, Vector256<ulong> Upper)

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

YGroup2Zip(Vector256<ExInt128>, 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 static (Vector256<ExInt128> Data0, Vector256<ExInt128> Data1) YGroup2Zip(Vector256<ExInt128> x, Vector256<ExInt128> y)

Parameters

x Vector256<ExInt128>

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

y Vector256<ExInt128>

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

Returns

(Vector256<ExInt128> X, Vector256<ExInt128> Y)

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

YGroup2Zip(Vector256<ExUInt128>, 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 static (Vector256<ExUInt128> Data0, Vector256<ExUInt128> Data1) YGroup2Zip(Vector256<ExUInt128> x, Vector256<ExUInt128> y)

Parameters

x Vector256<ExUInt128>

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

y Vector256<ExUInt128>

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

Returns

(Vector256<ExUInt128> X, Vector256<ExUInt128> Y)

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

YGroup2Zip(Vector256<Int128>, Vector256<Int128>)

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 static (Vector256<Int128> Data0, Vector256<Int128> Data1) YGroup2Zip(Vector256<Int128> x, Vector256<Int128> y)

Parameters

x Vector256<Int128>

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

y Vector256<Int128>

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

Returns

(Vector256<Int128> X, Vector256<Int128> Y)

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

YGroup2Zip(Vector256<UInt128>, Vector256<UInt128>)

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 static (Vector256<UInt128> Data0, Vector256<UInt128> Data1) YGroup2Zip(Vector256<UInt128> x, Vector256<UInt128> y)

Parameters

x Vector256<UInt128>

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

y Vector256<UInt128>

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

Returns

(Vector256<UInt128> X, Vector256<UInt128> Y)

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

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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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