| Visual Basic (Usage) | |
|---|---|
Dim instance As CMatrix Dim obj As Object Dim value As Boolean value = instance.Equals(obj) | |
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.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.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7