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