Table of Contents

Method YGroup2Zip

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

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

Parameters

x Vector<Int128>

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

y Vector<Int128>

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

data1 Vector<Int128>

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

Returns

Vector<Int128>

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

See Also

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

Parameters

x Vector<UInt128>

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

y Vector<UInt128>

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

data1 Vector<UInt128>

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

Returns

Vector<UInt128>

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

See Also

YGroup2Zip<T>(Vector<T>, Vector<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 (Vector<T> Data0, Vector<T> Data1) YGroup2Zip<T>(Vector<T> x, Vector<T> y) where T : struct

Parameters

x Vector<T>

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

y Vector<T>

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

Returns

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

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

Type Parameters

T

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

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

Parameters

x Vector<float>

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

y Vector<float>

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

Returns

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

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

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

Parameters

x Vector<double>

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

y Vector<double>

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

Returns

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

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

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

Parameters

x Vector<sbyte>

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

y Vector<sbyte>

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

Returns

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

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

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

Parameters

x Vector<byte>

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

y Vector<byte>

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

Returns

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

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

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

Parameters

x Vector<short>

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

y Vector<short>

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

Returns

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

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

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

Parameters

x Vector<ushort>

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

y Vector<ushort>

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

Returns

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

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

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

Parameters

x Vector<int>

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

y Vector<int>

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

Returns

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

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

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

Parameters

x Vector<uint>

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

y Vector<uint>

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

Returns

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

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

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

Parameters

x Vector<long>

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

y Vector<long>

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

Returns

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

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

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

Parameters

x Vector<ulong>

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

y Vector<ulong>

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

Returns

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

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

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

Parameters

x Vector<ExInt128>

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

y Vector<ExInt128>

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

Returns

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

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

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

Parameters

x Vector<ExUInt128>

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

y Vector<ExUInt128>

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

Returns

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

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

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

Parameters

x Vector<Int128>

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

y Vector<Int128>

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

Returns

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

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

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

Parameters

x Vector<UInt128>

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

y Vector<UInt128>

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

Returns

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

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

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

Parameters

x Vector<float>

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

y Vector<float>

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

data1 Vector<float>

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

Returns

Vector<float>

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

See Also

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

Parameters

x Vector<double>

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

y Vector<double>

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

data1 Vector<double>

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

Returns

Vector<double>

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

See Also

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

Parameters

x Vector<sbyte>

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

y Vector<sbyte>

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

data1 Vector<sbyte>

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

Returns

Vector<sbyte>

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

See Also

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

Parameters

x Vector<byte>

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

y Vector<byte>

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

data1 Vector<byte>

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

Returns

Vector<byte>

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

See Also

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

Parameters

x Vector<short>

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

y Vector<short>

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

data1 Vector<short>

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

Returns

Vector<short>

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

See Also

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

Parameters

x Vector<ushort>

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

y Vector<ushort>

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

data1 Vector<ushort>

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

Returns

Vector<ushort>

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

See Also

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

Parameters

x Vector<int>

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

y Vector<int>

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

data1 Vector<int>

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

Returns

Vector<int>

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

See Also

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

Parameters

x Vector<uint>

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

y Vector<uint>

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

data1 Vector<uint>

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

Returns

Vector<uint>

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

See Also

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

Parameters

x Vector<long>

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

y Vector<long>

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

data1 Vector<long>

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

Returns

Vector<long>

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

See Also

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

Parameters

x Vector<ulong>

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

y Vector<ulong>

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

data1 Vector<ulong>

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

Returns

Vector<ulong>

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

See Also

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

Parameters

x Vector<ExInt128>

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

y Vector<ExInt128>

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

data1 Vector<ExInt128>

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

Returns

Vector<ExInt128>

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

See Also

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

Parameters

x Vector<ExUInt128>

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

y Vector<ExUInt128>

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

data1 Vector<ExUInt128>

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

Returns

Vector<ExUInt128>

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

See Also