Vector.MaxNumber<T>(Vector<T>, Vector<T>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将两个向量(基于每个元素)与计算结果进行比较,如果元素 NaN是,则返回另一个值。
public:
generic <typename T>
static System::Numerics::Vector<T> MaxNumber(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> MaxNumber<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member MaxNumber : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Function MaxNumber(Of T) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
类型参数
- T
向量中的元素的类型。
参数
- left
- Vector<T>
要与 right. 比较的向量。
- right
- Vector<T>
要与 left. 比较的向量。
返回
如果相应元素大于,则为一个矢量,如果元素大于