Table of Contents

Method YGroup2Zip_Move

Namespace
Zyl.VectorTraits.Impl.AVector512
Assembly
VectorTraits.dll

YGroup2Zip_Move(Vector512<ExInt128>, Vector512<ExInt128>, out Vector512<ExInt128>)

Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体). Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector512<ExInt128> YGroup2Zip_Move(Vector512<ExInt128> x, Vector512<ExInt128> y, out Vector512<ExInt128> data1)

Parameters

x Vector512<ExInt128>

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

y Vector512<ExInt128>

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

data1 Vector512<ExInt128>

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

Returns

Vector512<ExInt128>

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

See Also

YGroup2Zip_Move(Vector512<ExUInt128>, Vector512<ExUInt128>, out Vector512<ExUInt128>)

Interleave 2 vectors into 2-element groups. It converts the 2-element groups SoA to AoS (将2个向量交织为2-元素组. 它能将2元素组的 结构体数组 转为 数组结构体). Mnemonic: element_ref(i, data0, data1) := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[CLSCompliant(false)]
public static Vector512<ExUInt128> YGroup2Zip_Move(Vector512<ExUInt128> x, Vector512<ExUInt128> y, out Vector512<ExUInt128> data1)

Parameters

x Vector512<ExUInt128>

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

y Vector512<ExUInt128>

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

data1 Vector512<ExUInt128>

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

Returns

Vector512<ExUInt128>

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

See Also