Classes | |
struct | CasADiControlFunctionsWithParam |
class | CasADiFunctionEvaluator |
Class for evaluating CasADi functions, allocating the necessary workspace storage in advance for allocation-free evaluations. More... | |
struct | CasADiFunctionsWithParam |
struct | invalid_argument_dimensions |
Typedefs | |
using | dim = std::pair<casadi_int, casadi_int> |
Functions | |
CasADiFunctions | deserialize_problem (const SerializedCasADiFunctions &functions) |
Convert the map of strings to a map of CasADi functions. | |
void | complete_problem (CasADiFunctions &functions) |
Complete the given problem that contains only functions f and g, adding the necessary functions and gradients so that it can be used with CasADiProblem. | |
template<class Loader, class F> | |
auto | wrap_load (Loader &&loader, const char *name, F f) |
template<class T, class Loader, class... Args> | |
auto | wrapped_load (Loader &&loader, const char *name, Args &&...args) |
template<class T, class Loader, class... Args> | |
std::optional< T > | try_load (Loader &&loader, const char *name, Args &&...args) |
constexpr auto | dims (auto... a) |
template<class F> | |
auto | wrap (const char *name, F f) |
using dim = std::pair<casadi_int, casadi_int> |
Definition at line 62 of file CasADiLoader-util.hpp.
CasADiFunctions deserialize_problem | ( | const SerializedCasADiFunctions & | functions | ) |
Convert the map of strings to a map of CasADi functions.
Definition at line 25 of file CompleteCasADiProblem.cpp.
void complete_problem | ( | CasADiFunctions & | functions | ) |
Complete the given problem that contains only functions f and g, adding the necessary functions and gradients so that it can be used with CasADiProblem.
Definition at line 32 of file CompleteCasADiProblem.cpp.
auto wrap_load | ( | Loader && | loader, |
const char * | name, | ||
F | f ) |
auto wrapped_load | ( | Loader && | loader, |
const char * | name, | ||
Args &&... | args ) |
Definition at line 38 of file CasADiLoader-util.hpp.
std::optional< T > try_load | ( | Loader && | loader, |
const char * | name, | ||
Args &&... | args ) |
Definition at line 45 of file CasADiLoader-util.hpp.
|
inlineconstexpr |
auto wrap | ( | const char * | name, |
F | f ) |
Definition at line 14 of file CompleteCasADiProblem.cpp.