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 static Vector128<double> Max(Vector128<double> left, Vector128<double> right)
Parameters
leftVector128<double>The vector to compare with
right(将会与right进行比较的向量).rightVector128<double>The vector to compare with
left(将会与left进行比较的向量).
Returns
- Vector128<double>
A vector whose elements are the maximum of the corresponding elements in
leftandright(一个向量,其元素是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 static Vector128<long> Max(Vector128<long> left, Vector128<long> right)
Parameters
leftVector128<long>The vector to compare with
right(将会与right进行比较的向量).rightVector128<long>The vector to compare with
left(将会与left进行比较的向量).
Returns
- Vector128<long>
A vector whose elements are the maximum of the corresponding elements in
leftandright(一个向量,其元素是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 static Vector128<ulong> Max(Vector128<ulong> left, Vector128<ulong> right)
Parameters
leftVector128<ulong>The vector to compare with
right(将会与right进行比较的向量).rightVector128<ulong>The vector to compare with
left(将会与left进行比较的向量).
Returns
- Vector128<ulong>
A vector whose elements are the maximum of the corresponding elements in
leftandright(一个向量,其元素是left和right的相应元素的最大值).
- See Also