Base.isApproximatelyEqual

Base.isApproximatelyEqual(other)

Determine if the data in both objects is likely the same.

If it returns False, this object and the other object definitely do not store equivalent data. If it returns True, they likely store equivalent data but it is not possible to be absolutely sure. Note that only the actual data stored is considered, it doesn’t matter whether the data matrix objects passed are of the same type (Matrix, Sparse, etc.)

Parameters:

other (nimble Base object) – The object with which to compare approximate equality with this object.

Returns:

bool – True if approximately equal, else False.

See also

isIdentical

Keywords: equivalent, matches, equals, compare, comparison, same, similar