Vector.MinMagnitudeNumber<T>(Vector<T>, Vector<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以每個元素為基礎比較兩個向量,計算出大小較小的向量,若輸入為 NaN,則返回另一個值。
public:
generic <typename T>
static System::Numerics::Vector<T> MinMagnitudeNumber(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> MinMagnitudeNumber<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member MinMagnitudeNumber : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Function MinMagnitudeNumber(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的向量。
傳回
若該元素 left 的大小小於 right;,則為 right向量。