Convergence Methods
- class triqs_maxent.minimizers.convergence_methods.ConvergenceMethod[source]
Bases:
objectA general convergence method
When calling the convergence method, it returns a tuple
(conv, is_conv), whereconvmeasures the convergence andis_convis aboolthat tells whether convergence was reached.Two convergence methods can be combined using the & (and) and | (or) operators.
Methods
__call__(function, v, **kwargs)Call self as a function.
- class triqs_maxent.minimizers.convergence_methods.AndConvergenceMethod(one, two)[source]
Bases:
ConvergenceMethodThe ‘and’ conjunction between two convergence methods.
Methods
__call__(function, v, **kwargs)Call self as a function.
- class triqs_maxent.minimizers.convergence_methods.OrConvergenceMethod(one, two)[source]
Bases:
ConvergenceMethodThe ‘or’ conjunction between two convergence methods.
Methods
__call__(function, v, **kwargs)Call self as a function.
- class triqs_maxent.minimizers.convergence_methods.MaxDerivativeConvergenceMethod(convergence_criterion)[source]
Bases:
ConvergenceMethodThe maximum of the derivative has to be < convergence criterion
Methods
__call__(function, v, **kwargs)Call self as a function.
- class triqs_maxent.minimizers.convergence_methods.NullConvergenceMethod[source]
Bases:
ConvergenceMethodA convergence method that thinks everything is converged.
Methods
__call__(function, v, **kwargs)Call self as a function.
- class triqs_maxent.minimizers.convergence_methods.FunctionChangeConvergenceMethod(convergence_criterion)[source]
Bases:
ConvergenceMethodThe function change between two subsequent iterations has to be < convergence criterion
Methods
__call__(function, v, **kwargs)Call self as a function.
- class triqs_maxent.minimizers.convergence_methods.RelativeFunctionChangeConvergenceMethod(convergence_criterion)[source]
Bases:
ConvergenceMethodThe function change between two subsequent iterations divided by the function value has to be < convergence criterion
Methods
__call__(function, v, **kwargs)Call self as a function.