#include <alpaqa/inner/directions/panoc-ocp/ocp-vars.hpp>
Definition at line 23 of file ocp-vars.hpp.
Collaboration diagram for OCPVariables< Conf >:Public Types | |
| enum | Indices { i_u = 0 , i_h = 1 , i_c = 2 , i_h_N = 0 , i_c_N = 1 } |
Public Member Functions | |
| OCPVariables (const std::array< index_t, 4 > &sizes, const std::array< index_t, 3 > &sizes_N, length_t N) | |
| OCPVariables (const TypeErasedControlProblem< config_t > &prob) | |
| length_t | size (size_t i) const |
| length_t | size_N (size_t i) const |
| length_t | nx () const |
| length_t | nu () const |
| length_t | nxu () const |
| length_t | nh () const |
| length_t | nc () const |
| length_t | nx_N () const |
| length_t | nh_N () const |
| length_t | nc_N () const |
| vec | create () const |
| auto | xk (VectorRefLike< config_t > auto &&v, index_t t) const |
| auto | x (crvec v) const |
| auto | xuk (VectorRefLike< config_t > auto &&v, index_t t) const |
| auto | uk (VectorRefLike< config_t > auto &&v, index_t t) const |
| auto | u (crvec v) const |
| auto | hk (VectorRefLike< config_t > auto &&v, index_t t) const |
| auto | ck (VectorRefLike< config_t > auto &&v, index_t t) const |
| vec | create_qr () const |
| auto | qk (VectorRefLike< config_t > auto &&v, index_t t) const |
| auto | q (crvec v) const |
| auto | qN_mut (vec &v) const |
| auto | rk (VectorRefLike< config_t > auto &&v, index_t t) const |
| auto | r (crvec v) const |
| auto | qrk (VectorRefLike< config_t > auto &&v, index_t t) const |
| auto | qr (crvec v) const |
| auto | qr_mut (vec &v) const |
| mat | create_AB () const |
| rmat | ABk (rmat AB, index_t t) const |
| auto | ABk (mat &AB, index_t t) const |
| crmat | ABk (crmat AB, index_t t) const |
| auto | AB (crmat AB) const |
| rmat | Ak (rmat AB, index_t t) const |
| crmat | Ak (crmat AB, index_t t) const |
| auto | Ak (mat &AB, index_t t) const |
| auto | A (crmat AB) const |
| rmat | Bk (rmat AB, index_t t) const |
| crmat | Bk (crmat AB, index_t t) const |
| auto | Bk (mat &AB, index_t t) const |
| auto | B (crmat AB) const |
Public Attributes | |
| length_t | N |
| std::array< index_t, 4 > | indices |
| std::array< index_t, 3 > | indices_N |
| enum Indices |
| Enumerator | |
|---|---|
| i_u | |
| i_h | |
| i_c | |
| i_h_N | |
| i_c_N | |
Definition at line 44 of file ocp-vars.hpp.
|
inline |
| sizes | nx, nu, nh, nc |
| sizes_N | nx, nh, nc |
| N | Horizon length |
Definition at line 26 of file ocp-vars.hpp.
|
inline |
|
inline |
Definition at line 54 of file ocp-vars.hpp.
|
inline |
Definition at line 55 of file ocp-vars.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 58 of file ocp-vars.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 61 of file ocp-vars.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 69 of file ocp-vars.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 81 of file ocp-vars.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 95 of file ocp-vars.hpp.
|
inline |
Definition at line 96 of file ocp-vars.hpp.
|
inline |
Definition at line 100 of file ocp-vars.hpp.
|
inline |
Definition at line 103 of file ocp-vars.hpp.
|
inline |
Definition at line 106 of file ocp-vars.hpp.
|
inline |
Definition at line 110 of file ocp-vars.hpp.
|
inline |
Definition at line 113 of file ocp-vars.hpp.
|
inline |
Definition at line 117 of file ocp-vars.hpp.
|
inline |
Definition at line 120 of file ocp-vars.hpp.
|
inline |
Definition at line 124 of file ocp-vars.hpp.
Definition at line 125 of file ocp-vars.hpp.
Definition at line 128 of file ocp-vars.hpp.
Definition at line 131 of file ocp-vars.hpp.
|
inline |
Definition at line 134 of file ocp-vars.hpp.
Definition at line 137 of file ocp-vars.hpp.
Definition at line 138 of file ocp-vars.hpp.
Definition at line 141 of file ocp-vars.hpp.
|
inline |
Definition at line 142 of file ocp-vars.hpp.
Definition at line 145 of file ocp-vars.hpp.
Definition at line 148 of file ocp-vars.hpp.
Definition at line 151 of file ocp-vars.hpp.
|
inline |
Definition at line 154 of file ocp-vars.hpp.
| length_t N |
Definition at line 51 of file ocp-vars.hpp.
| std::array<index_t, 4> indices |
Definition at line 52 of file ocp-vars.hpp.
| std::array<index_t, 3> indices_N |
Definition at line 53 of file ocp-vars.hpp.