Method YGroup3Zip
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup3Zip<T>(Vector512<T>, Vector512<T>, Vector512<T>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[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> Data0, Vector512<T> Data1, Vector512<T> Data2) YGroup3Zip<T>(Vector512<T> x, Vector512<T> y, Vector512<T> z) where T : struct
Parameters
x
Vector512<T>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<T>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<T>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<T> Result0, Vector512<T> Result1, Vector512<T> Result2)
Returns the interleaved data (返回交织后数据).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
YGroup3Zip(Vector512<float>, Vector512<float>, Vector512<float>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static (Vector512<float> Data0, Vector512<float> Data1, Vector512<float> Data2) YGroup3Zip(Vector512<float> x, Vector512<float> y, Vector512<float> z)
Parameters
x
Vector512<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<float>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<float> Result0, Vector512<float> Result1, Vector512<float> Result2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<double>, Vector512<double>, Vector512<double>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static (Vector512<double> Data0, Vector512<double> Data1, Vector512<double> Data2) YGroup3Zip(Vector512<double> x, Vector512<double> y, Vector512<double> z)
Parameters
x
Vector512<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<double>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<double> Result0, Vector512<double> Result1, Vector512<double> Result2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static (Vector512<sbyte> Data0, Vector512<sbyte> Data1, Vector512<sbyte> Data2) YGroup3Zip(Vector512<sbyte> x, Vector512<sbyte> y, Vector512<sbyte> z)
Parameters
x
Vector512<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<sbyte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<byte>, Vector512<byte>, Vector512<byte>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static (Vector512<byte> Data0, Vector512<byte> Data1, Vector512<byte> Data2) YGroup3Zip(Vector512<byte> x, Vector512<byte> y, Vector512<byte> z)
Parameters
x
Vector512<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<byte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<short>, Vector512<short>, Vector512<short>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static (Vector512<short> Data0, Vector512<short> Data1, Vector512<short> Data2) YGroup3Zip(Vector512<short> x, Vector512<short> y, Vector512<short> z)
Parameters
x
Vector512<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<short>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<short> args0, Vector512<short> args1, Vector512<short> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static (Vector512<ushort> Data0, Vector512<ushort> Data1, Vector512<ushort> Data2) YGroup3Zip(Vector512<ushort> x, Vector512<ushort> y, Vector512<ushort> z)
Parameters
x
Vector512<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<ushort>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<int>, Vector512<int>, Vector512<int>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static (Vector512<int> Data0, Vector512<int> Data1, Vector512<int> Data2) YGroup3Zip(Vector512<int> x, Vector512<int> y, Vector512<int> z)
Parameters
x
Vector512<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<int>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<uint>, Vector512<uint>, Vector512<uint>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static (Vector512<uint> Data0, Vector512<uint> Data1, Vector512<uint> Data2) YGroup3Zip(Vector512<uint> x, Vector512<uint> y, Vector512<uint> z)
Parameters
x
Vector512<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<uint>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<long>, Vector512<long>, Vector512<long>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static (Vector512<long> Data0, Vector512<long> Data1, Vector512<long> Data2) YGroup3Zip(Vector512<long> x, Vector512<long> y, Vector512<long> z)
Parameters
x
Vector512<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<long>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<ulong>, Vector512<ulong>, Vector512<ulong>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static (Vector512<ulong> Data0, Vector512<ulong> Data1, Vector512<ulong> Data2) YGroup3Zip(Vector512<ulong> x, Vector512<ulong> y, Vector512<ulong> z)
Parameters
x
Vector512<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<ulong>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector512<float>, Vector512<float>, Vector512<float>, out Vector512<float>, out Vector512<float>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static Vector512<float> YGroup3Zip(Vector512<float> x, Vector512<float> y, Vector512<float> z, out Vector512<float> data1, out Vector512<float> data2)
Parameters
x
Vector512<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<float>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<float>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<float>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<double>, Vector512<double>, Vector512<double>, out Vector512<double>, out Vector512<double>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static Vector512<double> YGroup3Zip(Vector512<double> x, Vector512<double> y, Vector512<double> z, out Vector512<double> data1, out Vector512<double> data2)
Parameters
x
Vector512<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<double>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<double>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<double>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, out Vector512<sbyte>, out Vector512<sbyte>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static Vector512<sbyte> YGroup3Zip(Vector512<sbyte> x, Vector512<sbyte> y, Vector512<sbyte> z, out Vector512<sbyte> data1, out Vector512<sbyte> data2)
Parameters
x
Vector512<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<sbyte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<sbyte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<sbyte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<byte>, Vector512<byte>, Vector512<byte>, out Vector512<byte>, out Vector512<byte>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static Vector512<byte> YGroup3Zip(Vector512<byte> x, Vector512<byte> y, Vector512<byte> z, out Vector512<byte> data1, out Vector512<byte> data2)
Parameters
x
Vector512<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<byte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<byte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<byte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<short>, Vector512<short>, Vector512<short>, out Vector512<short>, out Vector512<short>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static Vector512<short> YGroup3Zip(Vector512<short> x, Vector512<short> y, Vector512<short> z, out Vector512<short> data1, out Vector512<short> data2)
Parameters
x
Vector512<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<short>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<short>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<short>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, out Vector512<ushort>, out Vector512<ushort>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static Vector512<ushort> YGroup3Zip(Vector512<ushort> x, Vector512<ushort> y, Vector512<ushort> z, out Vector512<ushort> data1, out Vector512<ushort> data2)
Parameters
x
Vector512<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<ushort>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<ushort>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<ushort>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<int>, Vector512<int>, Vector512<int>, out Vector512<int>, out Vector512<int>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static Vector512<int> YGroup3Zip(Vector512<int> x, Vector512<int> y, Vector512<int> z, out Vector512<int> data1, out Vector512<int> data2)
Parameters
x
Vector512<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<int>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<int>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<int>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<uint>, Vector512<uint>, Vector512<uint>, out Vector512<uint>, out Vector512<uint>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static Vector512<uint> YGroup3Zip(Vector512<uint> x, Vector512<uint> y, Vector512<uint> z, out Vector512<uint> data1, out Vector512<uint> data2)
Parameters
x
Vector512<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<uint>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<uint>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<uint>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<long>, Vector512<long>, Vector512<long>, out Vector512<long>, out Vector512<long>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
public static Vector512<long> YGroup3Zip(Vector512<long> x, Vector512<long> y, Vector512<long> z, out Vector512<long> data1, out Vector512<long> data2)
Parameters
x
Vector512<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<long>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<long>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<long>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, out Vector512<ulong>, out Vector512<ulong>)
Interleave 3 vectors into 3-element groups. It converts the 3-element groups SoA to AoS. It can also interleave R,G,B planar data into packed RGB pixel data (将3个向量交织为3-元素组. 它能将3元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B 平面数据, 交织为 已打包的RGB像素数据).
Mnemonic: element_ref(i, data0, data1, data2) := (0==(i%3))?( x[i2] ):( (1==(i%3))?( y[i2] ):( z[i2] ) )
, i2 := i/3
.
[CLSCompliant(false)]
public static Vector512<ulong> YGroup3Zip(Vector512<ulong> x, Vector512<ulong> y, Vector512<ulong> z, out Vector512<ulong> data1, out Vector512<ulong> data2)
Parameters
x
Vector512<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector512<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector512<ulong>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector512<ulong>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<ulong>Returns part 2 of the interleaved data (返回交织后数据的第2部分).