語言

Vector64.MaxNumber<T>(Vector64<T>, Vector64<T>) 方法

定義

以每個元素比較兩個向量,計算哪個較大,若元素為 NaN則返回另一個值。

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector64<T> MaxNumber(System::Runtime::Intrinsics::Vector64<T> left, System::Runtime::Intrinsics::Vector64<T> right);
public static System.Runtime.Intrinsics.Vector64<T> MaxNumber<T>(System.Runtime.Intrinsics.Vector64<T> left, System.Runtime.Intrinsics.Vector64<T> right);
static member MaxNumber : System.Runtime.Intrinsics.Vector64<'T> * System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector64<'T>
Public Function MaxNumber(Of T) (left As Vector64(Of T), right As Vector64(Of T)) As Vector64(Of T)

類型參數

T

向量中專案的型別。

參數

left
Vector64<T>

要與 比較 right的向量。

right
Vector64<T>

要與 比較 left的向量。

傳回

若對應元素 left 大於 right;,則為 right向量。

適用於