Table of Contents

Method Equals_Half

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

Equals_Half(Vector128<ulong>, Vector128<ulong>)

Compares two vectors to determine if they are equal on a per-element basis (比较两个向量,确定它们每个元素是否相等). Mnemonic: rt[i] := to_mask(left[i] == right[i]).

[CLSCompliant(false)]
public static Vector128<ulong> Equals_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 the corresponding elements in left and right were equal (一个向量,其元素是全位为1或0,取决于leftright的对应元素中是否相等).

See Also