Table of Contents

Method YGroup4Unzip

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup4Unzip(IVectorTraits, Vector<Int128>, Vector<Int128>, Vector<Int128>, Vector<Int128>, out Vector<Int128>, out Vector<Int128>, out Vector<Int128>)

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<Int128> YGroup4Unzip(this IVectorTraits athis, Vector<Int128> data0, Vector<Int128> data1, Vector<Int128> data2, Vector<Int128> data3, out Vector<Int128> y, out Vector<Int128> z, out Vector<Int128> w)

Parameters

athis IVectorTraits
data0 Vector<Int128>

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

data1 Vector<Int128>

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

data2 Vector<Int128>

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

data3 Vector<Int128>

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

y Vector<Int128>

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

z Vector<Int128>

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

w Vector<Int128>

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

Returns

Vector<Int128>

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

See Also

YGroup4Unzip(IVectorTraits, Vector<UInt128>, Vector<UInt128>, Vector<UInt128>, Vector<UInt128>, out Vector<UInt128>, out Vector<UInt128>, out Vector<UInt128>)

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<UInt128> YGroup4Unzip(this IVectorTraits athis, Vector<UInt128> data0, Vector<UInt128> data1, Vector<UInt128> data2, Vector<UInt128> data3, out Vector<UInt128> y, out Vector<UInt128> z, out Vector<UInt128> w)

Parameters

athis IVectorTraits
data0 Vector<UInt128>

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

data1 Vector<UInt128>

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

data2 Vector<UInt128>

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

data3 Vector<UInt128>

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

y Vector<UInt128>

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

z Vector<UInt128>

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

w Vector<UInt128>

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

Returns

Vector<UInt128>

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

See Also

YGroup4Unzip<T>(IVectorTraits, Vector<T>, Vector<T>, Vector<T>, Vector<T>)

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)]
[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, Vector<T> Z, Vector<T> W) YGroup4Unzip<T>(this IVectorTraits athis, Vector<T> data0, Vector<T> data1, Vector<T> data2, Vector<T> data3) where T : struct

Parameters

athis IVectorTraits
data0 Vector<T>

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

data1 Vector<T>

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

data2 Vector<T>

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

data3 Vector<T>

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

Returns

(Vector<T> Result0, Vector<T> Result1, Vector<T> Result2, Vector<T> Result3)

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

Type Parameters

T

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

See Also

YGroup4Unzip(IVectorTraits, Vector<float>, Vector<float>, Vector<float>, Vector<float>)

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<float> X, Vector<float> Y, Vector<float> Z, Vector<float> W) YGroup4Unzip(this IVectorTraits athis, Vector<float> data0, Vector<float> data1, Vector<float> data2, Vector<float> data3)

Parameters

athis IVectorTraits
data0 Vector<float>

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

data1 Vector<float>

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

data2 Vector<float>

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

data3 Vector<float>

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

Returns

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

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

See Also

YGroup4Unzip(IVectorTraits, Vector<double>, Vector<double>, Vector<double>, 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).

[CLSCompliant(false)]
public static (Vector<double> X, Vector<double> Y, Vector<double> Z, Vector<double> W) YGroup4Unzip(this IVectorTraits athis, Vector<double> data0, Vector<double> data1, Vector<double> data2, Vector<double> data3)

Parameters

athis IVectorTraits
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部分).

Returns

(Vector<double> Result0, Vector<double> Result1, Vector<double> Result2, Vector<double> Result3)

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

See Also

YGroup4Unzip(IVectorTraits, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>)

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<sbyte> X, Vector<sbyte> Y, Vector<sbyte> Z, Vector<sbyte> W) YGroup4Unzip(this IVectorTraits athis, Vector<sbyte> data0, Vector<sbyte> data1, Vector<sbyte> data2, Vector<sbyte> data3)

Parameters

athis IVectorTraits
data0 Vector<sbyte>

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

data1 Vector<sbyte>

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

data2 Vector<sbyte>

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

data3 Vector<sbyte>

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

Returns

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

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

See Also

YGroup4Unzip(IVectorTraits, Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>)

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<byte> X, Vector<byte> Y, Vector<byte> Z, Vector<byte> W) YGroup4Unzip(this IVectorTraits athis, Vector<byte> data0, Vector<byte> data1, Vector<byte> data2, Vector<byte> data3)

Parameters

athis IVectorTraits
data0 Vector<byte>

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

data1 Vector<byte>

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

data2 Vector<byte>

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

data3 Vector<byte>

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

Returns

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

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

See Also

YGroup4Unzip(IVectorTraits, Vector<short>, Vector<short>, Vector<short>, Vector<short>)

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<short> X, Vector<short> Y, Vector<short> Z, Vector<short> W) YGroup4Unzip(this IVectorTraits athis, Vector<short> data0, Vector<short> data1, Vector<short> data2, Vector<short> data3)

Parameters

athis IVectorTraits
data0 Vector<short>

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

data1 Vector<short>

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

data2 Vector<short>

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

data3 Vector<short>

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

Returns

(Vector<short> args0, Vector<short> args1, Vector<short> args2, Vector<short> args3)

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

See Also

