alpaqa develop
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
casadi-external-function.hpp File Reference
#include <alpaqa/casadi-loader-export.h>
#include <alpaqa/util/dl-flags.hpp>
#include "casadi-functions.hpp"
#include "casadi-namespace.hpp"
#include <cassert>
#include <memory>
#include <optional>
#include <span>
#include <stdexcept>
#include <utility>
#include <vector>
+ Include dependency graph for casadi-external-function.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Function
 Class that loads and calls pre-compiled CasADi functions in a DLL/SO file. More...
 
class  Function::Sparsity
 
struct  Function::Functions
 
struct  Function::Work
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa::casadi
 

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.
 

Class Documentation

◆ alpaqa::casadi::Function::Functions

struct alpaqa::casadi::Function::Functions
+ Collaboration diagram for Function::Functions:
Class Members
signature_t * incref = nullptr
signature_t * decref = nullptr
signature_t * n_in = nullptr
signature_t * n_out = nullptr
signature_t * name_in = nullptr
signature_t * name_out = nullptr
signature_t * sparsity_in = nullptr
signature_t * sparsity_out = nullptr
signature_t * alloc_mem = nullptr
signature_t * init_mem = nullptr
signature_t * free_mem = nullptr
signature_t * work = nullptr
signature_t * call = nullptr

◆ alpaqa::casadi::Function::Work

struct alpaqa::casadi::Function::Work
+ Collaboration diagram for Function::Work:
Class Members
vector< const casadi_real * > arg
vector< casadi_real * > res
vector< casadi_int > iw
vector< casadi_real > w