Method EqualsAny
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
EqualsAny(Vector256<float>, Vector256<float>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<double>, Vector256<double>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<sbyte>, Vector256<sbyte>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
[CLSCompliant(false)]
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<byte>, Vector256<byte>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<short>, Vector256<short>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<ushort>, Vector256<ushort>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
[CLSCompliant(false)]
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<int>, Vector256<int>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<uint>, Vector256<uint>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
[CLSCompliant(false)]
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<long>, Vector256<long>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also
EqualsAny(Vector256<ulong>, Vector256<ulong>)
Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等).
Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1])
.
[CLSCompliant(false)]
public static bool EqualsAny(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 inleft
were equal to the corresponding element inright
(当left
和right
的任一对应元素相等时返回true
).
- See Also