Table of Contents

Method YGroup4Zip

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YGroup4Zip(Vector<Int128>, Vector<Int128>, Vector<Int128>, Vector<Int128>, out Vector<Int128>, out Vector<Int128>, out Vector<Int128>)

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 Vector<Int128> YGroup4Zip(Vector<Int128> x, Vector<Int128> y, Vector<Int128> z, Vector<Int128> w, out Vector<Int128> data1, out Vector<Int128> data2, out Vector<Int128> data3)

Parameters

x Vector<Int128>

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

y Vector<Int128>

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

z Vector<Int128>

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

w Vector<Int128>

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

data1 Vector<Int128>

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

data2 Vector<Int128>

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

data3 Vector<Int128>

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

Returns

Vector<Int128>

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

YGroup4Zip(Vector<UInt128>, Vector<UInt128>, Vector<UInt128>, Vector<UInt128>, out Vector<UInt128>, out Vector<UInt128>, out Vector<UInt128>)

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 Vector<UInt128> YGroup4Zip(Vector<UInt128> x, Vector<UInt128> y, Vector<UInt128> z, Vector<UInt128> w, out Vector<UInt128> data1, out Vector<UInt128> data2, out Vector<UInt128> data3)

Parameters

x Vector<UInt128>

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

y Vector<UInt128>

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

z Vector<UInt128>

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

w Vector<UInt128>

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

data1 Vector<UInt128>

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

data2 Vector<UInt128>

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

data3 Vector<UInt128>

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

Returns

Vector<UInt128>

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

YGroup4Zip<T>(Vector<T>, Vector<T>, Vector<T>, Vector<T>)

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.

[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 (Vector<T> Data0, Vector<T> Data1, Vector<T> Data2, Vector<T> Data3) YGroup4Zip<T>(Vector<T> x, Vector<T> y, Vector<T> z, Vector<T> w) where T : struct

Parameters

x Vector<T>

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

y Vector<T>

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

z Vector<T>

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

w Vector<T>

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

Returns

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

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

Type Parameters

T

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

YGroup4Zip(Vector<float>, Vector<float>, Vector<float>, Vector<float>)

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 (Vector<float> Data0, Vector<float> Data1, Vector<float> Data2, Vector<float> Data3) YGroup4Zip(Vector<float> x, Vector<float> y, Vector<float> z, Vector<float> w)

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分量所组成的向量).

w Vector<float>

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

Returns

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

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

YGroup4Zip(Vector<double>, Vector<double>, Vector<double>, Vector<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 (Vector<double> Data0, Vector<double> Data1, Vector<double> Data2, Vector<double> Data3) YGroup4Zip(Vector<double> x, Vector<double> y, Vector<double> z, Vector<double> w)

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分量所组成的向量).

w Vector<double>

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

Returns

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

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

YGroup4Zip(Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>)

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 (Vector<sbyte> Data0, Vector<sbyte> Data1, Vector<sbyte> Data2, Vector<sbyte> Data3) YGroup4Zip(Vector<sbyte> x, Vector<sbyte> y, Vector<sbyte> z, Vector<sbyte> w)

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分量所组成的向量).

w Vector<sbyte>

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

Returns

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

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

YGroup4Zip(Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>)

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 (Vector<byte> Data0, Vector<byte> Data1, Vector<byte> Data2, Vector<byte> Data3) YGroup4Zip(Vector<byte> x, Vector<byte> y, Vector<byte> z, Vector<byte> w)

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分量所组成的向量).

w Vector<byte>

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

Returns

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

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

YGroup4Zip(Vector<short>, Vector<short>, Vector<short>, Vector<short>)

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 (Vector<short> Data0, Vector<short> Data1, Vector<short> Data2, Vector<short> Data3) YGroup4Zip(Vector<short> x, Vector<short> y, Vector<short> z, Vector<short> w)

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分量所组成的向量).

w Vector<short>

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

Returns

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

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

