Vector<T>.Equality(Vector<T>, Vector<T>) 연산자

정의

지정된 두 벡터의 각 요소 쌍이 같은지 여부를 나타내는 값을 반환합니다.

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>

비교할 두 번째 벡터입니다.

반환

leftright가 같으면 true이고, 그렇지 않으면 false입니다.

예외

.NET 5 이상: 형식 T 은 지원되지 않습니다.

설명

두 벡터는 형식이 같고 값 수가 같으며 의 각 값이 의 leftright해당 값과 같으면 같습니다.

적용 대상