Table of Contents

Method YGroup2Unzip_Narrow

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

YGroup2Unzip_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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_Narrow(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