cbx.utils.termination.diff_tol_term#

class cbx.utils.termination.diff_tol_term(diff_tol=1e-07)[source]#

Bases: object

Checks if the update difference is less than the difference tolerance.

Returns:

True if the update difference is less than the difference tolerance, False otherwise.

Return type:

bool

__call__(dyn)[source]#

Call self as a function.