.NET Matrix Library
Equals Method
See Also  Send Feedback



obj
An object to compare with this instance of the CMatrix class.
Returns a value indicating whether this CMatrix object is equal to another matrix.

Syntax

Visual Basic (Declaration) 
Public Overrides Function Equals( _
   ByVal obj As Object _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CMatrix
Dim obj As Object
Dim value As Boolean
 
value = instance.Equals(obj)
C# 
public override bool Equals( 
   object obj
)
C++/CLI 
public:
bool Equals( 
   Object^ obj
) override 

Parameters

obj
An object to compare with this instance of the CMatrix class.

Return Value

true if obj is an instance of the CMatrix class and represents a matrix that has the same size as this instance and also all the elements of obj are equal to the elements of this instance; false otherwise.

Remarks

The elements of this matrix and obj are compared with the == operator end they must be exactly equal in order for this method to 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