Table of Contents

Method YGroup4Zip

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup4Zip(Vector256<float>, Vector256<float>, Vector256<float>, Vector256<float>, out Vector256<float>, out Vector256<float>, out Vector256<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.

Vector256<float> YGroup4Zip(Vector256<float> x, Vector256<float> y, Vector256<float> z, Vector256<float> w, out Vector256<float> data1, out Vector256<float> data2, out Vector256<float> data3)

Parameters

x Vector256<float>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<float>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<float>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<float>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<float>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<float>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<float>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<float>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<double>, Vector256<double>, Vector256<double>, Vector256<double>, out Vector256<double>, out Vector256<double>, out Vector256<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.

Vector256<double> YGroup4Zip(Vector256<double> x, Vector256<double> y, Vector256<double> z, Vector256<double> w, out Vector256<double> data1, out Vector256<double> data2, out Vector256<double> data3)

Parameters

x Vector256<double>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<double>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<double>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<double>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<double>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<double>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<double>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<double>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, out Vector256<sbyte>, out Vector256<sbyte>, out Vector256<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.

Vector256<sbyte> YGroup4Zip(Vector256<sbyte> x, Vector256<sbyte> y, Vector256<sbyte> z, Vector256<sbyte> w, out Vector256<sbyte> data1, out Vector256<sbyte> data2, out Vector256<sbyte> data3)

Parameters

x Vector256<sbyte>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<sbyte>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<sbyte>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<sbyte>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<sbyte>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<sbyte>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<sbyte>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<sbyte>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<byte>, out Vector256<byte>, out Vector256<byte>, out Vector256<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.

Vector256<byte> YGroup4Zip(Vector256<byte> x, Vector256<byte> y, Vector256<byte> z, Vector256<byte> w, out Vector256<byte> data1, out Vector256<byte> data2, out Vector256<byte> data3)

Parameters

x Vector256<byte>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<byte>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<byte>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<byte>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<byte>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<byte>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<byte>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<byte>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<short>, Vector256<short>, Vector256<short>, Vector256<short>, out Vector256<short>, out Vector256<short>, out Vector256<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.

Vector256<short> YGroup4Zip(Vector256<short> x, Vector256<short> y, Vector256<short> z, Vector256<short> w, out Vector256<short> data1, out Vector256<short> data2, out Vector256<short> data3)

Parameters

x Vector256<short>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<short>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<short>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<short>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<short>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<short>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<short>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<short>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, out Vector256<ushort>, out Vector256<ushort>, out Vector256<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.

Vector256<ushort> YGroup4Zip(Vector256<ushort> x, Vector256<ushort> y, Vector256<ushort> z, Vector256<ushort> w, out Vector256<ushort> data1, out Vector256<ushort> data2, out Vector256<ushort> data3)

Parameters

x Vector256<ushort>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<ushort>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<ushort>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<ushort>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<ushort>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<ushort>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<ushort>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<ushort>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>, out Vector256<int>, out Vector256<int>, out Vector256<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.

Vector256<int> YGroup4Zip(Vector256<int> x, Vector256<int> y, Vector256<int> z, Vector256<int> w, out Vector256<int> data1, out Vector256<int> data2, out Vector256<int> data3)

Parameters

x Vector256<int>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<int>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<int>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<int>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<int>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<int>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<int>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<int>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<uint>, out Vector256<uint>, out Vector256<uint>, out Vector256<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.

Vector256<uint> YGroup4Zip(Vector256<uint> x, Vector256<uint> y, Vector256<uint> z, Vector256<uint> w, out Vector256<uint> data1, out Vector256<uint> data2, out Vector256<uint> data3)

Parameters

x Vector256<uint>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<uint>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<uint>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<uint>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<uint>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<uint>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<uint>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<uint>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>, out Vector256<long>, out Vector256<long>, out Vector256<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.

Vector256<long> YGroup4Zip(Vector256<long> x, Vector256<long> y, Vector256<long> z, Vector256<long> w, out Vector256<long> data1, out Vector256<long> data2, out Vector256<long> data3)

Parameters

x Vector256<long>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<long>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<long>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<long>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<long>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<long>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<long>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<long>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, out Vector256<ulong>, out Vector256<ulong>, out Vector256<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.

Vector256<ulong> YGroup4Zip(Vector256<ulong> x, Vector256<ulong> y, Vector256<ulong> z, Vector256<ulong> w, out Vector256<ulong> data1, out Vector256<ulong> data2, out Vector256<ulong> data3)

Parameters

x Vector256<ulong>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<ulong>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<ulong>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<ulong>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<ulong>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<ulong>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<ulong>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<ulong>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<ExInt128>, Vector256<ExInt128>, Vector256<ExInt128>, Vector256<ExInt128>, out Vector256<ExInt128>, out Vector256<ExInt128>, out Vector256<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.

Vector256<ExInt128> YGroup4Zip(Vector256<ExInt128> x, Vector256<ExInt128> y, Vector256<ExInt128> z, Vector256<ExInt128> w, out Vector256<ExInt128> data1, out Vector256<ExInt128> data2, out Vector256<ExInt128> data3)

Parameters

x Vector256<ExInt128>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<ExInt128>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<ExInt128>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<ExInt128>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<ExInt128>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<ExInt128>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<ExInt128>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<ExInt128>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip(Vector256<ExUInt128>, Vector256<ExUInt128>, Vector256<ExUInt128>, Vector256<ExUInt128>, out Vector256<ExUInt128>, out Vector256<ExUInt128>, out Vector256<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.

Vector256<ExUInt128> YGroup4Zip(Vector256<ExUInt128> x, Vector256<ExUInt128> y, Vector256<ExUInt128> z, Vector256<ExUInt128> w, out Vector256<ExUInt128> data1, out Vector256<ExUInt128> data2, out Vector256<ExUInt128> data3)

Parameters

x Vector256<ExUInt128>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector256<ExUInt128>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector256<ExUInt128>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector256<ExUInt128>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector256<ExUInt128>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector256<ExUInt128>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector256<ExUInt128>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector256<ExUInt128>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).