Vector<T>.Equality(Vector<T>, Vector<T>) 演算子

定義

指定した 2 つのベクトルの要素の各ペアが等しいかどうかを示す値を返します。

public:
 static bool operator ==(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static bool operator == (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member ( = ) : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> bool
static member ( = ) : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> bool
Public Shared Operator == (left As Vector(Of T), right As Vector(Of T)) As Boolean

パラメーター

left
Vector<T>

比較する最初のベクトル。

right
Vector<T>

比較する 2 番目のベクトル。

戻り値

leftright が等しい場合は true。それ以外の場合は false

例外

.NET 5 以降: 型 T はサポートされていません。

注釈

2 つのベクトルが同じ型で、値の数が同じで、 の各値 left が の対応する値 rightと等しい場合、2 つのベクトルは等しくなります。

適用対象