API Reference¶
state_space.liapunovTool.cli¶
Command-line interface for state_space.liapunovTool.
The CLI preserves the original Lyapunov-tool subcommands:
ctdtexample
It also adds a sphinx-skel helper for generating a conservative,
GitHub Pages friendly Sphinx documentation skeleton.
state_space.liapunovTool.apis¶
- class state_space.liapunovTool.apis.RunRequest(mode: 'Mode', A: 'Optional[str]' = None, G: 'Optional[str]' = None, Q: 'Optional[str]' = None, hermitian: 'bool' = False, digits: 'int' = 6, evalf: 'Optional[int]' = None, latex: 'bool' = False, latex_out: 'Optional[str]' = None, which: 'Optional[str]' = None)[source]¶
Bases:
object- Parameters:
mode (Literal['ct', 'dt', 'example'])
A (str | None)
G (str | None)
Q (str | None)
hermitian (bool)
digits (int)
evalf (int | None)
latex (bool)
latex_out (str | None)
which (str | None)
- A: str | None = None¶
- G: str | None = None¶
- Q: str | None = None¶
- digits: int = 6¶
- evalf: int | None = None¶
- hermitian: bool = False¶
- latex: bool = False¶
- latex_out: str | None = None¶
- mode: Literal['ct', 'dt', 'example']¶
- which: str | None = None¶
- class state_space.liapunovTool.apis.RunResult(mode: 'Mode', hermitian: 'bool', P: 'sp.Matrix', pd_class: 'str', latex_text: 'Optional[str]' = None, meta: 'Dict[str, Any]' = None)[source]¶
Bases:
object- Parameters:
mode (Literal['ct', 'dt', 'example'])
hermitian (bool)
P (sympy.Matrix)
pd_class (str)
latex_text (str | None)
meta (Dict[str, Any])
- P: sympy.Matrix¶
- hermitian: bool¶
- latex_text: str | None = None¶
- meta: Dict[str, Any] = None¶
- mode: Literal['ct', 'dt', 'example']¶
- pd_class: str¶
state_space.liapunovTool.app¶
state_space.liapunovTool.core¶
- class state_space.liapunovTool.core.LyapunovSolver[source]¶
Bases:
object
state_space.liapunovTool.io¶
state_space.liapunovTool.utils¶
state_space.liapunovTool.design¶
- state_space.liapunovTool.design.fmt_matrix(M)[source]¶
- Parameters:
M (sympy.MatrixBase)
- Return type:
str
- state_space.liapunovTool.design.latex_block(lines)[source]¶
- Parameters:
lines (List[str])
- Return type:
str
- state_space.liapunovTool.design.make_ct_latex(A, Q, P, hermitian)[source]¶
- Parameters:
A (sympy.Matrix)
Q (sympy.Matrix)
P (sympy.Matrix)
hermitian (bool)
- Return type:
str