.NET Matrix Library
Equality Operator
See Also  Send Feedback


A
A Matrix instance on the left side of the equality operator.
B
A Matrix instance on the right side of the equality operator.
Tests whether two Matrix objects represent equal matrices.

Syntax

Visual Basic (Declaration) 
Public Operator =( _
   ByVal A As Matrix, _
   ByVal B As Matrix _
) As Boolean
C# 
public bool operator ==( 
   Matrix A,
   Matrix B
)
C++/CLI 
public:
bool operator ==( 
   Matrix^ A,
   Matrix^ B
)

Parameters

A
A Matrix instance on the left side of the equality operator.
B
A Matrix instance on the right side of the equality operator.

Return Value

true if matrices are equal; otherwise false.

Remarks

The equality operator returns false if matrices are not of the same size.

The elements of the compared matrices must be exactly equal in order to the equality operator return true. If you need to test if elements of two matrices are equal within a specified tolerance use the IsEqual method.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library