Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::SolveCLyap Namespace Reference

Definitions for solving the Complex Lyapunov Equation. More...

Classes

class  SolveError
 Error while attempting to solve complex Lyapunov/Sylvester equation. More...
 

Functions

template<bool debug_perform_check = false, typename Log , typename DerX , typename DerA , typename DerC >
void solve (Eigen::MatrixBase< DerX > &X, const Eigen::MatrixBase< DerA > &A, const Eigen::MatrixBase< DerC > &C, Log &logger, const double tol=1e-8)
 Solve complex Lyapunov equation of the form A'*X + X*A == C More...
 

Detailed Description

Definitions for solving the Complex Lyapunov Equation.

See SolveCLyap::solve().

Function Documentation

template<bool debug_perform_check = false, typename Log , typename DerX , typename DerA , typename DerC >
void Tomographer::SolveCLyap::solve ( Eigen::MatrixBase< DerX > &  X,
const Eigen::MatrixBase< DerA > &  A,
const Eigen::MatrixBase< DerC > &  C,
Log &  logger,
const double  tol = 1e-8 
)

Solve complex Lyapunov equation of the form A'*X + X*A == C

Solves the Lyapunov equation "A.adjoint() * X + X * A == C" on the range of A. The matrices A, X and C must be square. A must be Hermitian.

The initial value of X is unimportant, and on output contains the solution of the given equation.

If an error occurs, a SolveError is thrown.

If the template parameter debug_perform_check is set to true, then some debugging consistency checks are performed.

Definition at line 125 of file solveclyap.h.