Table of Contents

Method GreaterThanOrEqual

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

GreaterThanOrEqual(Vector128<double>, Vector128<double>)

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

public static Vector128<double> GreaterThanOrEqual(Vector128<double> left, Vector128<double> right)

Parameters

left Vector128<double>

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

right Vector128<double>

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

Returns

Vector128<double>

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

See Also

GreaterThanOrEqual(Vector128<long>, Vector128<long>)

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

public static Vector128<long> GreaterThanOrEqual(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 or equal (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大或等于).

See Also

GreaterThanOrEqual(Vector128<ulong>, Vector128<ulong>)

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

[CLSCompliant(false)]
public static Vector128<ulong> GreaterThanOrEqual(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 or equal (一个向量,其元素是全位为1或0,取决于leftright的对应元素中哪个更大或等于).

See Also