cf.ATOL

cf.ATOL(*atol)[source]

Return or set the value of absolute tolerance for testing numerically tolerant equality.

Parameters :
atol : int, optional

The new value of absolute tolerance.

Returns :
out : float or None

If atol was not set return the existing value of absolute tolerance, otherwise return None.

Examples

>>> cf.ATOL()
1e-08
>>> cf.ATOL(1e-10)
>>> cf.ATOL()
1e-10

Previous topic

cf.dtne

Next topic

cf.CHUNKSIZE

This Page