Method YGroup3Unzip
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YGroup3Unzip<T>(IWVectorTraits512, Vector512<T>, Vector512<T>, Vector512<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 (Vector512<T> X, Vector512<T> Y, Vector512<T> Z) YGroup3Unzip<T>(this IWVectorTraits512 athis, Vector512<T> data0, Vector512<T> data1, Vector512<T> data2) where T : struct
Parameters
athis
IWVectorTraits512data0
Vector512<T>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<T>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<T>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<T> Result0, Vector512<T> Result1, Vector512<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(IWVectorTraits512, Vector512<float>, Vector512<float>, Vector512<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 (Vector512<float> X, Vector512<float> Y, Vector512<float> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<float> data0, Vector512<float> data1, Vector512<float> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<float>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<float>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<float>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<float> Result0, Vector512<float> Result1, Vector512<float> Result2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<double>, Vector512<double>, Vector512<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 (Vector512<double> X, Vector512<double> Y, Vector512<double> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<double> data0, Vector512<double> data1, Vector512<double> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<double>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<double>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<double>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<double> Result0, Vector512<double> Result1, Vector512<double> Result2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<sbyte>, Vector512<sbyte>, Vector512<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 (Vector512<sbyte> X, Vector512<sbyte> Y, Vector512<sbyte> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<sbyte> data0, Vector512<sbyte> data1, Vector512<sbyte> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<sbyte>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<sbyte>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<sbyte>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<byte>, Vector512<byte>, Vector512<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 (Vector512<byte> X, Vector512<byte> Y, Vector512<byte> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<byte> data0, Vector512<byte> data1, Vector512<byte> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<byte>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<byte>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<byte>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<short>, Vector512<short>, Vector512<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 (Vector512<short> X, Vector512<short> Y, Vector512<short> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<short> data0, Vector512<short> data1, Vector512<short> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<short>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<short>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<short>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<short> args0, Vector512<short> args1, Vector512<short> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<ushort>, Vector512<ushort>, Vector512<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 (Vector512<ushort> X, Vector512<ushort> Y, Vector512<ushort> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<ushort> data0, Vector512<ushort> data1, Vector512<ushort> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<ushort>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<ushort>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<ushort>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<int>, Vector512<int>, Vector512<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 (Vector512<int> X, Vector512<int> Y, Vector512<int> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<int> data0, Vector512<int> data1, Vector512<int> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<int>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<int>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<int>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<uint>, Vector512<uint>, Vector512<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 (Vector512<uint> X, Vector512<uint> Y, Vector512<uint> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<uint> data0, Vector512<uint> data1, Vector512<uint> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<uint>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<uint>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<uint>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<long>, Vector512<long>, Vector512<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 (Vector512<long> X, Vector512<long> Y, Vector512<long> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<long> data0, Vector512<long> data1, Vector512<long> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<long>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<long>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<long>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also
YGroup3Unzip(IWVectorTraits512, Vector512<ulong>, Vector512<ulong>, Vector512<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 (Vector512<ulong> X, Vector512<ulong> Y, Vector512<ulong> Z) YGroup3Unzip(this IWVectorTraits512 athis, Vector512<ulong> data0, Vector512<ulong> data1, Vector512<ulong> data2)
Parameters
athis
IWVectorTraits512data0
Vector512<ulong>A vector made of 3-element groups - Part 0 (由3元素组所组成的向量 - 第0部分).
data1
Vector512<ulong>A vector made of 3-element groups - Part 1 (由3元素组所组成的向量 - 第1部分).
data2
Vector512<ulong>A vector made of 3-element groups - Part 2 (由3元素组所组成的向量 - 第2部分).
Returns
- (Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2)
Returns the de-interleaved data. They are the X,Y,Z vectors (返回解交织后数据. 它们分别是 X,Y,Z 向量).
- See Also