Nonconvex constrained optimization
Loading...
Searching...
No Matches
alpaqa::detail Namespace Reference

Classes

struct  ALMHelpers
struct  function_wrapper_t
 Custom type for which we can export the RTTI to support std::any across shared library boundaries when using libc++. More...
struct  IndexSet
struct  PANOCHelpers

Functions

template<Config Conf>
void assign_interleave_xu (const OCPVariables< Conf > &dim, crvec< Conf > u, rvec< Conf > storage)
template<Config Conf>
void assign_interleave_xu (const OCPVariables< Conf > &dim, crvec< Conf > x, crvec< Conf > u, rvec< Conf > storage)
template<Config Conf>
void assign_extract_u (const OCPVariables< Conf > &dim, crvec< Conf > storage, rvec< Conf > u)
template<Config Conf>
void assign_extract_x (const OCPVariables< Conf > &dim, crvec< Conf > storage, rvec< Conf > x)
template<Config Conf>
vec< Conf > extract_u (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)
template<Config Conf>
vec< Conf > extract_x (const TypeErasedControlProblem< Conf > &problem, crvec< Conf > xu)
template<Config Conf>
auto casadi_to_index (casadi_int i) -> index_t< Conf >
template<class Signature>
 function_wrapper_t (std::function< Signature >) -> function_wrapper_t< Signature >
template<auto Member, class Class, class Ret, class... Args>
static auto member_caller (Ret(Class::*)(Args...))
 Overload for non-const-qualified member functions.
template<auto Member, class Class, class Ret>
static auto member_caller (Ret Class::*)
 Overload for member variables.

Variables

template<Eigen::Index R>
constexpr auto to_std_extent
template<size_t E>
constexpr auto to_eigen_extent
std::atomic< void * > solver_to_stop

Class Documentation

◆ alpaqa::detail::function_wrapper_t

struct alpaqa::detail::function_wrapper_t
Collaboration diagram for function_wrapper_t< Signature >:
Class Members
function< Signature > function

Function Documentation

◆ assign_interleave_xu() [1/2]

template<Config Conf>
void assign_interleave_xu ( const OCPVariables< Conf > & dim,
crvec< Conf > u,
rvec< Conf > storage )

Definition at line 445 of file ocp-vars.hpp.

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

◆ assign_interleave_xu() [2/2]

template<Config Conf>
void assign_interleave_xu ( const OCPVariables< Conf > & dim,
crvec< Conf > x,
crvec< Conf > u,
rvec< Conf > storage )

Definition at line 451 of file ocp-vars.hpp.

Here is the call graph for this function:

◆ assign_extract_u()

template<Config Conf>
void assign_extract_u ( const OCPVariables< Conf > & dim,
crvec< Conf > storage,
rvec< Conf > u )

Definition at line 460 of file ocp-vars.hpp.

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

◆ assign_extract_x()

template<Config Conf>
void assign_extract_x ( const OCPVariables< Conf > & dim,
crvec< Conf > storage,
rvec< Conf > x )

Definition at line 466 of file ocp-vars.hpp.

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

◆ extract_u()

template<Config Conf>
vec< Conf > extract_u ( const TypeErasedControlProblem< Conf > & problem,
crvec< Conf > xu )

Definition at line 474 of file ocp-vars.hpp.

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

◆ extract_x()

template<Config Conf>
vec< Conf > extract_x ( const TypeErasedControlProblem< Conf > & problem,
crvec< Conf > xu )

Definition at line 482 of file ocp-vars.hpp.

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

◆ casadi_to_index()

template<Config Conf>
auto casadi_to_index ( casadi_int i) -> index_t<Conf>

Definition at line 134 of file CasADiProblem.tpp.

◆ function_wrapper_t()

template<class Signature>
function_wrapper_t ( std::function< Signature > ) -> function_wrapper_t< Signature >

◆ member_caller() [1/2]

template<auto Member, class Class, class Ret, class... Args>
auto member_caller ( Ret(Class::*  )(Args...))
static

Overload for non-const-qualified member functions.

Overload for const-qualified member functions.

See also
member_caller

Definition at line 755 of file dl-problem.h.

Here is the caller graph for this function:

◆ member_caller() [2/2]

template<auto Member, class Class, class Ret>
auto member_caller ( Ret Class::* )
static

Overload for member variables.

See also
member_caller

Definition at line 775 of file dl-problem.h.

Variable Documentation

◆ to_std_extent

template<Eigen::Index R>
auto to_std_extent
constexpr
Initial value:
=
R == Eigen::Dynamic ? std::dynamic_extent : static_cast<size_t>(R)

Definition at line 11 of file span.hpp.

◆ to_eigen_extent

template<size_t E>
auto to_eigen_extent
constexpr
Initial value:
=
E == std::dynamic_extent ? Eigen::Dynamic : static_cast<Eigen::Index>(E)

Definition at line 14 of file span.hpp.

◆ solver_to_stop

std::atomic<void *> solver_to_stop
inline

Definition at line 11 of file cancel.hpp.