Vector.MaxNumber<T>(Vector<T>, Vector<T>) メソッド

定義

要素ごとに 2 つのベクトルを比較して、より大きい値を計算し、要素が NaN場合はもう一方の値を返します。

public:
generic <typename T>
 static System::Numerics::Vector<T> MaxNumber(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> MaxNumber<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member MaxNumber : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Function MaxNumber(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

適用対象