Table of Contents

Method YGroup3Zip

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

YGroup3Zip(Vector<float>, Vector<float>, Vector<float>, out Vector<float>, out Vector<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 override Vector<float> YGroup3Zip(Vector<float> x, Vector<float> y, Vector<float> z, out Vector<float> data1, out Vector<float> data2)

Parameters

x Vector<float>

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

y Vector<float>

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

z Vector<float>

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

data1 Vector<float>

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

data2 Vector<float>

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

Returns

Vector<float>

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

YGroup3Zip(Vector<double>, Vector<double>, Vector<double>, out Vector<double>, out Vector<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 override Vector<double> YGroup3Zip(Vector<double> x, Vector<double> y, Vector<double> z, out Vector<double> data1, out Vector<double> data2)

Parameters

x Vector<double>

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

y Vector<double>

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

z Vector<double>

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

data1 Vector<double>

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

data2 Vector<double>

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

Returns

Vector<double>

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

YGroup3Zip(Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>, out Vector<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 override Vector<sbyte> YGroup3Zip(Vector<sbyte> x, Vector<sbyte> y, Vector<sbyte> z, out Vector<sbyte> data1, out Vector<sbyte> data2)

Parameters

x Vector<sbyte>

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

y Vector<sbyte>

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

z Vector<sbyte>

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

data1 Vector<sbyte>

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

data2 Vector<sbyte>

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

Returns

Vector<sbyte>

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

YGroup3Zip(Vector<byte>, Vector<byte>, Vector<byte>, out Vector<byte>, out Vector<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 override Vector<byte> YGroup3Zip(Vector<byte> x, Vector<byte> y, Vector<byte> z, out Vector<byte> data1, out Vector<byte> data2)

Parameters

x Vector<byte>

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

y Vector<byte>

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

z Vector<byte>

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

data1 Vector<byte>

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

data2 Vector<byte>

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

Returns

Vector<byte>

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

YGroup3Zip(Vector<short>, Vector<short>, Vector<short>, out Vector<short>, out Vector<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 override Vector<short> YGroup3Zip(Vector<short> x, Vector<short> y, Vector<short> z, out Vector<short> data1, out Vector<short> data2)

Parameters

x Vector<short>

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

y Vector<short>

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

z Vector<short>

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

data1 Vector<short>

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

data2 Vector<short>

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

Returns

Vector<short>

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

YGroup3Zip(Vector<ushort>, Vector<ushort>, Vector<ushort>, out Vector<ushort>, out Vector<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 override Vector<ushort> YGroup3Zip(Vector<ushort> x, Vector<ushort> y, Vector<ushort> z, out Vector<ushort> data1, out Vector<ushort> data2)

Parameters

x Vector<ushort>

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

y Vector<ushort>

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

z Vector<ushort>

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

data1 Vector<ushort>

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

data2 Vector<ushort>

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

Returns

Vector<ushort>

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

YGroup3Zip(Vector<int>, Vector<int>, Vector<int>, out Vector<int>, out Vector<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 override Vector<int> YGroup3Zip(Vector<int> x, Vector<int> y, Vector<int> z, out Vector<int> data1, out Vector<int> data2)

Parameters

x Vector<int>

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

y Vector<int>

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

z Vector<int>

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

data1 Vector<int>

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

data2 Vector<int>

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

Returns

Vector<int>

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

YGroup3Zip(Vector<uint>, Vector<uint>, Vector<uint>, out Vector<uint>, out Vector<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 override Vector<uint> YGroup3Zip(Vector<uint> x, Vector<uint> y, Vector<uint> z, out Vector<uint> data1, out Vector<uint> data2)

Parameters

x Vector<uint>

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

y Vector<uint>

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

z Vector<uint>

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

data1 Vector<uint>

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

data2 Vector<uint>

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

Returns

Vector<uint>

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

YGroup3Zip(Vector<long>, Vector<long>, Vector<long>, out Vector<long>, out Vector<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 override Vector<long> YGroup3Zip(Vector<long> x, Vector<long> y, Vector<long> z, out Vector<long> data1, out Vector<long> data2)

Parameters

x Vector<long>

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

y Vector<long>

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

z Vector<long>

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

data1 Vector<long>

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

data2 Vector<long>

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

Returns

Vector<long>

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

YGroup3Zip(Vector<ulong>, Vector<ulong>, Vector<ulong>, out Vector<ulong>, out Vector<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 override Vector<ulong> YGroup3Zip(Vector<ulong> x, Vector<ulong> y, Vector<ulong> z, out Vector<ulong> data1, out Vector<ulong> data2)

Parameters

x Vector<ulong>

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

y Vector<ulong>

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

z Vector<ulong>

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

data1 Vector<ulong>

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

data2 Vector<ulong>

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

Returns

Vector<ulong>

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