alpaqa pi-pico
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
alpaqa::casadi Namespace Reference

Classes

struct  ExternalFunction
 Reference to CasADi function. More...
 
class  Function
 Class that loads and calls pre-compiled CasADi functions in a DLL/SO file. More...
 
struct  Name
 Compile-time string for CasADi function names. More...
 

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)>
 

Functions

Function external (const std::string &name, const std::string &bin_name, DynamicLoadFlags dl_flags)
 Load the given CasADi function from the given DLL/SO file.
 

Typedef Documentation

◆ fname_incref

Definition at line 14 of file casadi-functions.hpp.

◆ fname_decref

Definition at line 15 of file casadi-functions.hpp.

◆ fname_n_in

Definition at line 16 of file casadi-functions.hpp.

◆ fname_n_out

Definition at line 17 of file casadi-functions.hpp.

◆ fname_name_in

Definition at line 18 of file casadi-functions.hpp.

◆ fname_name_out

Definition at line 19 of file casadi-functions.hpp.

◆ fname_sparsity_in

Definition at line 20 of file casadi-functions.hpp.

◆ fname_sparsity_out

Definition at line 21 of file casadi-functions.hpp.

◆ fname_alloc_mem

Definition at line 22 of file casadi-functions.hpp.

◆ fname_init_mem

using fname_init_mem = ExternalFunction<"_init_mem", int(void *mem)>

Definition at line 23 of file casadi-functions.hpp.

◆ fname_free_mem

using fname_free_mem = ExternalFunction<"_free_mem", int(void *mem)>

Definition at line 24 of file casadi-functions.hpp.

◆ fname_work

Definition at line 25 of file casadi-functions.hpp.

◆ fname

Definition at line 26 of file casadi-functions.hpp.

Function Documentation

◆ external()

Function external ( const std::string &  name,
const std::string &  bin_name,
DynamicLoadFlags  dl_flags 
)

Load the given CasADi function from the given DLL/SO file.

Definition at line 89 of file casadi-external-function.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: