Table of Contents

Method YGroup4Zip_Move

Namespace
Zyl.VectorTraits.Impl.AVector128
Assembly
VectorTraits.dll

YGroup4Zip_Move(Vector128<double>, Vector128<double>, Vector128<double>, Vector128<double>, out Vector128<double>, out Vector128<double>, out Vector128<double>)

Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据). Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) ), i2 := i/4.

public static Vector128<double> YGroup4Zip_Move(Vector128<double> x, Vector128<double> y, Vector128<double> z, Vector128<double> w, out Vector128<double> data1, out Vector128<double> data2, out Vector128<double> data3)

Parameters

x Vector128<double>

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

y Vector128<double>

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

z Vector128<double>

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

w Vector128<double>

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

data1 Vector128<double>

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

data2 Vector128<double>

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

data3 Vector128<double>

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

Returns

Vector128<double>

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

YGroup4Zip_Move(Vector128<long>, Vector128<long>, Vector128<long>, Vector128<long>, out Vector128<long>, out Vector128<long>, out Vector128<long>)

Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据). Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) ), i2 := i/4.

public static Vector128<long> YGroup4Zip_Move(Vector128<long> x, Vector128<long> y, Vector128<long> z, Vector128<long> w, out Vector128<long> data1, out Vector128<long> data2, out Vector128<long> data3)

Parameters

x Vector128<long>

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

y Vector128<long>

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

z Vector128<long>

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

w Vector128<long>

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

data1 Vector128<long>

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

data2 Vector128<long>

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

data3 Vector128<long>

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

Returns

Vector128<long>

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

YGroup4Zip_Move(Vector128<ulong>, Vector128<ulong>, Vector128<ulong>, Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>)

Interleave 4 vectors into 4-element groups. It converts the 4-element groups SoA to AoS. It can also interleave R,G,B,A planar data into packed RGBA pixel data (将4个向量交织为4-元素组. 它能将4元素组的 结构体数组 转为 数组结构体. 它还能将 R,G,B,A 平面数据, 交织为 已打包的RGBA像素数据). Mnemonic: element_ref(i, data0, data1, data2, data3) := (0==(i&3))?( x[i2] ):( (1==(i&3))?( y[i2] ):( (2==(i&s3))?( z[i2] ):( w[i2] ) ) ), i2 := i/4.

[CLSCompliant(false)]
public static Vector128<ulong> YGroup4Zip_Move(Vector128<ulong> x, Vector128<ulong> y, Vector128<ulong> z, Vector128<ulong> w, out Vector128<ulong> data1, out Vector128<ulong> data2, out Vector128<ulong> data3)

Parameters

x Vector128<ulong>

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

y Vector128<ulong>

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

z Vector128<ulong>

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

w Vector128<ulong>

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

data1 Vector128<ulong>

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

data2 Vector128<ulong>

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

data3 Vector128<ulong>

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

Returns

Vector128<ulong>

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