alpaqa 1.0.0a10
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
CasADiLoader-util.hpp File Reference
#include <casadi/core/casadi_types.hpp>
#include <casadi/core/external.hpp>
#include <array>
#include <optional>
#include <stdexcept>
#include <string>
#include <utility>
+ Include dependency graph for CasADiLoader-util.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  alpaqa
 
namespace  alpaqa::casadi_loader
 

Typedefs

using dim = std::pair< casadi_int, casadi_int >
 

Functions

template<class F >
auto wrap_load (const std::string &so_name, const char *name, F f)
 
template<class T , class... Args>
auto wrapped_load (const std::string &so_name, const char *name, Args &&...args)
 
template<class T , class... Args>
std::optional< T > try_load (const std::string &so_name, const char *name, Args &&...args)
 
constexpr auto dims (auto... a)