Table of Contents

Method GreaterThanAny

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

GreaterThanAny(Vector128<double>, Vector128<double>)

Compares two vectors to determine if any elements are greater (比较两个向量以判定任一元素是否大于). Mnemonic: rt := (left[0] > right[0]) || (left[1] > right[1]) || ... || (left[Count-1] > right[Count-1]).

public override bool GreaterThanAny(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

bool

Return true if any elements in left were greater to the corresponding element in right (当leftright的任一对应元素大于时返回true).

See Also

GreaterThanAny(Vector128<long>, Vector128<long>)

Compares two vectors to determine if any elements are greater (比较两个向量以判定任一元素是否大于). Mnemonic: rt := (left[0] > right[0]) || (left[1] > right[1]) || ... || (left[Count-1] > right[Count-1]).

public override bool GreaterThanAny(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

bool

Return true if any elements in left were greater to the corresponding element in right (当leftright的任一对应元素大于时返回true).

See Also

GreaterThanAny(Vector128<ulong>, Vector128<ulong>)

Compares two vectors to determine if any elements are greater (比较两个向量以判定任一元素是否大于). Mnemonic: rt := (left[0] > right[0]) || (left[1] > right[1]) || ... || (left[Count-1] > right[Count-1]).

[CLSCompliant(false)]
public override bool GreaterThanAny(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

bool

Return true if any elements in left were greater to the corresponding element in right (当leftright的任一对应元素大于时返回true).

See Also