cashocs.verification.compute_convergence_rates#

cashocs.verification.compute_convergence_rates(epsilons: list[float], residuals: list[float], verbose: bool = True) list[float][source]#

Computes the convergence rate of the Taylor test.

Parameters:
  • epsilons (list[float]) – The step sizes.

  • residuals (list[float]) – The corresponding residuals.

  • verbose (bool) – Prints the result to the console, if True. Default is True.

Returns:

The computed convergence rates

Return type:

list[float]