Table of Contents

Method YGroup2Unzip_AlignRight

Namespace
Zyl.VectorTraits.Impl.AVector128
Assembly
VectorTraits.dll

YGroup2Unzip_AlignRight(Vector128<double>, Vector128<double>, out Vector128<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 Vector128<double> YGroup2Unzip_AlignRight(Vector128<double> data0, Vector128<double> data1, out Vector128<double> y)

Parameters

data0 Vector128<double>

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

data1 Vector128<double>

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

y Vector128<double>

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

Returns

Vector128<double>

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

See Also

YGroup2Unzip_AlignRight(Vector128<long>, Vector128<long>, out Vector128<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 Vector128<long> YGroup2Unzip_AlignRight(Vector128<long> data0, Vector128<long> data1, out Vector128<long> y)

Parameters

data0 Vector128<long>

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

data1 Vector128<long>

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

y Vector128<long>

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

Returns

Vector128<long>

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

See Also

YGroup2Unzip_AlignRight(Vector128<ulong>, Vector128<ulong>, out Vector128<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 Vector128<ulong> YGroup2Unzip_AlignRight(Vector128<ulong> data0, Vector128<ulong> data1, out Vector128<ulong> y)

Parameters

data0 Vector128<ulong>

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

data1 Vector128<ulong>

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

y Vector128<ulong>

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

Returns

Vector128<ulong>

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

See Also