Methods for dealing with discrete-time lyapunov equations. More...
#include <lyapunov_discrete.h>
Static Public Member Functions | |
static bool | hasUniqueSolution (const Eigen::Ref< const Eigen::MatrixXd > &A) |
Determine if the Lyapunov equation exhibits a unique solution. More... | |
static bool | solve (const Eigen::Ref< const Eigen::MatrixXd > &A, const Eigen::Ref< const Eigen::MatrixXd > &Q, Eigen::MatrixXd &X) |
Solve discrete-time Lyapunov equation. More... | |
Methods for dealing with discrete-time lyapunov equations.
The discrete-time Lyapunov equation is given by
If Q is symmetric, solution X is symmetric as well. If A is stable (eigenvalues inside unit-circle) and Q is positive definite, solution X is positive definite as well. A and Q must be square.
Add support for the generalized Lyapunov equations .
Allow the user to precompute the Schur decomposition for subsequent calls of solve() with varying .
Definition at line 58 of file lyapunov_discrete.h.
|
static |
Determine if the Lyapunov equation exhibits a unique solution.
The solution is unique if for Eigenvalues of A it is:
[in] | A | Matrix (might be non-square) |
Definition at line 88 of file lyapunov_discrete.cpp.
|
static |
Solve discrete-time Lyapunov equation.
Solve w.r.t.
. If Q is symmetric, solution X is symmetric as well. If A is stable (eigenvalues inside unit-circle) and Q is positive definite, solution X is positive definite as well. A and Q must be square. The solution is unique if for Eigenvalues of A it is:
The solution is obtained via Schur decomposition [1-3].
[1] A. Y. Barraud. "A numerical algorithm to solve AT XA − X = Q". IEEE Trans. Automat. Control, AC-22, pp. 883–885, 1977. [2] V. Simoncini. "Computational Methods for Linear Matrix Equations". SIAM Review 58 (3): 377-441, 2016. [3] G. Kitagawa. "An Algorithm for Solving the Matrix Equation X = F X F' + S". International Journal of Control. 25 (5): 745–753, 1977.
[in] | A | Square matrix |
[in] | Q | Square matrix with same size as A |
[out] | X | Solution with same size as A and Q (size(X) must not be preallocated a-priori) |
Definition at line 37 of file lyapunov_discrete.cpp.