Table of Contents

Method YGroup2Unzip

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YGroup2Unzip(Vector<Int128>, Vector<Int128>, out Vector<Int128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<Int128> YGroup2Unzip(Vector<Int128> data0, Vector<Int128> data1, out Vector<Int128> y)

Parameters

data0 Vector<Int128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<Int128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<Int128>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<Int128>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<UInt128>, Vector<UInt128>, out Vector<UInt128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static Vector<UInt128> YGroup2Unzip(Vector<UInt128> data0, Vector<UInt128> data1, out Vector<UInt128> y)

Parameters

data0 Vector<UInt128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<UInt128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<UInt128>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<UInt128>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip<T>(Vector<T>, Vector<T>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[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> X, Vector<T> Y) YGroup2Unzip<T>(Vector<T> data0, Vector<T> data1) where T : struct

Parameters

data0 Vector<T>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<T>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

Type Parameters

T

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

YGroup2Unzip(Vector<float>, Vector<float>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<float> X, Vector<float> Y) YGroup2Unzip(Vector<float> data0, Vector<float> data1)

Parameters

data0 Vector<float>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<float>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<double>, Vector<double>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<double> X, Vector<double> Y) YGroup2Unzip(Vector<double> data0, Vector<double> data1)

Parameters

data0 Vector<double>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<double>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<sbyte>, Vector<sbyte>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static (Vector<sbyte> X, Vector<sbyte> Y) YGroup2Unzip(Vector<sbyte> data0, Vector<sbyte> data1)

Parameters

data0 Vector<sbyte>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<sbyte>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<byte>, Vector<byte>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<byte> X, Vector<byte> Y) YGroup2Unzip(Vector<byte> data0, Vector<byte> data1)

Parameters

data0 Vector<byte>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<byte>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<short>, Vector<short>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<short> X, Vector<short> Y) YGroup2Unzip(Vector<short> data0, Vector<short> data1)

Parameters

data0 Vector<short>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<short>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<ushort>, Vector<ushort>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static (Vector<ushort> X, Vector<ushort> Y) YGroup2Unzip(Vector<ushort> data0, Vector<ushort> data1)

Parameters

data0 Vector<ushort>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ushort>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<int>, Vector<int>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<int> X, Vector<int> Y) YGroup2Unzip(Vector<int> data0, Vector<int> data1)

Parameters

data0 Vector<int>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<int>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<uint>, Vector<uint>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static (Vector<uint> X, Vector<uint> Y) YGroup2Unzip(Vector<uint> data0, Vector<uint> data1)

Parameters

data0 Vector<uint>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<uint>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<long>, Vector<long>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<long> X, Vector<long> Y) YGroup2Unzip(Vector<long> data0, Vector<long> data1)

Parameters

data0 Vector<long>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<long>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<ulong>, Vector<ulong>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static (Vector<ulong> X, Vector<ulong> Y) YGroup2Unzip(Vector<ulong> data0, Vector<ulong> data1)

Parameters

data0 Vector<ulong>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ulong>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<ExInt128>, Vector<ExInt128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<ExInt128> X, Vector<ExInt128> Y) YGroup2Unzip(Vector<ExInt128> data0, Vector<ExInt128> data1)

Parameters

data0 Vector<ExInt128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ExInt128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<ExUInt128>, Vector<ExUInt128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static (Vector<ExUInt128> X, Vector<ExUInt128> Y) YGroup2Unzip(Vector<ExUInt128> data0, Vector<ExUInt128> data1)

Parameters

data0 Vector<ExUInt128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ExUInt128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<Int128>, Vector<Int128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static (Vector<Int128> X, Vector<Int128> Y) YGroup2Unzip(Vector<Int128> data0, Vector<Int128> data1)

Parameters

data0 Vector<Int128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<Int128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<UInt128>, Vector<UInt128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static (Vector<UInt128> X, Vector<UInt128> Y) YGroup2Unzip(Vector<UInt128> data0, Vector<UInt128> data1)

