nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
riccati.hpp File Reference
#include <memory_resource>
#include <nk/value/value.hpp>

Go to the source code of this file.

Classes

struct  nk::control::RiccatiResult
 Result of an algebraic Riccati solve, matching MATLAB's [X, L, G] output order for care / dare. More...

Functions

RiccatiResult nk::control::care (const Value &A, const Value &B, const Value &Q, const Value &R, std::pmr::memory_resource *mr=nullptr)
 Continuous-time algebraic Riccati equation ([X, L, G] = care(A, B, Q, R)).
RiccatiResult nk::control::dare (const Value &A, const Value &B, const Value &Q, const Value &R, std::pmr::memory_resource *mr=nullptr)
 Discrete-time algebraic Riccati equation ([X, L, G] = dare(A, B, Q, R)).