Namespaces | |
| namespace | casadi |
| namespace | casadi_loader |
| namespace | detail |
Classes | |
| class | CasADiControlProblem |
| class | CasADiFunctionEvaluator |
| Class for evaluating CasADi functions, allocating the necessary workspace storage in advance for allocation-free evaluations. More... | |
| struct | CasADiFunctions |
| class | CasADiProblem |
| Problem definition for a CasADi problem, loaded from a DLL. More... | |
| class | Function |
| Class that loads and calls pre-compiled CasADi functions in a DLL/SO file. More... | |
| struct | invalid_argument_dimensions |
| struct | SerializedCasADiFunctions |
Typedefs | |
| using | fname_incref = ExternalFunction<"_incref", void(void)> |
| using | fname_decref = ExternalFunction<"_decref", void(void)> |
| using | fname_n_in = ExternalFunction<"_n_in", casadi_int(void)> |
| using | fname_n_out = ExternalFunction<"_n_out", casadi_int(void)> |
| using | fname_name_in = ExternalFunction<"_name_in", const char *(casadi_int ind)> |
| using | fname_name_out = ExternalFunction<"_name_out", const char *(casadi_int ind)> |
| using | fname_sparsity_in = ExternalFunction<"_sparsity_in", const casadi_int *(casadi_int ind)> |
| using | fname_sparsity_out = ExternalFunction<"_sparsity_out", const casadi_int *(casadi_int ind)> |
| using | fname_alloc_mem = ExternalFunction<"_alloc_mem", void *(void)> |
| using | fname_init_mem = ExternalFunction<"_init_mem", int(void *mem)> |
| using | fname_free_mem = ExternalFunction<"_free_mem", int(void *mem)> |
| using | fname_work = ExternalFunction<"_work", int(casadi_int *sz_arg, casadi_int *sz_res, casadi_int *sz_iw, casadi_int *sz_w)> |
| using | fname = ExternalFunction<"", int(const casadi_real **arg, casadi_real **res, casadi_int *iw, casadi_real *w, void *mem)> |
| using | casadi_int = long long int |
| using | casadi_real = double |
| using | dim = std::pair< casadi_int, casadi_int > |
Functions | |
| Function | external (const std::string &name, const std::string &bin_name) |
| Load the given CasADi function from the given DLL/SO file. | |
| 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<Config Conf> | |
| Sparsity< Conf > | convert_csc (const auto &sp, sparsity::Symmetry symmetry) |
| template<class F > | |
| auto | wrap (const char *name, F f) |
| struct builtin::SerializedCasADiFunctions |
| using fname_incref = ExternalFunction<"_incref", void(void)> |
Definition at line 11 of file casadi-functions.hpp.
| using fname_decref = ExternalFunction<"_decref", void(void)> |
Definition at line 12 of file casadi-functions.hpp.
| using fname_n_in = ExternalFunction<"_n_in", casadi_int(void)> |
Definition at line 13 of file casadi-functions.hpp.
| using fname_n_out = ExternalFunction<"_n_out", casadi_int(void)> |
Definition at line 14 of file casadi-functions.hpp.
| using fname_name_in = ExternalFunction<"_name_in", const char *(casadi_int ind)> |
Definition at line 15 of file casadi-functions.hpp.
| using fname_name_out = ExternalFunction<"_name_out", const char *(casadi_int ind)> |
Definition at line 16 of file casadi-functions.hpp.
| using fname_sparsity_in = ExternalFunction<"_sparsity_in", const casadi_int *(casadi_int ind)> |
Definition at line 17 of file casadi-functions.hpp.
| using fname_sparsity_out = ExternalFunction<"_sparsity_out", const casadi_int *(casadi_int ind)> |
Definition at line 18 of file casadi-functions.hpp.
| using fname_alloc_mem = ExternalFunction<"_alloc_mem", void *(void)> |
Definition at line 19 of file casadi-functions.hpp.
| using fname_init_mem = ExternalFunction<"_init_mem", int(void *mem)> |
Definition at line 20 of file casadi-functions.hpp.
| using fname_free_mem = ExternalFunction<"_free_mem", int(void *mem)> |
Definition at line 21 of file casadi-functions.hpp.
| using fname_work = ExternalFunction<"_work", int(casadi_int *sz_arg, casadi_int *sz_res, casadi_int *sz_iw, casadi_int *sz_w)> |
Definition at line 22 of file casadi-functions.hpp.
| using fname = ExternalFunction<"", int(const casadi_real **arg, casadi_real **res, casadi_int *iw, casadi_real *w, void *mem)> |
Definition at line 23 of file casadi-functions.hpp.
| using casadi_int = long long int |
Definition at line 12 of file casadi-types.hpp.
| using casadi_real = double |
Definition at line 15 of file casadi-types.hpp.
| using dim = std::pair<casadi_int, casadi_int> |
Definition at line 57 of file CasADiLoader-util.hpp.
| Function external | ( | const std::string & | name, |
| const std::string & | bin_name | ||
| ) |
Load the given CasADi function from the given DLL/SO file.
Definition at line 87 of file casadi-external-function.cpp.
| CasADiFunctions deserialize_problem | ( | const SerializedCasADiFunctions & | functions | ) |
Convert the map of strings to a map of CasADi functions.
Definition at line 22 of file CompleteCasADiProblem.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 29 of file CompleteCasADiProblem.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| auto wrap_load | ( | Loader && | loader, |
| const char * | name, | ||
| F | f | ||
| ) |
Definition at line 22 of file CasADiLoader-util.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:| auto wrapped_load | ( | Loader && | loader, |
| const char * | name, | ||
| Args &&... | args | ||
| ) |
Definition at line 33 of file CasADiLoader-util.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::optional< T > try_load | ( | Loader && | loader, |
| const char * | name, | ||
| Args &&... | args | ||
| ) |
Definition at line 40 of file CasADiLoader-util.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Definition at line 58 of file CasADiLoader-util.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Sparsity< Conf > convert_csc | ( | const auto & | sp, |
| sparsity::Symmetry | symmetry | ||
| ) |
Definition at line 372 of file CasADiProblem.tpp.
| auto wrap | ( | const char * | name, |
| F | f | ||
| ) |
Definition at line 11 of file CompleteCasADiProblem.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: