Vector<T>.Equality(Vector<T>, Vector<T>) Operátor

Definice

Returns a value that indicates whether each pair of elements in two specified vectors are equal.Returns a value that indicates whether each pair of elements in two specified vectors are equal.

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
Public Shared Operator == (left As Vector(Of T), right As Vector(Of T)) As Boolean

Parametry

left
Vector<T>

The first vector to compare.The first vector to compare.

right
Vector<T>

The second vector to compare.The second vector to compare.

Návraty

true if left and right are equal; otherwise, false.true if left and right are equal; otherwise, false.

Poznámky

Two vectors are equal if they are of the same type, have the same number of values, and each value in left is equal to the corresponding value in right.Two vectors are equal if they are of the same type, have the same number of values, and each value in left is equal to the corresponding value in right.

Platí pro