YGroup4Unzip(IVectorTraits, Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>)

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<ushort> X, Vector<ushort> Y, Vector<ushort> Z, Vector<ushort> W) YGroup4Unzip(this IVectorTraits athis, Vector<ushort> data0, Vector<ushort> data1, Vector<ushort> data2, Vector<ushort> data3)

Parameters

athis IVectorTraits
data0 Vector<ushort>

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

data1 Vector<ushort>

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

data2 Vector<ushort>

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

data3 Vector<ushort>

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

Returns

(Vector<ushort> args0, Vector<ushort> args1, Vector<ushort> args2, Vector<ushort> args3)

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

See Also

YGroup4Unzip(IVectorTraits, Vector<int>, Vector<int>, Vector<int>, Vector<int>)

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<int> X, Vector<int> Y, Vector<int> Z, Vector<int> W) YGroup4Unzip(this IVectorTraits athis, Vector<int> data0, Vector<int> data1, Vector<int> data2, Vector<int> data3)

Parameters

athis IVectorTraits
data0 Vector<int>

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

data1 Vector<int>

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

data2 Vector<int>

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

data3 Vector<int>

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

Returns

(Vector<int> args0, Vector<int> args1, Vector<int> args2, Vector<int> args3)

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

See Also

YGroup4Unzip(IVectorTraits, Vector<uint>, Vector<uint>, Vector<uint>, Vector<uint>)

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<uint> X, Vector<uint> Y, Vector<uint> Z, Vector<uint> W) YGroup4Unzip(this IVectorTraits athis, Vector<uint> data0, Vector<uint> data1, Vector<uint> data2, Vector<uint> data3)

Parameters

athis IVectorTraits
data0 Vector<uint>

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

data1 Vector<uint>

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

data2 Vector<uint>

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

data3 Vector<uint>

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

Returns

(Vector<uint> args0, Vector<uint> args1, Vector<uint> args2, Vector<uint> args3)

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

See Also

YGroup4Unzip(IVectorTraits, Vector<long>, Vector<long>, Vector<long>, 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).

[CLSCompliant(false)]
public static (Vector<long> X, Vector<long> Y, Vector<long> Z, Vector<long> W) YGroup4Unzip(this IVectorTraits athis, Vector<long> data0, Vector<long> data1, Vector<long> data2, Vector<long> data3)

Parameters

athis IVectorTraits
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部分).

Returns

(Vector<long> args0, Vector<long> args1, Vector<long> args2, Vector<long> args3)

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

See Also

YGroup4Unzip(IVectorTraits, Vector<ulong>, Vector<ulong>, Vector<ulong>, 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> X, Vector<ulong> Y, Vector<ulong> Z, Vector<ulong> W) YGroup4Unzip(this IVectorTraits athis, Vector<ulong> data0, Vector<ulong> data1, Vector<ulong> data2, Vector<ulong> data3)

Parameters

athis IVectorTraits
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部分).

Returns

(Vector<ulong> args0, Vector<ulong> args1, Vector<ulong> args2, Vector<ulong> args3)

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

See Also

YGroup4Unzip(IVectorTraits, Vector<ExInt128>, Vector<ExInt128>, Vector<ExInt128>, 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).

[CLSCompliant(false)]
public static (Vector<ExInt128> X, Vector<ExInt128> Y, Vector<ExInt128> Z, Vector<ExInt128> W) YGroup4Unzip(this IVectorTraits athis, Vector<ExInt128> data0, Vector<ExInt128> data1, Vector<ExInt128> data2, Vector<ExInt128> data3)

Parameters

athis IVectorTraits
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部分).

Returns

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

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

See Also

YGroup4Unzip(IVectorTraits, Vector<ExUInt128>, Vector<ExUInt128>, Vector<ExUInt128>, 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> X, Vector<ExUInt128> Y, Vector<ExUInt128> Z, Vector<ExUInt128> W) YGroup4Unzip(this IVectorTraits athis, Vector<ExUInt128> data0, Vector<ExUInt128> data1, Vector<ExUInt128> data2, Vector<ExUInt128> data3)

Parameters

athis IVectorTraits
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部分).

Returns

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

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

See Also

YGroup4Unzip(IVectorTraits, Vector<Int128>, Vector<Int128>, Vector<Int128>, Vector<Int128>)

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<Int128> X, Vector<Int128> Y, Vector<Int128> Z, Vector<Int128> W) YGroup4Unzip(this IVectorTraits athis, Vector<Int128> data0, Vector<Int128> data1, Vector<Int128> data2, Vector<Int128> data3)

Parameters

athis IVectorTraits
data0 Vector<Int128>

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

data1 Vector<Int128>

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

data2 Vector<Int128>

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

data3 Vector<Int128>

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

Returns

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

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

See Also

YGroup4Unzip(IVectorTraits, Vector<UInt128>, Vector<UInt128>, Vector<UInt128>, Vector<UInt128>)

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<UInt128> X, Vector<UInt128> Y, Vector<UInt128> Z, Vector<UInt128> W) YGroup4Unzip(this IVectorTraits athis, Vector<UInt128> data0, Vector<UInt128> data1, Vector<UInt128> data2, Vector<UInt128> data3)

Parameters

athis IVectorTraits
data0 Vector<UInt128>

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

data1 Vector<UInt128>

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

data2 Vector<UInt128>

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

data3 Vector<UInt128>

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

Returns

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

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

See Also