共用方式為


Vector128.Max<T>(Vector128<T>, Vector128<T>) 方法

定義

根據每個元素計算兩個向量上限。

public:
generic <typename T>
 where T : value class static System::Runtime::Intrinsics::Vector128<T> Max(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public static System.Runtime.Intrinsics.Vector128<T> Max<T> (System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right) where T : struct;
static member Max : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
Public Function Max(Of T As Structure) (left As Vector128(Of T), right As Vector128(Of T)) As Vector128(Of T)

類型參數

T

向量中專案的型別。

參數

left
Vector128<T>

要與 right 比較的向量。

right
Vector128<T>

要與 left 比較的向量。

傳回

Vector128<T>

向量,其專案是 和 rightleft 對應元素的最大值。

適用於