.NET Matrix Library
Equality Operator
See Also  Send comments on this topic


x
A Vector instance on the left side of the equality operator.
y
A Vector instance on the right side of the equality operator.
Tests whether two Vector objects represent equal vectors.

Syntax

Visual Basic (Declaration) 
Public Operator =( _
   ByVal x As Vector, _
   ByVal y As Vector _
) As Boolean
C# 
public bool operator ==( 
   Vector x,
   Vector y
)
C++/CLI 
public:
bool operator ==( 
   Vector^ x,
   Vector^ y
)

Parameters

x
A Vector instance on the left side of the equality operator.
y
A Vector instance on the right side of the equality operator.

Return Value

true if vectors are equal; otherwise false.

Remarks

The equality operator returns false if vectors are not of the same length.

The elements of the compared vectors must be exactly equal in order to the equality operator return true.

Requirements

Platforms: Windows 7, Windows Vista, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows 2000

See Also

.NET Matrix Library Documentation