Skip to content

qttools.boundary_conditions.lyapunov.spectral#

source module qttools.boundary_conditions.lyapunov.spectral

Classes

  • Spectral A solver for the Lyapunov equation by using the matrix spectrum.

source class Spectral(num_ref_iterations: int = 2, eig_compute_location: str = 'numpy', use_pinned_memory: bool = True)

Bases : LyapunovSolver

A solver for the Lyapunov equation by using the matrix spectrum.

Initializes the spectral Lyapunov solver.

Parameters

  • num_ref_iterations : int, optional The number of refinement iterations to perform.

  • eig_compute_location : str, optional The location where to compute the eigenvalues and eigenvectors. Can be either "numpy" or "cupy" or "nvmath".

  • use_pinned_memory : bool, optional Whether to use pinnend memory if cupy is used. Default is True.