Parameters

data0 Vector<UInt128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<UInt128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

Returns

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

Returns the de-interleaved data. They are the X,Y vectors (返回解交织后数据. 它们分别是 X,Y 向量).

YGroup2Unzip(Vector<float>, Vector<float>, out Vector<float>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<float> YGroup2Unzip(Vector<float> data0, Vector<float> data1, out Vector<float> y)

Parameters

data0 Vector<float>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<float>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<float>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<float>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<double>, Vector<double>, out Vector<double>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<double> YGroup2Unzip(Vector<double> data0, Vector<double> data1, out Vector<double> y)

Parameters

data0 Vector<double>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<double>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<double>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<double>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static Vector<sbyte> YGroup2Unzip(Vector<sbyte> data0, Vector<sbyte> data1, out Vector<sbyte> y)

Parameters

data0 Vector<sbyte>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<sbyte>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<sbyte>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<sbyte>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<byte>, Vector<byte>, out Vector<byte>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<byte> YGroup2Unzip(Vector<byte> data0, Vector<byte> data1, out Vector<byte> y)

Parameters

data0 Vector<byte>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<byte>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<byte>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<byte>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<short>, Vector<short>, out Vector<short>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<short> YGroup2Unzip(Vector<short> data0, Vector<short> data1, out Vector<short> y)

Parameters

data0 Vector<short>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<short>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<short>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<short>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<ushort>, Vector<ushort>, out Vector<ushort>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static Vector<ushort> YGroup2Unzip(Vector<ushort> data0, Vector<ushort> data1, out Vector<ushort> y)

Parameters

data0 Vector<ushort>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ushort>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<ushort>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<ushort>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<int>, Vector<int>, out Vector<int>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<int> YGroup2Unzip(Vector<int> data0, Vector<int> data1, out Vector<int> y)

Parameters

data0 Vector<int>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<int>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<int>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<int>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<uint>, Vector<uint>, out Vector<uint>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static Vector<uint> YGroup2Unzip(Vector<uint> data0, Vector<uint> data1, out Vector<uint> y)

Parameters

data0 Vector<uint>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<uint>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<uint>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<uint>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<long>, Vector<long>, out Vector<long>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<long> YGroup2Unzip(Vector<long> data0, Vector<long> data1, out Vector<long> y)

Parameters

data0 Vector<long>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<long>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<long>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<long>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<ulong>, Vector<ulong>, out Vector<ulong>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static Vector<ulong> YGroup2Unzip(Vector<ulong> data0, Vector<ulong> data1, out Vector<ulong> y)

Parameters

data0 Vector<ulong>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ulong>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<ulong>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<ulong>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<ExInt128>, Vector<ExInt128>, out Vector<ExInt128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

public static Vector<ExInt128> YGroup2Unzip(Vector<ExInt128> data0, Vector<ExInt128> data1, out Vector<ExInt128> y)

Parameters

data0 Vector<ExInt128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ExInt128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<ExInt128>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<ExInt128>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup2Unzip(Vector<ExUInt128>, Vector<ExUInt128>, out Vector<ExUInt128>)

De-Interleave 2-element groups into 2 vectors. It converts the 2-element groups AoS to SoA (将2-元素组解交织为2个向量. 它能将2元素组的 数组结构体 转为 结构体数组). Mnemonic: x[i] =: element_ref(2i, data0, data1), y[i] =: element_ref(2i+1, data0, data1).

[CLSCompliant(false)]
public static Vector<ExUInt128> YGroup2Unzip(Vector<ExUInt128> data0, Vector<ExUInt128> data1, out Vector<ExUInt128> y)

Parameters

data0 Vector<ExUInt128>

A vector made of 2-element groups - Part 0 (由2元素组所组成的向量 - 第0部分).

data1 Vector<ExUInt128>

A vector made of 2-element groups - Part 1 (由2元素组所组成的向量 - 第1部分).

y Vector<ExUInt128>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

Returns

Vector<ExUInt128>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also