Vector<T>::Equality Operator

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

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static bool operator ==(
	Vector<T> left, 
	Vector<T> right
)

Parameters

left
Type: System.Numerics::Vector<T>

The first vector to compare.

right
Type: System.Numerics::Vector<T>

The second vector to compare.

Return Value

Type: System::Boolean
true if left and right are equal; otherwise, false.

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.

Show: