Table of Contents

Method YGroup3ToGroup4

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup3ToGroup4(Vector512<float>, Vector512<float>, Vector512<float>, out Vector512<float>, out Vector512<float>, out Vector512<float>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<float> YGroup3ToGroup4(Vector512<float> data0, Vector512<float> data1, Vector512<float> data2, out Vector512<float> result1, out Vector512<float> result2, out Vector512<float> result3)

Parameters

data0 Vector512<float>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<float>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<float>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<float>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<float>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<float>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<float>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<double>, Vector512<double>, Vector512<double>, out Vector512<double>, out Vector512<double>, out Vector512<double>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<double> YGroup3ToGroup4(Vector512<double> data0, Vector512<double> data1, Vector512<double> data2, out Vector512<double> result1, out Vector512<double> result2, out Vector512<double> result3)

Parameters

data0 Vector512<double>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<double>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<double>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<double>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<double>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<double>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<double>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, out Vector512<sbyte>, out Vector512<sbyte>, out Vector512<sbyte>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<sbyte> YGroup3ToGroup4(Vector512<sbyte> data0, Vector512<sbyte> data1, Vector512<sbyte> data2, out Vector512<sbyte> result1, out Vector512<sbyte> result2, out Vector512<sbyte> result3)

Parameters

data0 Vector512<sbyte>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<sbyte>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<sbyte>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<sbyte>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<sbyte>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<sbyte>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<sbyte>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<byte>, Vector512<byte>, Vector512<byte>, out Vector512<byte>, out Vector512<byte>, out Vector512<byte>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<byte> YGroup3ToGroup4(Vector512<byte> data0, Vector512<byte> data1, Vector512<byte> data2, out Vector512<byte> result1, out Vector512<byte> result2, out Vector512<byte> result3)

Parameters

data0 Vector512<byte>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<byte>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<byte>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<byte>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<byte>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<byte>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<byte>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<short>, Vector512<short>, Vector512<short>, out Vector512<short>, out Vector512<short>, out Vector512<short>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<short> YGroup3ToGroup4(Vector512<short> data0, Vector512<short> data1, Vector512<short> data2, out Vector512<short> result1, out Vector512<short> result2, out Vector512<short> result3)

Parameters

data0 Vector512<short>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<short>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<short>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<short>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<short>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<short>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<short>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, out Vector512<ushort>, out Vector512<ushort>, out Vector512<ushort>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<ushort> YGroup3ToGroup4(Vector512<ushort> data0, Vector512<ushort> data1, Vector512<ushort> data2, out Vector512<ushort> result1, out Vector512<ushort> result2, out Vector512<ushort> result3)

Parameters

data0 Vector512<ushort>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<ushort>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<ushort>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<ushort>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<ushort>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<ushort>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<ushort>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<int>, Vector512<int>, Vector512<int>, out Vector512<int>, out Vector512<int>, out Vector512<int>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<int> YGroup3ToGroup4(Vector512<int> data0, Vector512<int> data1, Vector512<int> data2, out Vector512<int> result1, out Vector512<int> result2, out Vector512<int> result3)

Parameters

data0 Vector512<int>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<int>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<int>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<int>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<int>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<int>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<int>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<uint>, Vector512<uint>, Vector512<uint>, out Vector512<uint>, out Vector512<uint>, out Vector512<uint>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<uint> YGroup3ToGroup4(Vector512<uint> data0, Vector512<uint> data1, Vector512<uint> data2, out Vector512<uint> result1, out Vector512<uint> result2, out Vector512<uint> result3)

Parameters

data0 Vector512<uint>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<uint>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<uint>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<uint>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<uint>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<uint>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<uint>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<long>, Vector512<long>, Vector512<long>, out Vector512<long>, out Vector512<long>, out Vector512<long>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<long> YGroup3ToGroup4(Vector512<long> data0, Vector512<long> data1, Vector512<long> data2, out Vector512<long> result1, out Vector512<long> result2, out Vector512<long> result3)

Parameters

data0 Vector512<long>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<long>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<long>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<long>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<long>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<long>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<long>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup3ToGroup4(Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, out Vector512<ulong>, out Vector512<ulong>, out Vector512<ulong>)

Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero)). View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0.

Vector512<ulong> YGroup3ToGroup4(Vector512<ulong> data0, Vector512<ulong> data1, Vector512<ulong> data2, out Vector512<ulong> result1, out Vector512<ulong> result2, out Vector512<ulong> result3)

Parameters

data0 Vector512<ulong>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector512<ulong>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector512<ulong>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

result1 Vector512<ulong>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector512<ulong>

Returns part 2 of the converted data (返回转换后数据的第2部分).

result3 Vector512<ulong>

Returns part 3 of the converted data (返回转换后数据的第3部分).

Returns

Vector512<ulong>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also