语言

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. 比较的向量。

返回

如果相应元素大于,则为一个矢量,如果元素大于,则为 ;否则为 < a1/>。

适用于