qttools.lyapunov.doubling#
source module qttools.lyapunov.doubling
Classes
-
Doubling — A solver for the Lyapunov equation using iterative doubling.
source class Doubling(max_iterations: int = 10, convergence_rel_tol: float = 1e-05, convergence_abs_tol: float = 1e-08, reduce_sparsity: bool = True)
Bases : LyapunovSolver
A solver for the Lyapunov equation using iterative doubling.
Initializes the solver.
Parameters
-
max_iterations : int, optional — The maximum number of iterations to perform.
-
convergence_rel_tol : float, optional — The required relative accuracy for convergence.
-
convergence_abs_tol : float, optional — The required absolute accuracy for convergence. Either convergence_rel_tol or convergence_abs_tol must be satisfied.
-
reduce_sparsity : bool, optional — Whether to reduce the sparsity of the system matrix