Method YGroup4Zip_Widen
- Namespace
- Zyl.VectorTraits.Impl.AVector512
- Assembly
- VectorTraits.dll
YGroup4Zip_Widen(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, out Vector512<sbyte>, out Vector512<sbyte>, out Vector512<sbyte>)
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 Vector512<sbyte> YGroup4Zip_Widen(Vector512<sbyte> x, Vector512<sbyte> y, Vector512<sbyte> z, Vector512<sbyte> w, out Vector512<sbyte> data1, out Vector512<sbyte> data2, out Vector512<sbyte> data3)
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分量所组成的向量).
w
Vector512<sbyte>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector512<sbyte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<sbyte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector512<sbyte>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Widen(Vector512<byte>, Vector512<byte>, Vector512<byte>, Vector512<byte>, out Vector512<byte>, out Vector512<byte>, out Vector512<byte>)
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 Vector512<byte> YGroup4Zip_Widen(Vector512<byte> x, Vector512<byte> y, Vector512<byte> z, Vector512<byte> w, out Vector512<byte> data1, out Vector512<byte> data2, out Vector512<byte> data3)
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分量所组成的向量).
w
Vector512<byte>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector512<byte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<byte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector512<byte>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Widen(Vector512<short>, Vector512<short>, Vector512<short>, Vector512<short>, out Vector512<short>, out Vector512<short>, out Vector512<short>)
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 Vector512<short> YGroup4Zip_Widen(Vector512<short> x, Vector512<short> y, Vector512<short> z, Vector512<short> w, out Vector512<short> data1, out Vector512<short> data2, out Vector512<short> data3)
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分量所组成的向量).
w
Vector512<short>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector512<short>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<short>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector512<short>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Widen(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, out Vector512<ushort>, out Vector512<ushort>, out Vector512<ushort>)
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 Vector512<ushort> YGroup4Zip_Widen(Vector512<ushort> x, Vector512<ushort> y, Vector512<ushort> z, Vector512<ushort> w, out Vector512<ushort> data1, out Vector512<ushort> data2, out Vector512<ushort> data3)
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分量所组成的向量).
w
Vector512<ushort>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector512<ushort>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector512<ushort>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector512<ushort>Returns part 3 of the interleaved data (返回交织后数据的第3部分).