Table of Contents

Method YGroup1ToGroup4WithW

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<float> YGroup1ToGroup4WithW(Vector512<float> x, Vector512<float> w, out Vector512<float> result1, out Vector512<float> result2, out Vector512<float> result3)

Parameters

x Vector512<float>

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

w Vector512<float>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<double> YGroup1ToGroup4WithW(Vector512<double> x, Vector512<double> w, out Vector512<double> result1, out Vector512<double> result2, out Vector512<double> result3)

Parameters

x Vector512<double>

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

w Vector512<double>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<sbyte> YGroup1ToGroup4WithW(Vector512<sbyte> x, Vector512<sbyte> w, out Vector512<sbyte> result1, out Vector512<sbyte> result2, out Vector512<sbyte> result3)

Parameters

x Vector512<sbyte>

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

w Vector512<sbyte>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<byte> YGroup1ToGroup4WithW(Vector512<byte> x, Vector512<byte> w, out Vector512<byte> result1, out Vector512<byte> result2, out Vector512<byte> result3)

Parameters

x Vector512<byte>

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

w Vector512<byte>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<short> YGroup1ToGroup4WithW(Vector512<short> x, Vector512<short> w, out Vector512<short> result1, out Vector512<short> result2, out Vector512<short> result3)

Parameters

x Vector512<short>

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

w Vector512<short>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<ushort> YGroup1ToGroup4WithW(Vector512<ushort> x, Vector512<ushort> w, out Vector512<ushort> result1, out Vector512<ushort> result2, out Vector512<ushort> result3)

Parameters

x Vector512<ushort>

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

w Vector512<ushort>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<int> YGroup1ToGroup4WithW(Vector512<int> x, Vector512<int> w, out Vector512<int> result1, out Vector512<int> result2, out Vector512<int> result3)

Parameters

x Vector512<int>

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

w Vector512<int>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<uint> YGroup1ToGroup4WithW(Vector512<uint> x, Vector512<uint> w, out Vector512<uint> result1, out Vector512<uint> result2, out Vector512<uint> result3)

Parameters

x Vector512<uint>

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

w Vector512<uint>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<long> YGroup1ToGroup4WithW(Vector512<long> x, Vector512<long> w, out Vector512<long> result1, out Vector512<long> result2, out Vector512<long> result3)

Parameters

x Vector512<long>

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

w Vector512<long>

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

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 interleaved result (返回交织后数据的第0部分).

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

Convert a 1-element group and w argument, to a 4-element group. It also converts grayscale pixel data to packed RGBA pixel data (将1-元素组及w参数, 转为4-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGBA像素数据). Mnemonic: View for group: (result0, result1, result2, result4) = YGroup4Zip(x, x, x, w). View for element: element_ref(i, result0, result1, result2, result4) := ((i%4)<3)?( x[i2] ):( w[i2] ), i2 := i/4.

Vector512<ulong> YGroup1ToGroup4WithW(Vector512<ulong> x, Vector512<ulong> w, out Vector512<ulong> result1, out Vector512<ulong> result2, out Vector512<ulong> result3)

Parameters

x Vector512<ulong>

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

w Vector512<ulong>

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

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 interleaved result (返回交织后数据的第0部分).