Table of Contents

Method YGroup3Zip

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YGroup3Zip<T>(Vector256<T>, Vector256<T>, Vector256<T>)

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.

[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 (Vector256<T> Data0, Vector256<T> Data1, Vector256<T> Data2) YGroup3Zip<T>(Vector256<T> x, Vector256<T> y, Vector256<T> z) where T : struct

Parameters

x Vector256<T>

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

y Vector256<T>

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

z Vector256<T>

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

Returns

(Vector256<T> Result0, Vector256<T> Result1, Vector256<T> Result2)

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

Type Parameters

T

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

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

public static (Vector256<float> Data0, Vector256<float> Data1, Vector256<float> Data2) YGroup3Zip(Vector256<float> x, Vector256<float> y, Vector256<float> z)

Parameters

x Vector256<float>

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

y Vector256<float>

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

z Vector256<float>

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

Returns

(Vector256<float> Result0, Vector256<float> Result1, Vector256<float> Result2)

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

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

public static (Vector256<double> Data0, Vector256<double> Data1, Vector256<double> Data2) YGroup3Zip(Vector256<double> x, Vector256<double> y, Vector256<double> z)

Parameters

x Vector256<double>

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

y Vector256<double>

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

z Vector256<double>

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

Returns

(Vector256<double> Result0, Vector256<double> Result1, Vector256<double> Result2)

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

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

[CLSCompliant(false)]
public static (Vector256<sbyte> Data0, Vector256<sbyte> Data1, Vector256<sbyte> Data2) YGroup3Zip(Vector256<sbyte> x, Vector256<sbyte> y, Vector256<sbyte> z)

Parameters

x Vector256<sbyte>

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

y Vector256<sbyte>

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

z Vector256<sbyte>

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

Returns

(Vector256<sbyte> args0, Vector256<sbyte> args1, Vector256<sbyte> args2)

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

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

public static (Vector256<byte> Data0, Vector256<byte> Data1, Vector256<byte> Data2) YGroup3Zip(Vector256<byte> x, Vector256<byte> y, Vector256<byte> z)

Parameters

x Vector256<byte>

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

y Vector256<byte>

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

z Vector256<byte>

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

Returns

(Vector256<byte> args0, Vector256<byte> args1, Vector256<byte> args2)

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

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

public static (Vector256<short> Data0, Vector256<short> Data1, Vector256<short> Data2) YGroup3Zip(Vector256<short> x, Vector256<short> y, Vector256<short> z)

Parameters

x Vector256<short>

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

y Vector256<short>

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

z Vector256<short>

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

Returns

(Vector256<short> args0, Vector256<short> args1, Vector256<short> args2)

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

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

[CLSCompliant(false)]
public static (Vector256<ushort> Data0, Vector256<ushort> Data1, Vector256<ushort> Data2) YGroup3Zip(Vector256<ushort> x, Vector256<ushort> y, Vector256<ushort> z)

Parameters

x Vector256<ushort>

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

y Vector256<ushort>

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

z Vector256<ushort>

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

Returns

(Vector256<ushort> args0, Vector256<ushort> args1, Vector256<ushort> args2)

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

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

public static (Vector256<int> Data0, Vector256<int> Data1, Vector256<int> Data2) YGroup3Zip(Vector256<int> x, Vector256<int> y, Vector256<int> z)

Parameters

x Vector256<int>

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

y Vector256<int>

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

z Vector256<int>

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

Returns

(Vector256<int> args0, Vector256<int> args1, Vector256<int> args2)

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

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

[CLSCompliant(false)]
public static (Vector256<uint> Data0, Vector256<uint> Data1, Vector256<uint> Data2) YGroup3Zip(Vector256<uint> x, Vector256<uint> y, Vector256<uint> z)

Parameters

x Vector256<uint>

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

y Vector256<uint>

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

z Vector256<uint>

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

Returns

(Vector256<uint> args0, Vector256<uint> args1, Vector256<uint> args2)

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

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

public static (Vector256<long> Data0, Vector256<long> Data1, Vector256<long> Data2) YGroup3Zip(Vector256<long> x, Vector256<long> y, Vector256<long> z)

Parameters

x Vector256<long>

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

y Vector256<long>

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

z Vector256<long>

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

Returns

(Vector256<long> args0, Vector256<long> args1, Vector256<long> args2)

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

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

[CLSCompliant(false)]
public static (Vector256<ulong> Data0, Vector256<ulong> Data1, Vector256<ulong> Data2) YGroup3Zip(Vector256<ulong> x, Vector256<ulong> y, Vector256<ulong> z)

Parameters

x Vector256<ulong>

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

y Vector256<ulong>

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

z Vector256<ulong>

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

Returns

(Vector256<ulong> args0, Vector256<ulong> args1, Vector256<ulong> args2)

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

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

public static Vector256<float> YGroup3Zip(Vector256<float> x, Vector256<float> y, Vector256<float> z, out Vector256<float> data1, out Vector256<float> data2)

Parameters

x Vector256<float>

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

y Vector256<float>

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

z Vector256<float>

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

data1 Vector256<float>

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

data2 Vector256<float>

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

Returns

Vector256<float>

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

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

public static Vector256<double> YGroup3Zip(Vector256<double> x, Vector256<double> y, Vector256<double> z, out Vector256<double> data1, out Vector256<double> data2)

Parameters

x Vector256<double>

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

y Vector256<double>

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

z Vector256<double>

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

data1 Vector256<double>

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

data2 Vector256<double>

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

Returns

Vector256<double>

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

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

[CLSCompliant(false)]
public static Vector256<sbyte> YGroup3Zip(Vector256<sbyte> x, Vector256<sbyte> y, Vector256<sbyte> z, out Vector256<sbyte> data1, out Vector256<sbyte> data2)

Parameters

x Vector256<sbyte>

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

y Vector256<sbyte>

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

z Vector256<sbyte>

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

data1 Vector256<sbyte>

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

data2 Vector256<sbyte>

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

Returns

Vector256<sbyte>

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

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

public static Vector256<byte> YGroup3Zip(Vector256<byte> x, Vector256<byte> y, Vector256<byte> z, out Vector256<byte> data1, out Vector256<byte> data2)

Parameters

x Vector256<byte>

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

y Vector256<byte>

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

z Vector256<byte>

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

data1 Vector256<byte>

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

data2 Vector256<byte>

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

Returns

Vector256<byte>

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

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

public static Vector256<short> YGroup3Zip(Vector256<short> x, Vector256<short> y, Vector256<short> z, out Vector256<short> data1, out Vector256<short> data2)

Parameters

x Vector256<short>

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

y Vector256<short>

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

z Vector256<short>

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

data1 Vector256<short>

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

data2 Vector256<short>

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

Returns

Vector256<short>

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

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

[CLSCompliant(false)]
public static Vector256<ushort> YGroup3Zip(Vector256<ushort> x, Vector256<ushort> y, Vector256<ushort> z, out Vector256<ushort> data1, out Vector256<ushort> data2)

Parameters

x Vector256<ushort>

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

y Vector256<ushort>

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

z Vector256<ushort>

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

data1 Vector256<ushort>

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

data2 Vector256<ushort>

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

Returns

Vector256<ushort>

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

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

public static Vector256<int> YGroup3Zip(Vector256<int> x, Vector256<int> y, Vector256<int> z, out Vector256<int> data1, out Vector256<int> data2)

Parameters

x Vector256<int>

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

y Vector256<int>

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

z Vector256<int>

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

data1 Vector256<int>

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

data2 Vector256<int>

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

Returns

Vector256<int>

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

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

[CLSCompliant(false)]
public static Vector256<uint> YGroup3Zip(Vector256<uint> x, Vector256<uint> y, Vector256<uint> z, out Vector256<uint> data1, out Vector256<uint> data2)

Parameters

x Vector256<uint>

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

y Vector256<uint>

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

z Vector256<uint>

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

data1 Vector256<uint>

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

data2 Vector256<uint>

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

Returns

Vector256<uint>

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

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

public static Vector256<long> YGroup3Zip(Vector256<long> x, Vector256<long> y, Vector256<long> z, out Vector256<long> data1, out Vector256<long> data2)

Parameters

x Vector256<long>

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

y Vector256<long>

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

z Vector256<long>

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

data1 Vector256<long>

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

data2 Vector256<long>

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

Returns

Vector256<long>

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

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

[CLSCompliant(false)]
public static Vector256<ulong> YGroup3Zip(Vector256<ulong> x, Vector256<ulong> y, Vector256<ulong> z, out Vector256<ulong> data1, out Vector256<ulong> data2)

Parameters

x Vector256<ulong>

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

y Vector256<ulong>

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

z Vector256<ulong>

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

data1 Vector256<ulong>

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

data2 Vector256<ulong>

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

Returns

Vector256<ulong>

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