Method YGroup4Zip_Basic
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YGroup4Zip_Basic(Vector<float>, Vector<float>, Vector<float>, Vector<float>, out Vector<float>, out Vector<float>, out Vector<float>)
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<float> YGroup4Zip_Basic(Vector<float> x, Vector<float> y, Vector<float> z, Vector<float> w, out Vector<float> data1, out Vector<float> data2, out Vector<float> data3)
Parameters
xVector<float>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<float>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<float>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<float>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<float>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<float>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<float>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(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_Basic(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
xVector<double>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<double>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<double>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<double>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<double>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<double>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<double>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<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 Vector<sbyte> YGroup4Zip_Basic(Vector<sbyte> x, Vector<sbyte> y, Vector<sbyte> z, Vector<sbyte> w, out Vector<sbyte> data1, out Vector<sbyte> data2, out Vector<sbyte> data3)
Parameters
xVector<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<sbyte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<sbyte>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<sbyte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<sbyte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<sbyte>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<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 Vector<byte> YGroup4Zip_Basic(Vector<byte> x, Vector<byte> y, Vector<byte> z, Vector<byte> w, out Vector<byte> data1, out Vector<byte> data2, out Vector<byte> data3)
Parameters
xVector<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<byte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<byte>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<byte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<byte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<byte>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(Vector<short>, Vector<short>, Vector<short>, Vector<short>, out Vector<short>, out Vector<short>, out Vector<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 Vector<short> YGroup4Zip_Basic(Vector<short> x, Vector<short> y, Vector<short> z, Vector<short> w, out Vector<short> data1, out Vector<short> data2, out Vector<short> data3)
Parameters
xVector<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<short>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<short>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<short>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<short>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<short>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<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 Vector<ushort> YGroup4Zip_Basic(Vector<ushort> x, Vector<ushort> y, Vector<ushort> z, Vector<ushort> w, out Vector<ushort> data1, out Vector<ushort> data2, out Vector<ushort> data3)
Parameters
xVector<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<ushort>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<ushort>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<ushort>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<ushort>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<ushort>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(Vector<int>, Vector<int>, Vector<int>, Vector<int>, out Vector<int>, out Vector<int>, out Vector<int>)
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<int> YGroup4Zip_Basic(Vector<int> x, Vector<int> y, Vector<int> z, Vector<int> w, out Vector<int> data1, out Vector<int> data2, out Vector<int> data3)
Parameters
xVector<int>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<int>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<int>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<int>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<int>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<int>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<int>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(Vector<uint>, Vector<uint>, Vector<uint>, Vector<uint>, out Vector<uint>, out Vector<uint>, out Vector<uint>)
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<uint> YGroup4Zip_Basic(Vector<uint> x, Vector<uint> y, Vector<uint> z, Vector<uint> w, out Vector<uint> data1, out Vector<uint> data2, out Vector<uint> data3)
Parameters
xVector<uint>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<uint>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<uint>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<uint>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<uint>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<uint>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<uint>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(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_Basic(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
xVector<long>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<long>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<long>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<long>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<long>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<long>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<long>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(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_Basic(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
xVector<ulong>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<ulong>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<ulong>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<ulong>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<ulong>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<ulong>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<ulong>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(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_Basic(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
xVector<ExInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<ExInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<ExInt128>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<ExInt128>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<ExInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<ExInt128>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<ExInt128>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Basic(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_Basic(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
xVector<ExUInt128>A vector consisting purely of X-components (纯由X分量所组成的向量).
yVector<ExUInt128>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
zVector<ExUInt128>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
wVector<ExUInt128>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1Vector<ExUInt128>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2Vector<ExUInt128>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3Vector<ExUInt128>Returns part 3 of the interleaved data (返回交织后数据的第3部分).