Table of Contents

Method YGroup3Zip

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup3Zip(Vector512<float>, Vector512<float>, Vector512<float>, out Vector512<float>, out Vector512<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.

Vector512<float> YGroup3Zip(Vector512<float> x, Vector512<float> y, Vector512<float> z, out Vector512<float> data1, out Vector512<float> data2)

Parameters

x Vector512<float>

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

y Vector512<float>

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

z Vector512<float>

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

data1 Vector512<float>

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

data2 Vector512<float>

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

Returns

Vector512<float>

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

YGroup3Zip(Vector512<double>, Vector512<double>, Vector512<double>, out Vector512<double>, out Vector512<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.

Vector512<double> YGroup3Zip(Vector512<double> x, Vector512<double> y, Vector512<double> z, out Vector512<double> data1, out Vector512<double> data2)

Parameters

x Vector512<double>

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

y Vector512<double>

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

z Vector512<double>

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

data1 Vector512<double>

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

data2 Vector512<double>

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

Returns

Vector512<double>

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

YGroup3Zip(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, out Vector512<sbyte>, out Vector512<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.

Vector512<sbyte> YGroup3Zip(Vector512<sbyte> x, Vector512<sbyte> y, Vector512<sbyte> z, out Vector512<sbyte> data1, out Vector512<sbyte> data2)

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分量所组成的向量).

data1 Vector512<sbyte>

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

data2 Vector512<sbyte>

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

Returns

Vector512<sbyte>

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

YGroup3Zip(Vector512<byte>, Vector512<byte>, Vector512<byte>, out Vector512<byte>, out Vector512<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.

Vector512<byte> YGroup3Zip(Vector512<byte> x, Vector512<byte> y, Vector512<byte> z, out Vector512<byte> data1, out Vector512<byte> data2)

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分量所组成的向量).

data1 Vector512<byte>

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

data2 Vector512<byte>

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

Returns

Vector512<byte>

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

YGroup3Zip(Vector512<short>, Vector512<short>, Vector512<short>, out Vector512<short>, out Vector512<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.

Vector512<short> YGroup3Zip(Vector512<short> x, Vector512<short> y, Vector512<short> z, out Vector512<short> data1, out Vector512<short> data2)

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分量所组成的向量).

data1 Vector512<short>

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

data2 Vector512<short>

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

Returns

Vector512<short>

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

YGroup3Zip(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, out Vector512<ushort>, out Vector512<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.

Vector512<ushort> YGroup3Zip(Vector512<ushort> x, Vector512<ushort> y, Vector512<ushort> z, out Vector512<ushort> data1, out Vector512<ushort> data2)

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分量所组成的向量).

data1 Vector512<ushort>

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

data2 Vector512<ushort>

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

Returns

Vector512<ushort>

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

YGroup3Zip(Vector512<int>, Vector512<int>, Vector512<int>, out Vector512<int>, out Vector512<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.

Vector512<int> YGroup3Zip(Vector512<int> x, Vector512<int> y, Vector512<int> z, out Vector512<int> data1, out Vector512<int> data2)

Parameters

x Vector512<int>

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

y Vector512<int>

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

z Vector512<int>

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

data1 Vector512<int>

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

data2 Vector512<int>

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

Returns

Vector512<int>

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

YGroup3Zip(Vector512<uint>, Vector512<uint>, Vector512<uint>, out Vector512<uint>, out Vector512<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.

Vector512<uint> YGroup3Zip(Vector512<uint> x, Vector512<uint> y, Vector512<uint> z, out Vector512<uint> data1, out Vector512<uint> data2)

Parameters

x Vector512<uint>

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

y Vector512<uint>

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

z Vector512<uint>

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

data1 Vector512<uint>

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

data2 Vector512<uint>

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

Returns

Vector512<uint>

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

YGroup3Zip(Vector512<long>, Vector512<long>, Vector512<long>, out Vector512<long>, out Vector512<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.

Vector512<long> YGroup3Zip(Vector512<long> x, Vector512<long> y, Vector512<long> z, out Vector512<long> data1, out Vector512<long> data2)

Parameters

x Vector512<long>

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

y Vector512<long>

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

z Vector512<long>

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

data1 Vector512<long>

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

data2 Vector512<long>

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

Returns

Vector512<long>

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

YGroup3Zip(Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, out Vector512<ulong>, out Vector512<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.

Vector512<ulong> YGroup3Zip(Vector512<ulong> x, Vector512<ulong> y, Vector512<ulong> z, out Vector512<ulong> data1, out Vector512<ulong> data2)

Parameters

x Vector512<ulong>

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

y Vector512<ulong>

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

z Vector512<ulong>

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

data1 Vector512<ulong>

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

data2 Vector512<ulong>

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

Returns

Vector512<ulong>

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