Method YGroup3Zip
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup3Zip<T>(Vector128<T>, Vector128<T>, Vector128<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 (Vector128<T> Data0, Vector128<T> Data1, Vector128<T> Data2) YGroup3Zip<T>(Vector128<T> x, Vector128<T> y, Vector128<T> z) where T : struct
Parameters
x
Vector128<T>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<T>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<T>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<T> Result0, Vector128<T> Result1, Vector128<T> Result2)
Returns the interleaved data (返回交织后数据).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
YGroup3Zip(Vector128<float>, Vector128<float>, Vector128<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 (Vector128<float> Data0, Vector128<float> Data1, Vector128<float> Data2) YGroup3Zip(Vector128<float> x, Vector128<float> y, Vector128<float> z)
Parameters
x
Vector128<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<float>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<float> Result0, Vector128<float> Result1, Vector128<float> Result2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<double>, Vector128<double>, Vector128<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 (Vector128<double> Data0, Vector128<double> Data1, Vector128<double> Data2) YGroup3Zip(Vector128<double> x, Vector128<double> y, Vector128<double> z)
Parameters
x
Vector128<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<double>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<double> Result0, Vector128<double> Result1, Vector128<double> Result2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<sbyte>, Vector128<sbyte>, Vector128<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 (Vector128<sbyte> Data0, Vector128<sbyte> Data1, Vector128<sbyte> Data2) YGroup3Zip(Vector128<sbyte> x, Vector128<sbyte> y, Vector128<sbyte> z)
Parameters
x
Vector128<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<sbyte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<sbyte> args0, Vector128<sbyte> args1, Vector128<sbyte> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<byte>, Vector128<byte>, Vector128<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 (Vector128<byte> Data0, Vector128<byte> Data1, Vector128<byte> Data2) YGroup3Zip(Vector128<byte> x, Vector128<byte> y, Vector128<byte> z)
Parameters
x
Vector128<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<byte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<byte> args0, Vector128<byte> args1, Vector128<byte> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<short>, Vector128<short>, Vector128<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 (Vector128<short> Data0, Vector128<short> Data1, Vector128<short> Data2) YGroup3Zip(Vector128<short> x, Vector128<short> y, Vector128<short> z)
Parameters
x
Vector128<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<short>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<short> args0, Vector128<short> args1, Vector128<short> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<ushort>, Vector128<ushort>, Vector128<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 (Vector128<ushort> Data0, Vector128<ushort> Data1, Vector128<ushort> Data2) YGroup3Zip(Vector128<ushort> x, Vector128<ushort> y, Vector128<ushort> z)
Parameters
x
Vector128<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<ushort>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<ushort> args0, Vector128<ushort> args1, Vector128<ushort> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<int>, Vector128<int>, Vector128<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 (Vector128<int> Data0, Vector128<int> Data1, Vector128<int> Data2) YGroup3Zip(Vector128<int> x, Vector128<int> y, Vector128<int> z)
Parameters
x
Vector128<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<int>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<int> args0, Vector128<int> args1, Vector128<int> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<uint>, Vector128<uint>, Vector128<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 (Vector128<uint> Data0, Vector128<uint> Data1, Vector128<uint> Data2) YGroup3Zip(Vector128<uint> x, Vector128<uint> y, Vector128<uint> z)
Parameters
x
Vector128<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<uint>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<uint> args0, Vector128<uint> args1, Vector128<uint> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<long>, Vector128<long>, Vector128<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 (Vector128<long> Data0, Vector128<long> Data1, Vector128<long> Data2) YGroup3Zip(Vector128<long> x, Vector128<long> y, Vector128<long> z)
Parameters
x
Vector128<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<long>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<long> args0, Vector128<long> args1, Vector128<long> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<ulong>, Vector128<ulong>, Vector128<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 (Vector128<ulong> Data0, Vector128<ulong> Data1, Vector128<ulong> Data2) YGroup3Zip(Vector128<ulong> x, Vector128<ulong> y, Vector128<ulong> z)
Parameters
x
Vector128<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<ulong>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
Returns
- (Vector128<ulong> args0, Vector128<ulong> args1, Vector128<ulong> args2)
Returns the interleaved data (返回交织后数据).
YGroup3Zip(Vector128<float>, Vector128<float>, Vector128<float>, out Vector128<float>, out Vector128<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 Vector128<float> YGroup3Zip(Vector128<float> x, Vector128<float> y, Vector128<float> z, out Vector128<float> data1, out Vector128<float> data2)
Parameters
x
Vector128<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<float>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<float>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<float>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<double>, Vector128<double>, Vector128<double>, out Vector128<double>, out Vector128<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 Vector128<double> YGroup3Zip(Vector128<double> x, Vector128<double> y, Vector128<double> z, out Vector128<double> data1, out Vector128<double> data2)
Parameters
x
Vector128<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<double>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<double>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<double>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>, out Vector128<sbyte>, out Vector128<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 Vector128<sbyte> YGroup3Zip(Vector128<sbyte> x, Vector128<sbyte> y, Vector128<sbyte> z, out Vector128<sbyte> data1, out Vector128<sbyte> data2)
Parameters
x
Vector128<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<sbyte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<sbyte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<sbyte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<byte>, Vector128<byte>, Vector128<byte>, out Vector128<byte>, out Vector128<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 Vector128<byte> YGroup3Zip(Vector128<byte> x, Vector128<byte> y, Vector128<byte> z, out Vector128<byte> data1, out Vector128<byte> data2)
Parameters
x
Vector128<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<byte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<byte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<byte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<short>, Vector128<short>, Vector128<short>, out Vector128<short>, out Vector128<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 Vector128<short> YGroup3Zip(Vector128<short> x, Vector128<short> y, Vector128<short> z, out Vector128<short> data1, out Vector128<short> data2)
Parameters
x
Vector128<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<short>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<short>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<short>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<ushort>, Vector128<ushort>, Vector128<ushort>, out Vector128<ushort>, out Vector128<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 Vector128<ushort> YGroup3Zip(Vector128<ushort> x, Vector128<ushort> y, Vector128<ushort> z, out Vector128<ushort> data1, out Vector128<ushort> data2)
Parameters
x
Vector128<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<ushort>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<ushort>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<ushort>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<int>, Vector128<int>, Vector128<int>, out Vector128<int>, out Vector128<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 Vector128<int> YGroup3Zip(Vector128<int> x, Vector128<int> y, Vector128<int> z, out Vector128<int> data1, out Vector128<int> data2)
Parameters
x
Vector128<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<int>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<int>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<int>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<uint>, Vector128<uint>, Vector128<uint>, out Vector128<uint>, out Vector128<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 Vector128<uint> YGroup3Zip(Vector128<uint> x, Vector128<uint> y, Vector128<uint> z, out Vector128<uint> data1, out Vector128<uint> data2)
Parameters
x
Vector128<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<uint>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<uint>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<uint>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<long>, Vector128<long>, Vector128<long>, out Vector128<long>, out Vector128<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 Vector128<long> YGroup3Zip(Vector128<long> x, Vector128<long> y, Vector128<long> z, out Vector128<long> data1, out Vector128<long> data2)
Parameters
x
Vector128<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<long>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<long>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<long>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
Returns
YGroup3Zip(Vector128<ulong>, Vector128<ulong>, Vector128<ulong>, out Vector128<ulong>, out Vector128<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 Vector128<ulong> YGroup3Zip(Vector128<ulong> x, Vector128<ulong> y, Vector128<ulong> z, out Vector128<ulong> data1, out Vector128<ulong> data2)
Parameters
x
Vector128<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector128<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector128<ulong>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
data1
Vector128<ulong>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector128<ulong>Returns part 2 of the interleaved data (返回交织后数据的第2部分).