Vector<T>.Equality(Vector<T>, Vector<T>) Vector<T>.Equality(Vector<T>, Vector<T>) Vector<T>.Equality(Vector<T>, Vector<T>) Vector<T>.Equality(Vector<T>, Vector<T>) Operator

Definição

Retorna um valor que indica se cada par de elementos em dois vetores especificados é igual.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

Parâmetros

left
Vector<T> Vector<T> Vector<T> Vector<T>

O primeiro vetor a ser comparado.The first vector to compare.

right
Vector<T> Vector<T> Vector<T> Vector<T>

O segundo vetor a ser comparado.The second vector to compare.

Retornos

true se left e right forem iguais; caso contrário, false.true if left and right are equal; otherwise, false.

Comentários

Dois vetores são iguais se forem do mesmo tipo, têm o mesmo número de valores, e cada valor em left é igual ao valor correspondente em. rightTwo 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.

Aplica-se a