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.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public bool NaNEquals(
	Object o
)
Visual Basic (Declaration)
Public Function NaNEquals ( _
	o As Object _
) As Boolean
Visual C++
public:
bool NaNEquals(
	Object^ o
)

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

This method ignores NaN values when checking for equality.

Remarks

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

See Also