Method LessThan
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
LessThan(Vector512<float>, Vector512<float>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
public static Vector512<float> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<double>, Vector512<double>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
public static Vector512<double> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<sbyte>, Vector512<sbyte>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
[CLSCompliant(false)]
public static Vector512<sbyte> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<byte>, Vector512<byte>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
public static Vector512<byte> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<short>, Vector512<short>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
public static Vector512<short> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<ushort>, Vector512<ushort>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
[CLSCompliant(false)]
public static Vector512<ushort> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<int>, Vector512<int>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
public static Vector512<int> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<uint>, Vector512<uint>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
[CLSCompliant(false)]
public static Vector512<uint> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<long>, Vector512<long>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
public static Vector512<long> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also
LessThan(Vector512<ulong>, Vector512<ulong>)
Compares two vectors to determine which is less on a per-element basis (比较两个向量,在每个元素的基础上确定哪个更小).
Mnemonic: rt[i] := to_mask(left[i] < right[i])
.
[CLSCompliant(false)]
public static Vector512<ulong> LessThan(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 less (一个向量,其元素是全位为1或0,取决于left
和right
的对应元素中哪个更小).
- See Also