Tests for equality of this matrix and another matrix. Two matrices are equal if they have the same dimensions and all values are equal.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public override bool Equals(
	Object o
)
Visual Basic (Declaration)
Public Overrides Function Equals ( _
	o As Object _
) As Boolean
Visual C++
public:
virtual bool Equals(
	Object^ o
) override

Parameters

o
Type: System..::.Object
Another matrix.

Return Value

True if the matrices are of the same dimension and contain the same values; otherwise, false.

Remarks

The comparison of the values is done using operator== for double types. Therefore, the values of the matrices must be exactly equal for this method to return true.

See Also