Table of Contents

Method GreaterThan_Half

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

GreaterThan_Half(Vector128<long>, Vector128<long>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

public static Vector128<long> GreaterThan_Half(Vector128<long> left, Vector128<long> right)

Parameters

left Vector128<long>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<long>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector128<long>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also

GreaterThan_Half(Vector128<ulong>, Vector128<ulong>)

Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大). Mnemonic: rt[i] := to_mask(left[i] > right[i]).

[CLSCompliant(false)]
public static Vector128<ulong> GreaterThan_Half(Vector128<ulong> left, Vector128<ulong> right)

Parameters

left Vector128<ulong>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<ulong>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector128<ulong>

A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in left and right were greater (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大).

See Also