Method YGroup4Zip
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YGroup4Zip(Vector<double>, Vector<double>, Vector<double>, Vector<double>, out Vector<double>, out Vector<double>, out Vector<double>)
Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据).
Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) )
, i2 := i/4
.
public static Vector<double> YGroup4Zip(Vector<double> x, Vector<double> y, Vector<double> z, Vector<double> w, out Vector<double> data1, out Vector<double> data2, out Vector<double> data3)
Parameters
x
Vector<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<double>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<double>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<double>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<double>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<double>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip(Vector<long>, Vector<long>, Vector<long>, Vector<long>, out Vector<long>, out Vector<long>, out Vector<long>)
Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据).
Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) )
, i2 := i/4
.
public static Vector<long> YGroup4Zip(Vector<long> x, Vector<long> y, Vector<long> z, Vector<long> w, out Vector<long> data1, out Vector<long> data2, out Vector<long> data3)
Parameters
x
Vector<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<long>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<long>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<long>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<long>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<long>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip(Vector<ulong>, Vector<ulong>, Vector<ulong>, Vector<ulong>, out Vector<ulong>, out Vector<ulong>, out Vector<ulong>)
Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据).
Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) )
, i2 := i/4
.
[CLSCompliant(false)]
public static Vector<ulong> YGroup4Zip(Vector<ulong> x, Vector<ulong> y, Vector<ulong> z, Vector<ulong> w, out Vector<ulong> data1, out Vector<ulong> data2, out Vector<ulong> data3)
Parameters
x
Vector<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<ulong>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<ulong>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<ulong>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<ulong>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<ulong>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip(Vector<ExInt128>, Vector<ExInt128>, Vector<ExInt128>, Vector<ExInt128>, out Vector<ExInt128>, out Vector<ExInt128>, out Vector<ExInt128>)
Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据).
Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) )
, i2 := i/4
.
public static Vector<ExInt128> YGroup4Zip(Vector<ExInt128> x, Vector<ExInt128> y, Vector<ExInt128> z, Vector<ExInt128> w, out Vector<ExInt128> data1, out Vector<ExInt128> data2, out Vector<ExInt128> data3)
Parameters
x
Vector<ExInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ExInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<ExInt128>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<ExInt128>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<ExInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<ExInt128>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<ExInt128>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip(Vector<ExUInt128>, Vector<ExUInt128>, Vector<ExUInt128>, Vector<ExUInt128>, out Vector<ExUInt128>, out Vector<ExUInt128>, out Vector<ExUInt128>)
Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据).
Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) )
, i2 := i/4
.
[CLSCompliant(false)]
public static Vector<ExUInt128> YGroup4Zip(Vector<ExUInt128> x, Vector<ExUInt128> y, Vector<ExUInt128> z, Vector<ExUInt128> w, out Vector<ExUInt128> data1, out Vector<ExUInt128> data2, out Vector<ExUInt128> data3)
Parameters
x
Vector<ExUInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ExUInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<ExUInt128>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<ExUInt128>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<ExUInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<ExUInt128>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<ExUInt128>Returns part 3 of the interleaved data (返回交织后数据的第3部分).