Method Equals
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
Equals(Vector256<float>, Vector256<float>)
Compares two vectors to determine if they are equal on a per-element basis (比较两个向量,确定它们每个元素是否相等).
Mnemonic: rt[i] := to_mask(left[i] == right[i])
.
public static Vector256<float> Equals(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
- Vector256<float>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<double>, Vector256<double>)
Compares two vectors to determine if they are equal on a per-element basis (比较两个向量,确定它们每个元素是否相等).
Mnemonic: rt[i] := to_mask(left[i] == right[i])
.
public static Vector256<double> Equals(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
- Vector256<double>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<sbyte>, Vector256<sbyte>)
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 Vector256<sbyte> Equals(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
- Vector256<sbyte>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<byte>, Vector256<byte>)
Compares two vectors to determine if they are equal on a per-element basis (比较两个向量,确定它们每个元素是否相等).
Mnemonic: rt[i] := to_mask(left[i] == right[i])
.
public static Vector256<byte> Equals(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
- Vector256<byte>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<short>, Vector256<short>)
Compares two vectors to determine if they are equal on a per-element basis (比较两个向量,确定它们每个元素是否相等).
Mnemonic: rt[i] := to_mask(left[i] == right[i])
.
public static Vector256<short> Equals(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
- Vector256<short>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<ushort>, Vector256<ushort>)
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 Vector256<ushort> Equals(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
- Vector256<ushort>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<int>, Vector256<int>)
Compares two vectors to determine if they are equal on a per-element basis (比较两个向量,确定它们每个元素是否相等).
Mnemonic: rt[i] := to_mask(left[i] == right[i])
.
public static Vector256<int> Equals(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
- Vector256<int>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<uint>, Vector256<uint>)
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 Vector256<uint> Equals(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
- Vector256<uint>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<long>, Vector256<long>)
Compares two vectors to determine if they are equal on a per-element basis (比较两个向量,确定它们每个元素是否相等).
Mnemonic: rt[i] := to_mask(left[i] == right[i])
.
public static Vector256<long> Equals(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
- Vector256<long>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also
Equals(Vector256<ulong>, Vector256<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 Vector256<ulong> Equals(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
- Vector256<ulong>
A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in
left
andright
were equal (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中是否相等).
- See Also