cf.BoundedVariable.equivalent¶
-
BoundedVariable.equivalent(other, rtol=None, atol=None, traceback=False)[source]¶ True if two bounded variables are equal, False otherwise.
Parameters: - other:
The object to compare for equality.
- atol:
float, optional The absolute tolerance for all numerical comparisons, By default the value returned by the
cf.ATOLfunction is used.- rtol:
float, optional The relative tolerance for all numerical comparisons, By default the value returned by the
cf.RTOLfunction is used.