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

定義

2 つのベクトルを比較して、要素ごとに大きな大きさを持つ計算を行います。

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と比較するベクトル。

返品

対応する要素がrightより大きい場合はleftから取得されるベクトル。それ以外の場合はright

適用対象