Table of Contents

Method YGroup1ToGroup4

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YGroup1ToGroup4<T>(Vector512<T>)

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

[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector512<T> Result0, Vector512<T> Result1, Vector512<T> Result2, Vector512<T> Result3) YGroup1ToGroup4<T>(Vector512<T> x) where T : struct

Parameters

x Vector512<T>

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

Returns

(Vector512<T> Result0, Vector512<T> Result1, Vector512<T> Result2, Vector512<T> Result3)

Returns the interleaved data (返回交织后数据).

Type Parameters

T

The element type of the input parameter (输入参数的元素类型).

YGroup1ToGroup4(Vector512<float>)

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

public static (Vector512<float> Result0, Vector512<float> Result1, Vector512<float> Result2, Vector512<float> Result3) YGroup1ToGroup4(Vector512<float> x)

Parameters

x Vector512<float>

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

Returns

(Vector512<float> Result0, Vector512<float> Result1, Vector512<float> Result2, Vector512<float> Result3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<double>)

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

public static (Vector512<double> Result0, Vector512<double> Result1, Vector512<double> Result2, Vector512<double> Result3) YGroup1ToGroup4(Vector512<double> x)

Parameters

x Vector512<double>

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

Returns

(Vector512<double> Result0, Vector512<double> Result1, Vector512<double> Result2, Vector512<double> Result3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<sbyte>)

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

[CLSCompliant(false)]
public static (Vector512<sbyte> Result0, Vector512<sbyte> Result1, Vector512<sbyte> Result2, Vector512<sbyte> Result3) YGroup1ToGroup4(Vector512<sbyte> x)

Parameters

x Vector512<sbyte>

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

Returns

(Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2, Vector512<sbyte> args3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<byte>)

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

public static (Vector512<byte> Result0, Vector512<byte> Result1, Vector512<byte> Result2, Vector512<byte> Result3) YGroup1ToGroup4(Vector512<byte> x)

Parameters

x Vector512<byte>

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

Returns

(Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2, Vector512<byte> args3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<short>)

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

public static (Vector512<short> Result0, Vector512<short> Result1, Vector512<short> Result2, Vector512<short> Result3) YGroup1ToGroup4(Vector512<short> x)

Parameters

x Vector512<short>

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

Returns

(Vector512<short> args0, Vector512<short> args1, Vector512<short> args2, Vector512<short> args3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<ushort>)

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

[CLSCompliant(false)]
public static (Vector512<ushort> Result0, Vector512<ushort> Result1, Vector512<ushort> Result2, Vector512<ushort> Result3) YGroup1ToGroup4(Vector512<ushort> x)

Parameters

x Vector512<ushort>

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

Returns

(Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2, Vector512<ushort> args3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<int>)

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

public static (Vector512<int> Result0, Vector512<int> Result1, Vector512<int> Result2, Vector512<int> Result3) YGroup1ToGroup4(Vector512<int> x)

Parameters

x Vector512<int>

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

Returns

(Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<uint>)

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

[CLSCompliant(false)]
public static (Vector512<uint> Result0, Vector512<uint> Result1, Vector512<uint> Result2, Vector512<uint> Result3) YGroup1ToGroup4(Vector512<uint> x)

Parameters

x Vector512<uint>

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

Returns

(Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2, Vector512<uint> args3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<long>)

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

public static (Vector512<long> Result0, Vector512<long> Result1, Vector512<long> Result2, Vector512<long> Result3) YGroup1ToGroup4(Vector512<long> x)

Parameters

x Vector512<long>

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

Returns

(Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3)

Returns the interleaved data (返回交织后数据).

YGroup1ToGroup4(Vector512<ulong>)

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

[CLSCompliant(false)]
public static (Vector512<ulong> Result0, Vector512<ulong> Result1, Vector512<ulong> Result2, Vector512<ulong> Result3) YGroup1ToGroup4(Vector512<ulong> x)

Parameters

x Vector512<ulong>

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

Returns

(Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2, Vector512<ulong> args3)

Returns the interleaved data (返回交织后数据).

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

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

public static Vector512<float> YGroup1ToGroup4(Vector512<float> x, out Vector512<float> result1, out Vector512<float> result2, out Vector512<float> result3)

Parameters

x Vector512<float>

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

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部分).

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

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

public static Vector512<double> YGroup1ToGroup4(Vector512<double> x, out Vector512<double> result1, out Vector512<double> result2, out Vector512<double> result3)

Parameters

x Vector512<double>

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

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部分).

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

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

[CLSCompliant(false)]
public static Vector512<sbyte> YGroup1ToGroup4(Vector512<sbyte> x, out Vector512<sbyte> result1, out Vector512<sbyte> result2, out Vector512<sbyte> result3)

Parameters

x Vector512<sbyte>

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

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部分).

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

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

public static Vector512<byte> YGroup1ToGroup4(Vector512<byte> x, out Vector512<byte> result1, out Vector512<byte> result2, out Vector512<byte> result3)

Parameters

x Vector512<byte>

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

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部分).

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

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

public static Vector512<short> YGroup1ToGroup4(Vector512<short> x, out Vector512<short> result1, out Vector512<short> result2, out Vector512<short> result3)

Parameters

x Vector512<short>

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

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部分).

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

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

[CLSCompliant(false)]
public static Vector512<ushort> YGroup1ToGroup4(Vector512<ushort> x, out Vector512<ushort> result1, out Vector512<ushort> result2, out Vector512<ushort> result3)

Parameters

x Vector512<ushort>

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

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部分).

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

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

public static Vector512<int> YGroup1ToGroup4(Vector512<int> x, out Vector512<int> result1, out Vector512<int> result2, out Vector512<int> result3)

Parameters

x Vector512<int>

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

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部分).

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

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

[CLSCompliant(false)]
public static Vector512<uint> YGroup1ToGroup4(Vector512<uint> x, out Vector512<uint> result1, out Vector512<uint> result2, out Vector512<uint> result3)

Parameters

x Vector512<uint>

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

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部分).

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

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

public static Vector512<long> YGroup1ToGroup4(Vector512<long> x, out Vector512<long> result1, out Vector512<long> result2, out Vector512<long> result3)

Parameters

x Vector512<long>

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

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部分).

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

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

[CLSCompliant(false)]
public static Vector512<ulong> YGroup1ToGroup4(Vector512<ulong> x, out Vector512<ulong> result1, out Vector512<ulong> result2, out Vector512<ulong> result3)

Parameters

x Vector512<ulong>

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

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部分).