.NET Matrix Library
IsEqual(CMatrix) Method
See Also  Send Feedback



A
A CMatrix whose elements to compare with the elements of this CMatrix.
Returns a value indicating whether this CMatrix is equal to another matrix within a default tolerance.

Syntax

Visual Basic (Declaration) 
Public Overloads Function IsEqual( _
   ByVal A As CMatrix _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CMatrix
Dim A As CMatrix
Dim value As Boolean
 
value = instance.IsEqual(A)
C# 
public bool IsEqual( 
   CMatrix A
)
C++/CLI 
public:
bool IsEqual( 
   CMatrix^ A
) 

Parameters

A
A CMatrix whose elements to compare with the elements of this CMatrix.

Return Value

true if matrix has the same size as this instance and its elements are equal with the elements of this instance within the default tolerance; otherwise false.

Remarks

The default tolerance equals to the maximum absolute value of matrix elements, multiplied by the double epsilon value (2.2204460492503131e-016).

Requirements

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

See Also

.NET Matrix Library