YGroup4Zip(Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>)

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 (Vector<ushort> Data0, Vector<ushort> Data1, Vector<ushort> Data2, Vector<ushort> Data3) YGroup4Zip(Vector<ushort> x, Vector<ushort> y, Vector<ushort> z, Vector<ushort> w)

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分量所组成的向量).

w Vector<ushort>

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

Returns

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

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

YGroup4Zip(Vector<int>, Vector<int>, Vector<int>, Vector<int>)

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 (Vector<int> Data0, Vector<int> Data1, Vector<int> Data2, Vector<int> Data3) YGroup4Zip(Vector<int> x, Vector<int> y, Vector<int> z, Vector<int> w)

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分量所组成的向量).

w Vector<int>

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

Returns

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

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

YGroup4Zip(Vector<uint>, Vector<uint>, Vector<uint>, Vector<uint>)

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 (Vector<uint> Data0, Vector<uint> Data1, Vector<uint> Data2, Vector<uint> Data3) YGroup4Zip(Vector<uint> x, Vector<uint> y, Vector<uint> z, Vector<uint> w)

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分量所组成的向量).

w Vector<uint>

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

Returns

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

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

YGroup4Zip(Vector<long>, Vector<long>, Vector<long>, Vector<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 (Vector<long> Data0, Vector<long> Data1, Vector<long> Data2, Vector<long> Data3) YGroup4Zip(Vector<long> x, Vector<long> y, Vector<long> z, Vector<long> w)

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分量所组成的向量).

w Vector<long>

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

Returns

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

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

YGroup4Zip(Vector<ulong>, Vector<ulong>, Vector<ulong>, Vector<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 (Vector<ulong> Data0, Vector<ulong> Data1, Vector<ulong> Data2, Vector<ulong> Data3) YGroup4Zip(Vector<ulong> x, Vector<ulong> y, Vector<ulong> z, Vector<ulong> w)

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分量所组成的向量).

w Vector<ulong>

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

Returns

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

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

YGroup4Zip(Vector<ExInt128>, Vector<ExInt128>, Vector<ExInt128>, Vector<ExInt128>)

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 (Vector<ExInt128> Data0, Vector<ExInt128> Data1, Vector<ExInt128> Data2, Vector<ExInt128> Data3) YGroup4Zip(Vector<ExInt128> x, Vector<ExInt128> y, Vector<ExInt128> z, Vector<ExInt128> w)

Parameters

x Vector<ExInt128>

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

y Vector<ExInt128>

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

z Vector<ExInt128>

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

w Vector<ExInt128>

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

Returns

(Vector<ExInt128> X, Vector<ExInt128> Y, Vector<ExInt128> Z, Vector<ExInt128> W)

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

YGroup4Zip(Vector<ExUInt128>, Vector<ExUInt128>, Vector<ExUInt128>, Vector<ExUInt128>)

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 (Vector<ExUInt128> Data0, Vector<ExUInt128> Data1, Vector<ExUInt128> Data2, Vector<ExUInt128> Data3) YGroup4Zip(Vector<ExUInt128> x, Vector<ExUInt128> y, Vector<ExUInt128> z, Vector<ExUInt128> w)

Parameters

x Vector<ExUInt128>

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

y Vector<ExUInt128>

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

z Vector<ExUInt128>

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

w Vector<ExUInt128>

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

Returns

(Vector<ExUInt128> X, Vector<ExUInt128> Y, Vector<ExUInt128> Z, Vector<ExUInt128> W)

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

YGroup4Zip(Vector<Int128>, Vector<Int128>, Vector<Int128>, Vector<Int128>)

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 (Vector<Int128> Data0, Vector<Int128> Data1, Vector<Int128> Data2, Vector<Int128> Data3) YGroup4Zip(Vector<Int128> x, Vector<Int128> y, Vector<Int128> z, Vector<Int128> w)

Parameters

x Vector<Int128>

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

y Vector<Int128>

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

z Vector<Int128>

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

