Method YGroup3Unzip
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YGroup3Unzip<T>(IWVectorTraits128, Vector128<T>, Vector128<T>, Vector128<T>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[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 (Vector128<T> X, Vector128<T> Y, Vector128<T> Z) YGroup3Unzip<T>(this IWVectorTraits128 athis, Vector128<T> data0, Vector128<T> data1, Vector128<T> data2) where T : struct
Parameters
athis
IWVectorTraits128data0
Vector128<T>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<T>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<T>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<T> Result0, Vector128<T> Result1, Vector128<T> Result2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<float>, Vector128<float>, Vector128<float>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<float> X, Vector128<float> Y, Vector128<float> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<float> data0, Vector128<float> data1, Vector128<float> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<float>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<float>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<float>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<float> Result0, Vector128<float> Result1, Vector128<float> Result2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<double>, Vector128<double>, Vector128<double>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<double> X, Vector128<double> Y, Vector128<double> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<double> data0, Vector128<double> data1, Vector128<double> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<double>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<double>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<double>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<double> Result0, Vector128<double> Result1, Vector128<double> Result2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<sbyte> X, Vector128<sbyte> Y, Vector128<sbyte> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<sbyte> data0, Vector128<sbyte> data1, Vector128<sbyte> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<sbyte>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<sbyte>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<sbyte>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<sbyte> args0, Vector128<sbyte> args1, Vector128<sbyte> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<byte>, Vector128<byte>, Vector128<byte>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<byte> X, Vector128<byte> Y, Vector128<byte> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<byte> data0, Vector128<byte> data1, Vector128<byte> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<byte>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<byte>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<byte>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<byte> args0, Vector128<byte> args1, Vector128<byte> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<short>, Vector128<short>, Vector128<short>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<short> X, Vector128<short> Y, Vector128<short> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<short> data0, Vector128<short> data1, Vector128<short> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<short>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<short>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<short>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<short> args0, Vector128<short> args1, Vector128<short> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<ushort>, Vector128<ushort>, Vector128<ushort>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<ushort> X, Vector128<ushort> Y, Vector128<ushort> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<ushort> data0, Vector128<ushort> data1, Vector128<ushort> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<ushort>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<ushort>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<ushort>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<ushort> args0, Vector128<ushort> args1, Vector128<ushort> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<int>, Vector128<int>, Vector128<int>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<int> X, Vector128<int> Y, Vector128<int> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<int> data0, Vector128<int> data1, Vector128<int> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<int>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<int>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<int>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<int> args0, Vector128<int> args1, Vector128<int> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<uint>, Vector128<uint>, Vector128<uint>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<uint> X, Vector128<uint> Y, Vector128<uint> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<uint> data0, Vector128<uint> data1, Vector128<uint> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<uint>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<uint>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<uint>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<uint> args0, Vector128<uint> args1, Vector128<uint> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<long>, Vector128<long>, Vector128<long>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<long> X, Vector128<long> Y, Vector128<long> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<long> data0, Vector128<long> data1, Vector128<long> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<long>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<long>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<long>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<long> args0, Vector128<long> args1, Vector128<long> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits128, Vector128<ulong>, Vector128<ulong>, Vector128<ulong>)
De-Interleave 3-element groups into 3 vectors. It converts the 3-element groups AoS to SoA. It can also deinterleave packed RGB pixel data into R,G,B planar data (将3-元素组解交织为3个向量. 它能将3元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGB像素数据, 解交织为 R,G,B 平面数据).
Mnemonic: x[i] =: element_ref(3i, data0, data1, data2)
, y[i] =: element_ref(3i+1, data0, data1, data2)
, z[i] =: element_ref(3*i+2, data0, data1, data2)
.
[CLSCompliant(false)]
public static (Vector128<ulong> X, Vector128<ulong> Y, Vector128<ulong> Z) YGroup3Unzip(this IWVectorTraits128 athis, Vector128<ulong> data0, Vector128<ulong> data1, Vector128<ulong> data2)
Parameters
athis
IWVectorTraits128data0
Vector128<ulong>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector128<ulong>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector128<ulong>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector128<ulong> args0, Vector128<ulong> args1, Vector128<ulong> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also