Table of Contents

Method YGroup1ToGroup4WithW

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

YGroup1ToGroup4WithW(Vector<float>, Vector<float>, out Vector<float>, out Vector<float>, out Vector<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.

public static Vector<float> YGroup1ToGroup4WithW(Vector<float> x, Vector<float> w, out Vector<float> result1, out Vector<float> result2, out Vector<float> result3)

Parameters

x Vector<float>

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

w Vector<float>

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

result1 Vector<float>

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

result2 Vector<float>

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

result3 Vector<float>

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

Returns

Vector<float>

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

YGroup1ToGroup4WithW(Vector<double>, Vector<double>, out Vector<double>, out Vector<double>, out Vector<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.

public static Vector<double> YGroup1ToGroup4WithW(Vector<double> x, Vector<double> w, out Vector<double> result1, out Vector<double> result2, out Vector<double> result3)

Parameters

x Vector<double>

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

w Vector<double>

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

result1 Vector<double>

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

result2 Vector<double>

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

result3 Vector<double>

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

Returns

Vector<double>

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

YGroup1ToGroup4WithW(Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<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.

[CLSCompliant(false)]
public static Vector<sbyte> YGroup1ToGroup4WithW(Vector<sbyte> x, Vector<sbyte> w, out Vector<sbyte> result1, out Vector<sbyte> result2, out Vector<sbyte> result3)

Parameters

x Vector<sbyte>

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

w Vector<sbyte>

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

result1 Vector<sbyte>

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

result2 Vector<sbyte>

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

result3 Vector<sbyte>

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

Returns

Vector<sbyte>

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

YGroup1ToGroup4WithW(Vector<byte>, Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<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.

public static Vector<byte> YGroup1ToGroup4WithW(Vector<byte> x, Vector<byte> w, out Vector<byte> result1, out Vector<byte> result2, out Vector<byte> result3)

Parameters

x Vector<byte>

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

w Vector<byte>

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

result1 Vector<byte>

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

result2 Vector<byte>

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

result3 Vector<byte>

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

Returns

Vector<byte>

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

YGroup1ToGroup4WithW(Vector<short>, Vector<short>, out Vector<short>, out Vector<short>, out Vector<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.

public static Vector<short> YGroup1ToGroup4WithW(Vector<short> x, Vector<short> w, out Vector<short> result1, out Vector<short> result2, out Vector<short> result3)

Parameters

x Vector<short>

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

w Vector<short>

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

result1 Vector<short>

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

result2 Vector<short>

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

result3 Vector<short>

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

Returns

Vector<short>

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

YGroup1ToGroup4WithW(Vector<ushort>, Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<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.

[CLSCompliant(false)]
public static Vector<ushort> YGroup1ToGroup4WithW(Vector<ushort> x, Vector<ushort> w, out Vector<ushort> result1, out Vector<ushort> result2, out Vector<ushort> result3)

Parameters

x Vector<ushort>

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

w Vector<ushort>

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

result1 Vector<ushort>

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

result2 Vector<ushort>

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

result3 Vector<ushort>

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

Returns

Vector<ushort>

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

YGroup1ToGroup4WithW(Vector<int>, Vector<int>, out Vector<int>, out Vector<int>, out Vector<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.

public static Vector<int> YGroup1ToGroup4WithW(Vector<int> x, Vector<int> w, out Vector<int> result1, out Vector<int> result2, out Vector<int> result3)

Parameters

x Vector<int>

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

w Vector<int>

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

result1 Vector<int>

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

result2 Vector<int>

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

result3 Vector<int>

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

Returns

Vector<int>

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

YGroup1ToGroup4WithW(Vector<uint>, Vector<uint>, out Vector<uint>, out Vector<uint>, out Vector<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.

[CLSCompliant(false)]
public static Vector<uint> YGroup1ToGroup4WithW(Vector<uint> x, Vector<uint> w, out Vector<uint> result1, out Vector<uint> result2, out Vector<uint> result3)

Parameters

x Vector<uint>

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

w Vector<uint>

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

result1 Vector<uint>

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

result2 Vector<uint>

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

result3 Vector<uint>

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

Returns

Vector<uint>

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

YGroup1ToGroup4WithW(Vector<long>, Vector<long>, out Vector<long>, out Vector<long>, out Vector<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.

public static Vector<long> YGroup1ToGroup4WithW(Vector<long> x, Vector<long> w, out Vector<long> result1, out Vector<long> result2, out Vector<long> result3)

Parameters

x Vector<long>

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

w Vector<long>

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

result1 Vector<long>

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

result2 Vector<long>

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

result3 Vector<long>

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

Returns

Vector<long>

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

YGroup1ToGroup4WithW(Vector<ulong>, Vector<ulong>, out Vector<ulong>, out Vector<ulong>, out Vector<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.

[CLSCompliant(false)]
public static Vector<ulong> YGroup1ToGroup4WithW(Vector<ulong> x, Vector<ulong> w, out Vector<ulong> result1, out Vector<ulong> result2, out Vector<ulong> result3)

Parameters

x Vector<ulong>

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

w Vector<ulong>

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

result1 Vector<ulong>

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

result2 Vector<ulong>

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

result3 Vector<ulong>

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

Returns

Vector<ulong>

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