Method Max
- Namespace
- Zyl.VectorTraits.Impl.AVector128
- Assembly
- VectorTraits.dll
Max(Vector128<double>, Vector128<double>)
Computes the maximum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最大值).
Mnemonic: rt[i] := max(left[i], right[i])
.
public override Vector128<double> Max(Vector128<double> left, Vector128<double> right)
Parameters
left
Vector128<double>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector128<double>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector128<double>
A vector whose elements are the maximum of the corresponding elements in
left
andright
(一个向量,其元素是left
和right
的相应元素的最大值).
- See Also
Max(Vector128<long>, Vector128<long>)
Computes the maximum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最大值).
Mnemonic: rt[i] := max(left[i], right[i])
.
public override Vector128<long> Max(Vector128<long> left, Vector128<long> right)
Parameters
left
Vector128<long>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector128<long>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector128<long>
A vector whose elements are the maximum of the corresponding elements in
left
andright
(一个向量,其元素是left
和right
的相应元素的最大值).
- See Also
Max(Vector128<ulong>, Vector128<ulong>)
Computes the maximum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最大值).
Mnemonic: rt[i] := max(left[i], right[i])
.
[CLSCompliant(false)]
public override Vector128<ulong> Max(Vector128<ulong> left, Vector128<ulong> right)
Parameters
left
Vector128<ulong>The vector to compare with
right
(将会与right
进行比较的向量).right
Vector128<ulong>The vector to compare with
left
(将会与left
进行比较的向量).
Returns
- Vector128<ulong>
A vector whose elements are the maximum of the corresponding elements in
left
andright
(一个向量,其元素是left
和right
的相应元素的最大值).
- See Also