w Vector<Int128>

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

Returns

(Vector<Int128> X, Vector<Int128> Y, Vector<Int128> Z, Vector<Int128> W)

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

YGroup4Zip(Vector<UInt128>, Vector<UInt128>, Vector<UInt128>, Vector<UInt128>)

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 (Vector<UInt128> Data0, Vector<UInt128> Data1, Vector<UInt128> Data2, Vector<UInt128> Data3) YGroup4Zip(Vector<UInt128> x, Vector<UInt128> y, Vector<UInt128> z, Vector<UInt128> w)

Parameters

x Vector<UInt128>

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

y Vector<UInt128>

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

z Vector<UInt128>

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

w Vector<UInt128>

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

Returns

(Vector<UInt128> X, Vector<UInt128> Y, Vector<UInt128> Z, Vector<UInt128> W)

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

YGroup4Zip(Vector<float>, Vector<float>, Vector<float>, Vector<float>, out Vector<float>, out Vector<float>, out Vector<float>)

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 Vector<float> YGroup4Zip(Vector<float> x, Vector<float> y, Vector<float> z, Vector<float> w, out Vector<float> data1, out Vector<float> data2, out Vector<float> data3)

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分量所组成的向量).

w Vector<float>

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

data1 Vector<float>

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

data2 Vector<float>

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

data3 Vector<float>

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

Returns

Vector<float>

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

YGroup4Zip(Vector<double>, Vector<double>, Vector<double>, Vector<double>, out Vector<double>, out Vector<double>, out Vector<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 Vector<double> YGroup4Zip(Vector<double> x, Vector<double> y, Vector<double> z, Vector<double> w, out Vector<double> data1, out Vector<double> data2, out Vector<double> data3)

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分量所组成的向量).

w Vector<double>

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

data1 Vector<double>

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

data2 Vector<double>

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

data3 Vector<double>

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

Returns

Vector<double>

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

YGroup4Zip(Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>)

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 Vector<sbyte> YGroup4Zip(Vector<sbyte> x, Vector<sbyte> y, Vector<sbyte> z, Vector<sbyte> w, out Vector<sbyte> data1, out Vector<sbyte> data2, out Vector<sbyte> data3)

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分量所组成的向量).

w Vector<sbyte>

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

data1 Vector<sbyte>

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

data2 Vector<sbyte>

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

data3 Vector<sbyte>

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

Returns

Vector<sbyte>

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

YGroup4Zip(Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<byte>)

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 Vector<byte> YGroup4Zip(Vector<byte> x, Vector<byte> y, Vector<byte> z, Vector<byte> w, out Vector<byte> data1, out Vector<byte> data2, out Vector<byte> data3)

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分量所组成的向量).

w Vector<byte>

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

data1 Vector<byte>

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

data2 Vector<byte>

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

data3 Vector<byte>

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

Returns

Vector<byte>

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

YGroup4Zip(Vector<short>, Vector<short>, Vector<short>, Vector<short>, out Vector<short>, out Vector<short>, out Vector<short>)

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 Vector<short> YGroup4Zip(Vector<short> x, Vector<short> y, Vector<short> z, Vector<short> w, out Vector<short> data1, out Vector<short> data2, out Vector<short> data3)

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分量所组成的向量).

w Vector<short>

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

data1 Vector<short>

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

data2 Vector<short>

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

data3 Vector<short>

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

Returns

Vector<short>

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

YGroup4Zip(Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<ushort>)

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 Vector<ushort> YGroup4Zip(Vector<ushort> x, Vector<ushort> y, Vector<ushort> z, Vector<ushort> w, out Vector<ushort> data1, out Vector<ushort> data2, out Vector<ushort> data3)

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分量所组成的向量).

w Vector<ushort>

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

data1 Vector<ushort>

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

data2 Vector<ushort>

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

data3 Vector<ushort>

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

Returns

Vector<ushort>

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

