Vector<T>::Equals Method (Vector<T>)

Returns a value that indicates whether this instance is equal to a specified vector.

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

public:
virtual bool Equals(
	Vector<T> other
) sealed

Parameters

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

The vector to compare with this instance.

Return Value

Type: System::Boolean
true if the current instance and other are equal; otherwise, false.

Implements

IEquatable<T>::Equals(T)

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

Show: