Method Min
- Namespace
- Zyl.VectorTraits.Impl.AVector128
- Assembly
- VectorTraits.dll
Min(Vector128<double>, Vector128<double>)
Computes the minimum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最小值).
Mnemonic: rt[i] := min(left[i], right[i]).
public static Vector128<double> Min(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 minimum of the corresponding elements in - leftand- right(一个向量,其元素是- left和- right的相应元素的最小值).
- See Also
Min(Vector128<long>, Vector128<long>)
Computes the minimum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最小值).
Mnemonic: rt[i] := min(left[i], right[i]).
public static Vector128<long> Min(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 minimum of the corresponding elements in - leftand- right(一个向量,其元素是- left和- right的相应元素的最小值).
- See Also
Min(Vector128<ulong>, Vector128<ulong>)
Computes the minimum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最小值).
Mnemonic: rt[i] := min(left[i], right[i]).
[CLSCompliant(false)]
public static Vector128<ulong> Min(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 minimum of the corresponding elements in - leftand- right(一个向量,其元素是- left和- right的相应元素的最小值).
- See Also