YGroup4Zip(Vector<int>, Vector<int>, Vector<int>, Vector<int>, out Vector<int>, out Vector<int>, out Vector<int>)

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 Vector<int> YGroup4Zip(Vector<int> x, Vector<int> y, Vector<int> z, Vector<int> w, out Vector<int> data1, out Vector<int> data2, out Vector<int> data3)

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分量所组成的向量).

w Vector<int>

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

data1 Vector<int>

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

data2 Vector<int>

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

data3 Vector<int>

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

Returns

Vector<int>

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

YGroup4Zip(Vector<uint>, Vector<uint>, Vector<uint>, Vector<uint>, out Vector<uint>, out Vector<uint>, out Vector<uint>)

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 Vector<uint> YGroup4Zip(Vector<uint> x, Vector<uint> y, Vector<uint> z, Vector<uint> w, out Vector<uint> data1, out Vector<uint> data2, out Vector<uint> data3)

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分量所组成的向量).

w Vector<uint>

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

data1 Vector<uint>

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

data2 Vector<uint>

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

data3 Vector<uint>

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

Returns

Vector<uint>

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

YGroup4Zip(Vector<long>, Vector<long>, Vector<long>, Vector<long>, out Vector<long>, out Vector<long>, out Vector<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 Vector<long> YGroup4Zip(Vector<long> x, Vector<long> y, Vector<long> z, Vector<long> w, out Vector<long> data1, out Vector<long> data2, out Vector<long> data3)

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分量所组成的向量).

w Vector<long>

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

data1 Vector<long>

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

data2 Vector<long>

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

data3 Vector<long>

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

Returns

Vector<long>

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

YGroup4Zip(Vector<ulong>, Vector<ulong>, Vector<ulong>, Vector<ulong>, out Vector<ulong>, out Vector<ulong>, out Vector<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 Vector<ulong> YGroup4Zip(Vector<ulong> x, Vector<ulong> y, Vector<ulong> z, Vector<ulong> w, out Vector<ulong> data1, out Vector<ulong> data2, out Vector<ulong> data3)

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分量所组成的向量).

w Vector<ulong>

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

data1 Vector<ulong>

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

data2 Vector<ulong>

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

data3 Vector<ulong>

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

Returns

Vector<ulong>

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

YGroup4Zip(Vector<ExInt128>, Vector<ExInt128>, Vector<ExInt128>, Vector<ExInt128>, out Vector<ExInt128>, out Vector<ExInt128>, out Vector<ExInt128>)

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 Vector<ExInt128> YGroup4Zip(Vector<ExInt128> x, Vector<ExInt128> y, Vector<ExInt128> z, Vector<ExInt128> w, out Vector<ExInt128> data1, out Vector<ExInt128> data2, out Vector<ExInt128> data3)

Parameters

x Vector<ExInt128>

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

y Vector<ExInt128>

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

z Vector<ExInt128>

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

w Vector<ExInt128>

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

data1 Vector<ExInt128>

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

data2 Vector<ExInt128>

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

data3 Vector<ExInt128>

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

Returns

Vector<ExInt128>

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

YGroup4Zip(Vector<ExUInt128>, Vector<ExUInt128>, Vector<ExUInt128>, Vector<ExUInt128>, out Vector<ExUInt128>, out Vector<ExUInt128>, out Vector<ExUInt128>)

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 Vector<ExUInt128> YGroup4Zip(Vector<ExUInt128> x, Vector<ExUInt128> y, Vector<ExUInt128> z, Vector<ExUInt128> w, out Vector<ExUInt128> data1, out Vector<ExUInt128> data2, out Vector<ExUInt128> data3)

Parameters

x Vector<ExUInt128>

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

y Vector<ExUInt128>

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

z Vector<ExUInt128>

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

w Vector<ExUInt128>

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

data1 Vector<ExUInt128>

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

data2 Vector<ExUInt128>

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

data3 Vector<ExUInt128>

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

Returns

Vector<ExUInt128>

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