Table of Contents

Method GreaterThanAny

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

GreaterThanAny(Vector256<float>, Vector256<float>)

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 static bool GreaterThanAny(Vector256<float> left, Vector256<float> right)

Parameters

left Vector256<float>

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

right Vector256<float>

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(Vector256<double>, Vector256<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 static bool GreaterThanAny(Vector256<double> left, Vector256<double> right)

Parameters

left Vector256<double>

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

right Vector256<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(Vector256<sbyte>, Vector256<sbyte>)

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 static bool GreaterThanAny(Vector256<sbyte> left, Vector256<sbyte> right)

Parameters

left Vector256<sbyte>

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

right Vector256<sbyte>

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(Vector256<byte>, Vector256<byte>)

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 static bool GreaterThanAny(Vector256<byte> left, Vector256<byte> right)

Parameters

left Vector256<byte>

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

right Vector256<byte>

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(Vector256<short>, Vector256<short>)

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 static bool GreaterThanAny(Vector256<short> left, Vector256<short> right)

Parameters

left Vector256<short>

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

right Vector256<short>

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(Vector256<ushort>, Vector256<ushort>)

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 static bool GreaterThanAny(Vector256<ushort> left, Vector256<ushort> right)

Parameters

left Vector256<ushort>

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

right Vector256<ushort>

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(Vector256<int>, Vector256<int>)

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 static bool GreaterThanAny(Vector256<int> left, Vector256<int> right)

Parameters

left Vector256<int>

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

right Vector256<int>

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(Vector256<uint>, Vector256<uint>)

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 static bool GreaterThanAny(Vector256<uint> left, Vector256<uint> right)

Parameters

left Vector256<uint>

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

right Vector256<uint>

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(Vector256<long>, Vector256<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 static bool GreaterThanAny(Vector256<long> left, Vector256<long> right)

Parameters

left Vector256<long>

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

right Vector256<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(Vector256<ulong>, Vector256<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 static bool GreaterThanAny(Vector256<ulong> left, Vector256<ulong> right)

Parameters

left Vector256<ulong>

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

right Vector256<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