Table of Contents

Method YGroup4Unzip

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

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

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

public static Vector<double> YGroup4Unzip(Vector<double> data0, Vector<double> data1, Vector<double> data2, Vector<double> data3, out Vector<double> y, out Vector<double> z, out Vector<double> w)

Parameters

data0 Vector<double>

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

data1 Vector<double>

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

data2 Vector<double>

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

data3 Vector<double>

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

y Vector<double>

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

z Vector<double>

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

w Vector<double>

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

Returns

Vector<double>

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

See Also

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

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

public static Vector<long> YGroup4Unzip(Vector<long> data0, Vector<long> data1, Vector<long> data2, Vector<long> data3, out Vector<long> y, out Vector<long> z, out Vector<long> w)

Parameters

data0 Vector<long>

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

data1 Vector<long>

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

data2 Vector<long>

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

data3 Vector<long>

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

y Vector<long>

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

z Vector<long>

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

w Vector<long>

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

Returns

Vector<long>

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

See Also

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

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

[CLSCompliant(false)]
public static Vector<ulong> YGroup4Unzip(Vector<ulong> data0, Vector<ulong> data1, Vector<ulong> data2, Vector<ulong> data3, out Vector<ulong> y, out Vector<ulong> z, out Vector<ulong> w)

Parameters

data0 Vector<ulong>

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

data1 Vector<ulong>

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

data2 Vector<ulong>

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

data3 Vector<ulong>

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

y Vector<ulong>

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

z Vector<ulong>

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

w Vector<ulong>

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

Returns

Vector<ulong>

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

See Also

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

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

public static Vector<ExInt128> YGroup4Unzip(Vector<ExInt128> data0, Vector<ExInt128> data1, Vector<ExInt128> data2, Vector<ExInt128> data3, out Vector<ExInt128> y, out Vector<ExInt128> z, out Vector<ExInt128> w)

Parameters

data0 Vector<ExInt128>

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

data1 Vector<ExInt128>

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

data2 Vector<ExInt128>

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

data3 Vector<ExInt128>

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

y Vector<ExInt128>

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

z Vector<ExInt128>

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

w Vector<ExInt128>

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

Returns

Vector<ExInt128>

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

See Also

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

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

[CLSCompliant(false)]
public static Vector<ExUInt128> YGroup4Unzip(Vector<ExUInt128> data0, Vector<ExUInt128> data1, Vector<ExUInt128> data2, Vector<ExUInt128> data3, out Vector<ExUInt128> y, out Vector<ExUInt128> z, out Vector<ExUInt128> w)

Parameters

data0 Vector<ExUInt128>

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

data1 Vector<ExUInt128>

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

data2 Vector<ExUInt128>

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

data3 Vector<ExUInt128>

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

y Vector<ExUInt128>

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

z Vector<ExUInt128>

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

w Vector<ExUInt128>

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

Returns

Vector<ExUInt128>

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

See Also