Table of Contents

Method YGroup3Zip

Namespace
Zyl.VectorTraits.Impl.AVector256
Assembly
VectorTraits.dll

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