Method GreaterThan
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
GreaterThan(Vector512<float>, Vector512<float>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
public static Vector512<float> GreaterThan(Vector512<float> left, Vector512<float> right)
Parameters
left
Vector512<float>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<float>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<float>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<double>, Vector512<double>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
public static Vector512<double> GreaterThan(Vector512<double> left, Vector512<double> right)
Parameters
left
Vector512<double>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<double>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<double>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<sbyte>, Vector512<sbyte>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
[CLSCompliant(false)]
public static Vector512<sbyte> GreaterThan(Vector512<sbyte> left, Vector512<sbyte> right)
Parameters
left
Vector512<sbyte>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<sbyte>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<sbyte>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<byte>, Vector512<byte>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
public static Vector512<byte> GreaterThan(Vector512<byte> left, Vector512<byte> right)
Parameters
left
Vector512<byte>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<byte>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<byte>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<short>, Vector512<short>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
public static Vector512<short> GreaterThan(Vector512<short> left, Vector512<short> right)
Parameters
left
Vector512<short>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<short>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<short>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<ushort>, Vector512<ushort>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
[CLSCompliant(false)]
public static Vector512<ushort> GreaterThan(Vector512<ushort> left, Vector512<ushort> right)
Parameters
left
Vector512<ushort>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<ushort>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<ushort>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<int>, Vector512<int>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
public static Vector512<int> GreaterThan(Vector512<int> left, Vector512<int> right)
Parameters
left
Vector512<int>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<int>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<int>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<uint>, Vector512<uint>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
[CLSCompliant(false)]
public static Vector512<uint> GreaterThan(Vector512<uint> left, Vector512<uint> right)
Parameters
left
Vector512<uint>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<uint>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<uint>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<long>, Vector512<long>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
public static Vector512<long> GreaterThan(Vector512<long> left, Vector512<long> right)
Parameters
left
Vector512<long>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<long>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<long>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also
GreaterThan(Vector512<ulong>, Vector512<ulong>)
Compares two vectors to determine which is greater on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更大).
Mnemonic: rt[i] := to_mask(left[i] > right[i])
.
[CLSCompliant(false)]
public static Vector512<ulong> GreaterThan(Vector512<ulong> left, Vector512<ulong> right)
Parameters
left
Vector512<ulong>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector512<ulong>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector512<ulong>
A vector whose elements are all-bits-set or zero, depending on if which of the corresponding elements in
left
andright
were greater (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更大).
- See Also