Table of Contents

Method YGroup2ZipLow

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YGroup2ZipLow<T>(Vector<T>, Vector<T>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[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> YGroup2ZipLow<T>(Vector<T> data0, Vector<T> data1) where T : struct

Parameters

data0 Vector<T>
data1 Vector<T>

Returns

Vector<T>

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

Type Parameters

T

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

See Also

YGroup2ZipLow(Vector<Int128>, Vector<Int128>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<Int128> YGroup2ZipLow(Vector<Int128> x, Vector<Int128> y)

Parameters

x Vector<Int128>

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

y Vector<Int128>

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

Returns

Vector<Int128>

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

See Also

YGroup2ZipLow(Vector<UInt128>, Vector<UInt128>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[CLSCompliant(false)]
public static Vector<UInt128> YGroup2ZipLow(Vector<UInt128> x, Vector<UInt128> y)

Parameters

x Vector<UInt128>

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

y Vector<UInt128>

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

Returns

Vector<UInt128>

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

See Also

YGroup2ZipLow(Vector<float>, Vector<float>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<float> YGroup2ZipLow(Vector<float> x, Vector<float> y)

Parameters

x Vector<float>

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

y Vector<float>

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

Returns

Vector<float>

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

See Also

YGroup2ZipLow(Vector<double>, Vector<double>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<double> YGroup2ZipLow(Vector<double> x, Vector<double> y)

Parameters

x Vector<double>

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

y Vector<double>

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

Returns

Vector<double>

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

See Also

YGroup2ZipLow(Vector<sbyte>, Vector<sbyte>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[CLSCompliant(false)]
public static Vector<sbyte> YGroup2ZipLow(Vector<sbyte> x, Vector<sbyte> y)

Parameters

x Vector<sbyte>

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

y Vector<sbyte>

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

Returns

Vector<sbyte>

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

See Also

YGroup2ZipLow(Vector<byte>, Vector<byte>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<byte> YGroup2ZipLow(Vector<byte> x, Vector<byte> y)

Parameters

x Vector<byte>

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

y Vector<byte>

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

Returns

Vector<byte>

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

See Also

YGroup2ZipLow(Vector<short>, Vector<short>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<short> YGroup2ZipLow(Vector<short> x, Vector<short> y)

Parameters

x Vector<short>

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

y Vector<short>

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

Returns

Vector<short>

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

See Also

YGroup2ZipLow(Vector<ushort>, Vector<ushort>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[CLSCompliant(false)]
public static Vector<ushort> YGroup2ZipLow(Vector<ushort> x, Vector<ushort> y)

Parameters

x Vector<ushort>

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

y Vector<ushort>

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

Returns

Vector<ushort>

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

See Also

YGroup2ZipLow(Vector<int>, Vector<int>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<int> YGroup2ZipLow(Vector<int> x, Vector<int> y)

Parameters

x Vector<int>

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

y Vector<int>

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

Returns

Vector<int>

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

See Also

YGroup2ZipLow(Vector<uint>, Vector<uint>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[CLSCompliant(false)]
public static Vector<uint> YGroup2ZipLow(Vector<uint> x, Vector<uint> y)

Parameters

x Vector<uint>

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

y Vector<uint>

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

Returns

Vector<uint>

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

See Also

YGroup2ZipLow(Vector<long>, Vector<long>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<long> YGroup2ZipLow(Vector<long> x, Vector<long> y)

Parameters

x Vector<long>

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

y Vector<long>

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

Returns

Vector<long>

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

See Also

YGroup2ZipLow(Vector<ulong>, Vector<ulong>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[CLSCompliant(false)]
public static Vector<ulong> YGroup2ZipLow(Vector<ulong> x, Vector<ulong> y)

Parameters

x Vector<ulong>

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

y Vector<ulong>

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

Returns

Vector<ulong>

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

See Also

YGroup2ZipLow(Vector<ExInt128>, Vector<ExInt128>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

public static Vector<ExInt128> YGroup2ZipLow(Vector<ExInt128> x, Vector<ExInt128> y)

Parameters

x Vector<ExInt128>

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

y Vector<ExInt128>

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

Returns

Vector<ExInt128>

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

See Also

YGroup2ZipLow(Vector<ExUInt128>, Vector<ExUInt128>)

Interleave 2 vectors into 2-element groups and returns the data in the low position. (将2个向量交织为2-元素组, 并返回低位置的数据). Mnemonic: rt[i] := (0==(i&1))?( x[i2] ):( y[i2] ), i2 := i/2.

[CLSCompliant(false)]
public static Vector<ExUInt128> YGroup2ZipLow(Vector<ExUInt128> x, Vector<ExUInt128> y)

Parameters

x Vector<ExUInt128>

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

y Vector<ExUInt128>

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

Returns

Vector<ExUInt128>

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

See Also